Problem with makefile

Brian Peschel brianp at OCCINC.COM
Fri Dec 9 11:09:12 EST 2005


Not sure if this shoudld go to DEV or USER, but....

I just downloaded 4.6.2 (but I had this problem with 4.6.1).  I did a
configure with the following command line switches:

./configure --with-freetype --with-zlib --with-png --with-jpeg
--with-xpm=/usr/X11R6/lib --with-libiconv --with-gd --with-proj
--with-geos --with-tiff --with-pdf
--with-postgis=/usr/local/pgsql/bin/pg_config --with-wfs --with-wcs
--with-wmsclient --with-wfsclient --with-httpd=/usr/local/apache/bin/httpd
--with-ogr --with-gdal

I then tried to do a make

 make
gcc -c -O2 -fPIC -Wall   -DIGNORE_MISSING_DATA  -DNEED_STRLCAT  -DUSE_EPPL
-DUSE_PROJ -DUSE_WMS_SVR -DUSE_WMS_LYR -DUSE_WFS_SVR -DUSE_WFS_LYR
-DUSE_WCS_SVR   -DUSE_TIFF  -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG
-DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR -DGD_HAS_GETBITMAPFONTS
-DUSE_PDF   -DUSE_OGR -DUSE_GDAL -DUSE_GEOS -DUSE_ICONV    -DUSE_POSTGIS  
 -DUSE_ZLIB -I/usr/include        -I/usr/local/include
-I/usr/local/pgsql/include     -I/usr/local/include -I   maptemplate.c -o
maptemplate.o
gcc: no input files
make: *** [maptemplate.o] Error 1

Notice the -I without anything after it?  Looking at the Makefile, I see
this problem:

#
# libiconv - Enables Internationalization
#
ICONV=-DUSE_ICONV
ICONV_LIB=-L -lc
ICONV_INC=-I

Removing the -I on the INC line allows me to compile.  But since the
Makefile is generated, I thought I would pass this one to the development
team.

-------
Brian Peschel
One Call Concepts, Inc
414-259-1047 ext. 93
414-777-3666 Fax



More information about the mapserver-dev mailing list