Mapserver 4.6.1 Make problems - mapogr.o

Steve Benzo steve_benzo at YAHOO.COM
Fri Sep 2 13:53:26 EDT 2005


I switched to gdal-1.2.6, but still get the same:
Fatal error: Don't know how to make target `mapogr.o'
when making mapserver.

The output from configure and make are below: 

# ./configure --enable-runpath --with-proj=/usr/local/
--with-wmsclient --with-curl=/usr/local/bin
--with-php=/usr/local/
--with-gdal=/usr/local/gdal-1.2.6/apps/gdal-config
--with-wfs --with-wfsclient
--with-pdf=/usr/local/include --with-eppl --with-wcs
--with-wms --with-png=/usr/local/libpng
-with-zlib=/usr/local/zlib --with-gd=/usr/local/gd2
--with-freetype=/usr/local/freetype
--with-libiconv=/private/local/libiconv-1.9.1
--with-ogr=/usr/local/gdal-1.2.6/apps/gdal-config

checking for gcc... gcc
checking for C compiler default output file name...
a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler...
yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none
needed
checking for g++... g++
checking whether we are using the GNU C++ compiler...
yes
checking whether g++ accepts -g... yes
checking for ranlib... ranlib
checking for flex... flex
checking for yywrap in -lfl... no
checking for yywrap in -ll... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for bison... bison -y
checking if compiler supports -R... yes
checking for exp in -lm... yes
checking for __gxx_personality_v0 in -lstdc++... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... egrep
checking for ANSI C header files... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for strdup... yes
checking for strlcat... yes
MapServer Version from map.h: '4.6.1'
configure: checking where FreeType 2.x is installed...
        using libfreetype from
-L/usr/local/freetype-2.1.4/lib -lfreetype -lz
checking for FT_Init_FreeType in -lfreetype... no
        using libfreetype
-L/usr/local/freetype-2.1.4/lib -lfreetype -lz from
system libs.
configure: checking where Zlib is installed...
        using libz from -L/usr/local/zlib/lib -lz
(-DUSE_ZLIB)
configure: checking where PNG is installed...
        using libpng from -L/usr/local/libpng/lib
-lpng
configure: checking whether we should include JPEG
support...
checking for jpeg_read_header in -ljpeg... no
        libjpeg not found. JPEG support not included,
possibly needed for GD.
configure: checking where libXpm is installed...
        using libXpm from -L/lib -lXpm -lX11
configure: checking where libiconv is installed...
checking for iconv_open in -lc... yes
checking for libiconv_open in -liconv... yes
        using libiconv from
-L/private/local/libiconv-1.9.1/lib -liconv
        libiconv found. Enabling internationalization
(-DUSE_ICONV)
configure: checking for GD 2.0.16 or higher...
checking for gdFontCacheSetup in -lgd... yes
        using libgd 2.0.16 (or higher) from
-L/usr/local/gd2/lib -lgd 
-L/usr/local/freetype-2.1.4/lib -lfreetype -lz
-L/usr/local/libpng/lib -lpng -L/usr/local/zlib/lib
-lz -L/lib -lXpm -lX11 
checking for gdImageGif in -lc... yes
checking for gdImagePng in -lc... yes
checking for gdImageJpeg in -lc... yes
checking for gdImageWBMP in -lc... yes
checking for gdImageStringFT in -lc... yes
checking for gdImageGifPtr in -lc... yes
checking for gdFontGetTiny in -lc... yes
        using GD ( -DUSE_GD_GIF -DUSE_GD_PNG
-DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT
-DGD_HAS_GDIMAGEGIFPTR -DGD_HAS_GETBITMAPFONTS) from
/usr/local/gd2.
configure: checking whether we should include PDF
support...
        using libpdf from -L/usr/local/include/lib64
-lpdf.
configure: checking whether we should include EPPL7
support...
        including EPPL7 support.
configure: checking whether we should include PROJ.4
support...
checking for pj_transform in -lproj... yes
        using PROJ.4 from /usr/local/.
configure: checking whether we should include thread
safe support...
        thread safe support disabled.
configure: checking whether we should include ESRI SDE
support...
        ESRI SDE support not requested.
configure: checking whether we should include SDE
raster support...
        not including experimental SDE raster support.
configure: checking whether we should compile in
MPATROL support...
        MPATROL support not requested.
checking if GEOS support requested... no
configure: checking whether we should include OGR
support...
        OGR enabled (-DUSE_OGR).
checking if GDAL support requested... yes, user
supplied gdal-config
(/usr/local/gdal-1.2.6/apps/gdal-config)
configure: checking whether we should include TIFF
support...
        disabled since gdal is in use
checking if PostGIS support requested... no
checking if MyGIS support requested... no
checking if OracleSpatial support requested... no
checking if MING/Flash support requested... no
configure: checking whether we should include WMS
Server support...
        OGC WMS compatibility enabled (-DUSE_WMS_SVR).
configure: checking whether we should include WFS
Server support...
        OGC WFS Server support enabled
(-DUSE_WFS_SVR).
configure: checking whether we should include WCS
Server support...
        OGC WCS Server support enabled
(-DUSE_WCS_SVR).
configure: checking whether we should include WMS
Client Connections support...
configure: checking whether we should include WFS
Client Connections support...
configure: checking for curl-config...
checking for curl-config... /usr/local/bin/curl-config
        found libcurl version 7.11.0
        OGC WMS Client Connections enabled
(-DUSE_WMS_LYR).
        OGC WFS Client Connections enabled
(-DUSE_WFS_LYR).
configure: checking whether FastCGI support should be
enabled...
        FastCGI support not enabled.
configure: checking HTTPD server (Apache) version...
checking for httpd... /usr/local/apache/bin/httpd
        /usr/local/apache/bin/httpd version is
Apache/2.0.49 (2000049).
Compiling with -DIGNORE_MISSING_DATA.
checking compiler warnings... basic
configure: checking whether we should enable debug
features...
configure: checking for PHP/MapScript module
options...
checking for g++ -shared ... no(3)
checking for ld -shared ... no
        using 'g++ -shared' for dynamic linking
checking for location of config.h or php_config.h...
/usr/local//include/php//main/php_config.h
checking whether we have PHP3 or PHP4... -DPHP4
checking whether we should use PHP's regex... yes
        found regex_extra.h - trying to build without
PHP source
        PHP/MapScript module configured.
checking if --enable-runpath requested... yes (
-R/usr/local/zlib -R/usr/local/libpng/lib)
configure: creating ./config.status
config.status: creating Makefile
config.status: creating mapscript/php3/Makefile
config.status: creating mapscript/java/Makefile



# make
gcc -c -O2 -fPIC -Wall   -DIGNORE_MISSING_DATA  
-DUSE_EPPL -DUSE_PROJ  -DUSE_WMS_SVR -DUSE_WMS_LYR
-DUSE_WFS_SVR -DUSE_WFS_LYR -DUSE_WCS_SVR    
-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_ICONV         -DUSE_ZLIB 
-I/usr/local/gd2/include -I/usr/local/include
-I/usr/local//include      
-I/private/local/gdal-1.2.6/port
-I/private/local/gdal-1.2.6/gcore
-I/private/local/gdal-1.2.6/alg
-I/private/local/gdal-1.2.6/ogr
-I/private/local/gdal-1.2.6/ogr/ogrsf_frmts   
-I/usr/local/include   
-I/private/local/libiconv-1.9.1/include  
-I/usr/local/zlib/include maptemplate.c -o
maptemplate.o
gcc -c -O2 -fPIC -Wall   -DIGNORE_MISSING_DATA  
-DUSE_EPPL -DUSE_PROJ  -DUSE_WMS_SVR -DUSE_WMS_LYR
-DUSE_WFS_SVR -DUSE_WFS_LYR -DUSE_WCS_SVR    
-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_ICONV         -DUSE_ZLIB 
-I/usr/local/gd2/include -I/usr/local/include
-I/usr/local//include      
-I/private/local/gdal-1.2.6/port
-I/private/local/gdal-1.2.6/gcore
-I/private/local/gdal-1.2.6/alg
-I/private/local/gdal-1.2.6/ogr
-I/private/local/gdal-1.2.6/ogr/ogrsf_frmts   
-I/usr/local/include   
-I/private/local/libiconv-1.9.1/include  
-I/usr/local/zlib/include mapbits.c -o mapbits.o
gcc -c -O2 -fPIC -Wall   -DIGNORE_MISSING_DATA  
-DUSE_EPPL -DUSE_PROJ  -DUSE_WMS_SVR -DUSE_WMS_LYR
-DUSE_WFS_SVR -DUSE_WFS_LYR -DUSE_WCS_SVR    
-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_ICONV         -DUSE_ZLIB 
-I/usr/local/gd2/include -I/usr/local/include
-I/usr/local//include      
-I/private/local/gdal-1.2.6/port
-I/private/local/gdal-1.2.6/gcore
-I/private/local/gdal-1.2.6/alg
-I/private/local/gdal-1.2.6/ogr
-I/private/local/gdal-1.2.6/ogr/ogrsf_frmts   
-I/usr/local/include   
-I/private/local/libiconv-1.9.1/include  
-I/usr/local/zlib/include maphash.c -o maphash.o
gcc -c -O2 -fPIC -Wall   -DIGNORE_MISSING_DATA  
-DUSE_EPPL -DUSE_PROJ  -DUSE_WMS_SVR -DUSE_WMS_LYR
-DUSE_WFS_SVR -DUSE_WFS_LYR -DUSE_WCS_SVR    
-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_ICONV         -DUSE_ZLIB 
-I/usr/local/gd2/include -I/usr/local/include
-I/usr/local//include      
-I/private/local/gdal-1.2.6/port
-I/private/local/gdal-1.2.6/gcore
-I/private/local/gdal-1.2.6/alg
-I/private/local/gdal-1.2.6/ogr
-I/private/local/gdal-1.2.6/ogr/ogrsf_frmts   
-I/usr/local/include   
-I/private/local/libiconv-1.9.1/include  
-I/usr/local/zlib/include mapshape.c -o mapshape.o
gcc -c -O2 -fPIC -Wall   -DIGNORE_MISSING_DATA  
-DUSE_EPPL -DUSE_PROJ  -DUSE_WMS_SVR -DUSE_WMS_LYR
-DUSE_WFS_SVR -DUSE_WFS_LYR -DUSE_WCS_SVR    
-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_ICONV         -DUSE_ZLIB 
-I/usr/local/gd2/include -I/usr/local/include
-I/usr/local//include      
-I/private/local/gdal-1.2.6/port
-I/private/local/gdal-1.2.6/gcore
-I/private/local/gdal-1.2.6/alg
-I/private/local/gdal-1.2.6/ogr
-I/private/local/gdal-1.2.6/ogr/ogrsf_frmts   
-I/usr/local/include   
-I/private/local/libiconv-1.9.1/include  
-I/usr/local/zlib/include mapxbase.c -o mapxbase.o
gcc -c -O2 -fPIC -Wall   -DIGNORE_MISSING_DATA  
-DUSE_EPPL -DUSE_PROJ  -DUSE_WMS_SVR -DUSE_WMS_LYR
-DUSE_WFS_SVR -DUSE_WFS_LYR -DUSE_WCS_SVR    
-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_ICONV         -DUSE_ZLIB 
-I/usr/local/gd2/include -I/usr/local/include
-I/usr/local//include      
-I/private/local/gdal-1.2.6/port
-I/private/local/gdal-1.2.6/gcore
-I/private/local/gdal-1.2.6/alg
-I/private/local/gdal-1.2.6/ogr
-I/private/local/gdal-1.2.6/ogr/ogrsf_frmts   
-I/usr/local/include   
-I/private/local/libiconv-1.9.1/include  
-I/usr/local/zlib/include mapparser.c -o mapparser.o
gcc -c -O2 -fPIC -Wall   -DIGNORE_MISSING_DATA  
-DUSE_EPPL -DUSE_PROJ  -DUSE_WMS_SVR -DUSE_WMS_LYR
-DUSE_WFS_SVR -DUSE_WFS_LYR -DUSE_WCS_SVR    
-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_ICONV         -DUSE_ZLIB 
-I/usr/local/gd2/include -I/usr/local/include
-I/usr/local//include      
-I/private/local/gdal-1.2.6/port
-I/private/local/gdal-1.2.6/gcore
-I/private/local/gdal-1.2.6/alg
-I/private/local/gdal-1.2.6/ogr
-I/private/local/gdal-1.2.6/ogr/ogrsf_frmts   
-I/usr/local/include   
-I/private/local/libiconv-1.9.1/include  
-I/usr/local/zlib/include maplexer.c -o maplexer.o
gcc -c -O2 -fPIC -Wall   -DIGNORE_MISSING_DATA  
-DUSE_EPPL -DUSE_PROJ  -DUSE_WMS_SVR -DUSE_WMS_LYR
-DUSE_WFS_SVR -DUSE_WFS_LYR -DUSE_WCS_SVR    
-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_ICONV         -DUSE_ZLIB 
-I/usr/local/gd2/include -I/usr/local/include
-I/usr/local//include      
-I/private/local/gdal-1.2.6/port
-I/private/local/gdal-1.2.6/gcore
-I/private/local/gdal-1.2.6/alg
-I/private/local/gdal-1.2.6/ogr
-I/private/local/gdal-1.2.6/ogr/ogrsf_frmts   
-I/usr/local/include   
-I/private/local/libiconv-1.9.1/include  
-I/usr/local/zlib/include maptree.c -o maptree.o
gcc -c -O2 -fPIC -Wall   -DIGNORE_MISSING_DATA  
-DUSE_EPPL -DUSE_PROJ  -DUSE_WMS_SVR -DUSE_WMS_LYR
-DUSE_WFS_SVR -DUSE_WFS_LYR -DUSE_WCS_SVR    
-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_ICONV         -DUSE_ZLIB 
-I/usr/local/gd2/include -I/usr/local/include
-I/usr/local//include      
-I/private/local/gdal-1.2.6/port
-I/private/local/gdal-1.2.6/gcore
-I/private/local/gdal-1.2.6/alg
-I/private/local/gdal-1.2.6/ogr
-I/private/local/gdal-1.2.6/ogr/ogrsf_frmts   
-I/usr/local/include   
-I/private/local/libiconv-1.9.1/include  
-I/usr/local/zlib/include mapsearch.c -o mapsearch.o
gcc -c -O2 -fPIC -Wall   -DIGNORE_MISSING_DATA  
-DUSE_EPPL -DUSE_PROJ  -DUSE_WMS_SVR -DUSE_WMS_LYR
-DUSE_WFS_SVR -DUSE_WFS_LYR -DUSE_WCS_SVR    
-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_ICONV         -DUSE_ZLIB 
-I/usr/local/gd2/include -I/usr/local/include
-I/usr/local//include      
-I/private/local/gdal-1.2.6/port
-I/private/local/gdal-1.2.6/gcore
-I/private/local/gdal-1.2.6/alg
-I/private/local/gdal-1.2.6/ogr
-I/private/local/gdal-1.2.6/ogr/ogrsf_frmts   
-I/usr/local/include   
-I/private/local/libiconv-1.9.1/include  
-I/usr/local/zlib/include mapstring.c -o mapstring.o
mapstring.c: In function `trimLeft':
mapstring.c:233: warning: subscript has type `char'
mapstring.c: In function `msEncodeUrl':
mapstring.c:587: warning: subscript has type `char'
mapstring.c:598: warning: subscript has type `char'
gcc -c -O2 -fPIC -Wall   -DIGNORE_MISSING_DATA  
-DUSE_EPPL -DUSE_PROJ  -DUSE_WMS_SVR -DUSE_WMS_LYR
-DUSE_WFS_SVR -DUSE_WFS_LYR -DUSE_WCS_SVR    
-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_ICONV         -DUSE_ZLIB 
-I/usr/local/gd2/include -I/usr/local/include
-I/usr/local//include      
-I/private/local/gdal-1.2.6/port
-I/private/local/gdal-1.2.6/gcore
-I/private/local/gdal-1.2.6/alg
-I/private/local/gdal-1.2.6/ogr
-I/private/local/gdal-1.2.6/ogr/ogrsf_frmts   
-I/usr/local/include   
-I/private/local/libiconv-1.9.1/include  
-I/usr/local/zlib/include mapsymbol.c -o mapsymbol.o
gcc -c -O2 -fPIC -Wall   -DIGNORE_MISSING_DATA  
-DUSE_EPPL -DUSE_PROJ  -DUSE_WMS_SVR -DUSE_WMS_LYR
-DUSE_WFS_SVR -DUSE_WFS_LYR -DUSE_WCS_SVR    
-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_ICONV         -DUSE_ZLIB 
-I/usr/local/gd2/include -I/usr/local/include
-I/usr/local//include      
-I/private/local/gdal-1.2.6/port
-I/private/local/gdal-1.2.6/gcore
-I/private/local/gdal-1.2.6/alg
-I/private/local/gdal-1.2.6/ogr
-I/private/local/gdal-1.2.6/ogr/ogrsf_frmts   
-I/usr/local/include   
-I/private/local/libiconv-1.9.1/include  
-I/usr/local/zlib/include mapfile.c -o mapfile.o
mapfile.c: In function `msLoadProjectionString':
mapfile.c:1049: warning: subscript has type `char'
gcc -c -O2 -fPIC -Wall   -DIGNORE_MISSING_DATA  
-DUSE_EPPL -DUSE_PROJ  -DUSE_WMS_SVR -DUSE_WMS_LYR
-DUSE_WFS_SVR -DUSE_WFS_LYR -DUSE_WCS_SVR    
-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_ICONV         -DUSE_ZLIB 
-I/usr/local/gd2/include -I/usr/local/include
-I/usr/local//include      
-I/private/local/gdal-1.2.6/port
-I/private/local/gdal-1.2.6/gcore
-I/private/local/gdal-1.2.6/alg
-I/private/local/gdal-1.2.6/ogr
-I/private/local/gdal-1.2.6/ogr/ogrsf_frmts   
-I/usr/local/include   
-I/private/local/libiconv-1.9.1/include  
-I/usr/local/zlib/include maplegend.c -o maplegend.o
gcc -c -O2 -fPIC -Wall   -DIGNORE_MISSING_DATA  
-DUSE_EPPL -DUSE_PROJ  -DUSE_WMS_SVR -DUSE_WMS_LYR
-DUSE_WFS_SVR -DUSE_WFS_LYR -DUSE_WCS_SVR    
-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_ICONV         -DUSE_ZLIB 
-I/usr/local/gd2/include -I/usr/local/include
-I/usr/local//include      
-I/private/local/gdal-1.2.6/port
-I/private/local/gdal-1.2.6/gcore
-I/private/local/gdal-1.2.6/alg
-I/private/local/gdal-1.2.6/ogr
-I/private/local/gdal-1.2.6/ogr/ogrsf_frmts   
-I/usr/local/include   
-I/private/local/libiconv-1.9.1/include  
-I/usr/local/zlib/include maputil.c -o maputil.o
gcc -c -O2 -fPIC -Wall   -DIGNORE_MISSING_DATA  
-DUSE_EPPL -DUSE_PROJ  -DUSE_WMS_SVR -DUSE_WMS_LYR
-DUSE_WFS_SVR -DUSE_WFS_LYR -DUSE_WCS_SVR    
-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_ICONV         -DUSE_ZLIB 
-I/usr/local/gd2/include -I/usr/local/include
-I/usr/local//include      
-I/private/local/gdal-1.2.6/port
-I/private/local/gdal-1.2.6/gcore
-I/private/local/gdal-1.2.6/alg
-I/private/local/gdal-1.2.6/ogr
-I/private/local/gdal-1.2.6/ogr/ogrsf_frmts   
-I/usr/local/include   
-I/private/local/libiconv-1.9.1/include  
-I/usr/local/zlib/include mapscale.c -o mapscale.o
gcc -c -O2 -fPIC -Wall   -DIGNORE_MISSING_DATA  
-DUSE_EPPL -DUSE_PROJ  -DUSE_WMS_SVR -DUSE_WMS_LYR
-DUSE_WFS_SVR -DUSE_WFS_LYR -DUSE_WCS_SVR    
-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_ICONV         -DUSE_ZLIB 
-I/usr/local/gd2/include -I/usr/local/include
-I/usr/local//include      
-I/private/local/gdal-1.2.6/port
-I/private/local/gdal-1.2.6/gcore
-I/private/local/gdal-1.2.6/alg
-I/private/local/gdal-1.2.6/ogr
-I/private/local/gdal-1.2.6/ogr/ogrsf_frmts   
-I/usr/local/include   
-I/private/local/libiconv-1.9.1/include  
-I/usr/local/zlib/include mapquery.c -o mapquery.o
gcc -c -O2 -fPIC -Wall   -DIGNORE_MISSING_DATA  
-DUSE_EPPL -DUSE_PROJ  -DUSE_WMS_SVR -DUSE_WMS_LYR
-DUSE_WFS_SVR -DUSE_WFS_LYR -DUSE_WCS_SVR    
-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_ICONV         -DUSE_ZLIB 
-I/usr/local/gd2/include -I/usr/local/include
-I/usr/local//include      
-I/private/local/gdal-1.2.6/port
-I/private/local/gdal-1.2.6/gcore
-I/private/local/gdal-1.2.6/alg
-I/private/local/gdal-1.2.6/ogr
-I/private/local/gdal-1.2.6/ogr/ogrsf_frmts   
-I/usr/local/include   
-I/private/local/libiconv-1.9.1/include  
-I/usr/local/zlib/include maplabel.c -o maplabel.o
gcc -c -O2 -fPIC -Wall   -DIGNORE_MISSING_DATA  
-DUSE_EPPL -DUSE_PROJ  -DUSE_WMS_SVR -DUSE_WMS_LYR
-DUSE_WFS_SVR -DUSE_WFS_LYR -DUSE_WCS_SVR    
-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_ICONV         -DUSE_ZLIB 
-I/usr/local/gd2/include -I/usr/local/include
-I/usr/local//include      
-I/private/local/gdal-1.2.6/port
-I/private/local/gdal-1.2.6/gcore
-I/private/local/gdal-1.2.6/alg
-I/private/local/gdal-1.2.6/ogr
-I/private/local/gdal-1.2.6/ogr/ogrsf_frmts   
-I/usr/local/include   
-I/private/local/libiconv-1.9.1/include  
-I/usr/local/zlib/include maperror.c -o maperror.o
gcc -c -O2 -fPIC -Wall   -DIGNORE_MISSING_DATA  
-DUSE_EPPL -DUSE_PROJ  -DUSE_WMS_SVR -DUSE_WMS_LYR
-DUSE_WFS_SVR -DUSE_WFS_LYR -DUSE_WCS_SVR    
-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_ICONV         -DUSE_ZLIB 
-I/usr/local/gd2/include -I/usr/local/include
-I/usr/local//include      
-I/private/local/gdal-1.2.6/port
-I/private/local/gdal-1.2.6/gcore
-I/private/local/gdal-1.2.6/alg
-I/private/local/gdal-1.2.6/ogr
-I/private/local/gdal-1.2.6/ogr/ogrsf_frmts   
-I/usr/local/include   
-I/private/local/libiconv-1.9.1/include  
-I/usr/local/zlib/include mapprimitive.c -o
mapprimitive.o
gcc -c -O2 -fPIC -Wall   -DIGNORE_MISSING_DATA  
-DUSE_EPPL -DUSE_PROJ  -DUSE_WMS_SVR -DUSE_WMS_LYR
-DUSE_WFS_SVR -DUSE_WFS_LYR -DUSE_WCS_SVR    
-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_ICONV         -DUSE_ZLIB 
-I/usr/local/gd2/include -I/usr/local/include
-I/usr/local//include      
-I/private/local/gdal-1.2.6/port
-I/private/local/gdal-1.2.6/gcore
-I/private/local/gdal-1.2.6/alg
-I/private/local/gdal-1.2.6/ogr
-I/private/local/gdal-1.2.6/ogr/ogrsf_frmts   
-I/usr/local/include   
-I/private/local/libiconv-1.9.1/include  
-I/usr/local/zlib/include mapproject.c -o mapproject.o
gcc -c -O2 -fPIC -Wall   -DIGNORE_MISSING_DATA  
-DUSE_EPPL -DUSE_PROJ  -DUSE_WMS_SVR -DUSE_WMS_LYR
-DUSE_WFS_SVR -DUSE_WFS_LYR -DUSE_WCS_SVR    
-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_ICONV         -DUSE_ZLIB 
-I/usr/local/gd2/include -I/usr/local/include
-I/usr/local//include      
-I/private/local/gdal-1.2.6/port
-I/private/local/gdal-1.2.6/gcore
-I/private/local/gdal-1.2.6/alg
-I/private/local/gdal-1.2.6/ogr
-I/private/local/gdal-1.2.6/ogr/ogrsf_frmts   
-I/usr/local/include   
-I/private/local/libiconv-1.9.1/include  
-I/usr/local/zlib/include mapraster.c -o mapraster.o
gcc -c -O2 -fPIC -Wall   -DIGNORE_MISSING_DATA  
-DUSE_EPPL -DUSE_PROJ  -DUSE_WMS_SVR -DUSE_WMS_LYR
-DUSE_WFS_SVR -DUSE_WFS_LYR -DUSE_WCS_SVR    
-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_ICONV         -DUSE_ZLIB 
-I/usr/local/gd2/include -I/usr/local/include
-I/usr/local//include      
-I/private/local/gdal-1.2.6/port
-I/private/local/gdal-1.2.6/gcore
-I/private/local/gdal-1.2.6/alg
-I/private/local/gdal-1.2.6/ogr
-I/private/local/gdal-1.2.6/ogr/ogrsf_frmts   
-I/usr/local/include   
-I/private/local/libiconv-1.9.1/include  
-I/usr/local/zlib/include mapsde.c -o mapsde.o
make: Fatal error: Don't know how to make target
`mapogr.o'


PS, I fixed the problem of 

home/local/apache2/bin/httpd
awk: syntax error near line 1
awk: bailing out near line 1
awk: syntax error near line 1
awk: bailing out near line 1
/usr/local/apache2/bin/httpd version is Apache/2.0.45 

by switching from awk to gawk (I believe it is a
solaris for awk line-length issue).


--- Daniel Morissette <dmorissette at dmsolutions.ca>
wrote:

> Steve Benzo wrote:
> > Hi,
> > 
> > I'm trying to build the latest version of
> mapserver,
> > 4.6.1. After successfully running configure, I get
> the
> > following fatal error when I try to make
> mapserver:
> > 
> > make: Fatal error: Don't know how to make target
> > `mapogr.o
> > 
> 
> You must be getting more errors/warnings from the
> mapogr.cpp compilation 
> just before Make stops with the above error
> message... the explanation 
> of the problem lies in there. Please review those
> errors or send a copy 
> to the list and we can try to help.
> 
> Daniel
> -- 
>
------------------------------------------------------------
>   Daniel Morissette              
> dmorissette at dmsolutions.ca
>   DM Solutions Group             
> http://www.dmsolutions.ca/
>
------------------------------------------------------------
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the mapserver-users mailing list