[mapserver-users] Compile errors with 5.2.1 on Centos 5.2 x64
Doug_Newcomb at fws.gov
Doug_Newcomb at fws.gov
Fri Dec 5 13:35:36 PST 2008
Sigh,
One of the joys of email lists is that your ignorance and undue
haste is displayed for all to see. In this case Mapserver 5.2.1 compiled
correctly , the "skipping incompatible" messages were just warnings that
the compiler was correctly skipping the 32bit libraries installed and using
the 64 bit libraries. Sorry for the noise.
Doug
Doug Newcomb
USFWS
Raleigh, NC
919-856-4520 ext. 14 doug_newcomb at fws.gov
---------------------------------------------------------------------------------------------------------
The opinions I express are my own and are not representative of the
official policy of the U.S.Fish and Wildlife Service or Dept. of Interior.
Life is too short for undocumented, proprietary data formats.
Doug_Newcomb at fws.
gov
Sent by: To
mapserver-users-b mapserver-users at lists.osgeo.org
ounces at lists.osge cc
o.org
Subject
[mapserver-users] Compile errors
12/04/2008 10:15 with 5.2.1 on Centos 5.2 x64
AM
Hi Folks,
I'm having a bit of trouble compiling mapserver 5.2.1 on a Centos 5.2
x64 box. Sorry for the long post, just trying to be complete.
Doug
Configuration Options and Output
---------------------------------
./configure --without-tiff --without-eppl --without-jpeg --with-threads
--with-proj --with-gdal=/usr/local/bin --with-php=/usr/include/php
--with-gd --with-freetype=/usr/bin --with-ogr --with-gdal
--with-wmsclient --with-wfs --with-wfs-client --with-postgis --with-geos
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 ISO C89... 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 lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for bison... bison -y
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... 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 grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for strdup... yes
checking for strrstr... no
checking for strlcat... no
checking for vsnprintf... yes
MapServer Version from mapserver.h: '5.2.1'
checking if pkg-config path is provided... checking for pkg-config...
/usr/bin/pkg-config
configure: checking where FreeType 2.x is installed...
using libfreetype from -lfreetype
checking for FT_Init_FreeType in -lfreetype... yes
using libfreetype -lfreetype from system libs.
configure: checking where Zlib is installed...
checking for zlibVersion in -lz... yes
using libz from system libs (-DUSE_ZLIB).
configure: checking where PNG is installed...
checking for png_init_io in -lpng... yes
using libpng from system libs.
configure: checking whether we should include JPEG support...
disabled by --without-jpeg
checking for jpeg_read_header in -ljpeg... yes
using libjpeg from system libs.
configure: checking where libXpm is installed...
checking for XpmFreeXpmImage in -lXpm... yes
using libXpm from system libs.
configure: checking where libiconv is installed...
checking for iconv_open in -lc... yes
checking for libiconv_open in -liconv... no
checking for iconv_open in -liconv... no
using libiconv from system libs.
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 system libs (-L/usr/lib64 -lgd
-ljpeg -lfreetype -lpng -lz -lXpm -lX11 ).
checking for gdImageCreate in -lgd... yes
checking for gdImageGif in -lgd... yes
checking for gdImagePng in -lgd... yes
checking for gdImageJpeg in -lgd... yes
checking for gdImageWBMP in -lgd... yes
checking for gdImageStringFT in -lgd... yes
checking for gdImageOpenPolygon in -lgd... yes
checking for gdImageGifPtr in -lgd... yes
checking for gdFontGetTiny in -lgd... yes
using GD ( -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP
-DUSE_GD_FT -DGD_HAS_FTEX_XSHOW -DGD_HAS_GDIMAGEGIFPTR
-DGD_HAS_GETBITMAPFONTS) from system libs.
configure: checking whether we should include PDF support...
checking for PDF_setlinewidth in -lpdf... no
checking for PDF_setrgbcolor in -lpdf... no
checking for PDF_moveto in -lpdf... no
checking for PDF_curveto in -lpdf... no
checking for PDF_show_xy in -lpdf... no
checking for PDF_load_font in -lpdf... no
libpdf not found or too old... PDF support not included.
checking if AGG support requested... no
checking if RGBA palette png support requested... no
configure: checking whether we should include EPPL7 support...
disabled by --without-eppl
configure: checking whether we should include PROJ.4 support...
checking for pj_init in -lproj... yes
checking for pj_transform in -lproj... yes
using PROJ.4 from system libs.
configure: checking whether we should include thread safe support...
checking for pthread_create in -lpthread... yes
using -lpthread from system libs.
configure: checking whether we should include ESRI SDE support...
ESRI SDE support not requested.
checking if GEOS support requested... yes
checking for geos-config... /usr/local/bin/geos-config
checking for GEOS version >= 2.2.2... yes. Found version 3.0.3
configure: checking whether we should include OGR support...
checking for gdal-config... /usr/local/bin/gdal-config
OGR enabled (-DUSE_OGR).
checking if GDAL support requested... yes
configure: checking whether we should include TIFF support...
disabled by --without-tiff
checking if PostGIS support requested... yes
checking for pg_config... 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 not requested.
configure: checking whether we should include WMS Client Connections
support...
configure: checking whether we should include WFS Client Connections
support...
configure: checking whether we should include OGC SOS Server support...
OGC SOS Server support not requested.
checking for curl-config... checking for curl-config...
/usr/bin/curl-config
found libcurl version 7.15.5
OGC WMS Client Connections enabled (-DUSE_WMS_LYR).
checking for libxml2... libxml2 not required.
checking if FriBidi support requested... no
checking FastCGI support... not requested.
configure: checking HTTPD server (Apache) version...
checking for httpd... /usr/sbin/httpd
/usr/sbin/httpd version is Apache/2.2.3 (2002003).
Your system is apparently running Apache/2.2.3. Setting stderr to
non-blocking for msDebug() due to Apache 2.x bug (see MapServer bug 458 or
Apache bug 22030).
Compiling with fast MS_NINT
checking compiler warnings... basic
configure: checking whether we should enable debug features...
configure: checking for PHP/MapScript module options...
checking for g++ -shared ... yes
checking for location of config.h or php_config.h...
/usr/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 - building PHP MapScript with PHP's bundled
regex
PHP/MapScript module configured.
checking if --enable-runpath requested... no
checking if --with-java-include-os-name specified... no, autodetected linux
configure: creating ./config.status
config.status: creating Makefile
config.status: creating mapscript/php3/Makefile
config.status: creating mapscript/java/Makefile
config.status: creating mapscript/csharp/Makefile
MapServer is now configured for
-------------- Compiler Info -------------
C compiler: gcc -O2 -fPIC -Wall
C++ compiler: g++ -O2 -fPIC -Wall
Debug: -DNEED_NONBLOCKING_STDERR
Generic NINT:
-------------- Renderer Settings ---------
zlib support: -DUSE_ZLIB
png support:
palette rgba png support:
jpeg support:
iconv support: -DUSE_ICONV
AGG support:
AGG Freetype support:
Ming(flash) support:
PDFLib support:
-------------- Support Libraries ---------
Proj.4 support: -DUSE_PROJ
Libxml2 support:
FriBidi support:
Curl support: -DUSE_CURL
FastCGI support:
Threading support: -DUSE_THREAD
GEOS support: -DUSE_GEOS
-------------- Data Format Drivers -------
native tiff support:
PostGIS support:
EPPL7 support:
ArcSDE support:
OGR support: -DUSE_OGR
GDAL support: -DUSE_GDAL
Oracle Spatial support:
-------------- OGC Services --------------
WMS Server: -DUSE_WMS_SVR
WMS Client: -DUSE_WMS_LYR
WFS Server: -DUSE_WFS_SVR
WFS Client: -DUSE_WMS_LYR
WCS Server:
SOS Server:
-------------- MapScript -----------------
PHP MapScript: yes
Point of Compile Death upon make
--------------------------------------------
g++ -shared -o php_mapscript.so php_mapscript_util.o php_mapscript.o
mapscript_i.o php_regex.o -L/usr/local/mapserver-5.2.1 -lmapserver
-L/usr/kerberos/lib64 -lcurl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err
-lresolv -ldl -lidn -lssl -lcrypto -lz -ljpeg -lfreetype -lpng -lz
-lXpm -lX11 -L/usr/local/lib -lgdal -L/usr/local/lib -lgeos_c
-I/usr/include -lsqlite3 -L/usr/lib -lexpat -L/usr/local/lib -lxerces-c
-lpthread -ljasper -lgif -lpng -lpq -L/usr/local/pgsql/lib -lpq -lz -lm
-lrt -ldl -L/usr/kerberos/lib64 -lcurl -lgssapi_krb5 -lkrb5 -lk5crypto
-lcom_err -lresolv -ldl -lidn -lssl -lcrypto -lz -L/usr/local/lib -lgeos_c
-lpthread -lproj -lgd -L/usr/lib64 -lgd -ljpeg -lfreetype -lpng -lz -lXpm
-lX11 -lc -lz -lm -lstdc++
/usr/bin/ld: skipping incompatible /usr/lib/libcurl.so when searching for
-lcurl
/usr/bin/ld: skipping incompatible /usr/lib/libcurl.a when searching for
-lcurl
/usr/bin/ld: skipping incompatible /usr/lib/libgssapi_krb5.so when
searching for -lgssapi_krb5
/usr/bin/ld: skipping incompatible /usr/lib/libgssapi_krb5.a when searching
for -lgssapi_krb5
/usr/bin/ld: skipping incompatible /usr/lib/libkrb5.so when searching for
-lkrb5
/usr/bin/ld: skipping incompatible /usr/lib/libkrb5.a when searching for
-lkrb5
/usr/bin/ld: skipping incompatible /usr/lib/libk5crypto.so when searching
for -lk5crypto
/usr/bin/ld: skipping incompatible /usr/lib/libk5crypto.a when searching
for -lk5crypto
/usr/bin/ld: skipping incompatible /usr/lib/libidn.so when searching for
-lidn
/usr/bin/ld: skipping incompatible /usr/lib/libidn.a when searching for
-lidn
/usr/bin/ld: skipping incompatible /usr/lib/libssl.so when searching for
-lssl
/usr/bin/ld: skipping incompatible /usr/lib/libssl.a when searching for
-lssl
/usr/bin/ld: skipping incompatible /usr/lib/libcrypto.so when searching for
-lcrypto
/usr/bin/ld: skipping incompatible /usr/lib/libcrypto.a when searching for
-lcrypto
/usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/libz.a when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/libjpeg.so when searching for
-ljpeg
/usr/bin/ld: skipping incompatible /usr/lib/libpng.so when searching for
-lpng
/usr/bin/ld: skipping incompatible /usr/lib/libpng.a when searching for
-lpng
/usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/libz.a when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/libsqlite3.so when searching
for -lsqlite3
/usr/bin/ld: skipping incompatible /usr/lib/libpng.so when searching for
-lpng
/usr/bin/ld: skipping incompatible /usr/lib/libpng.a when searching for
-lpng
/usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/libz.a when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/libcurl.so when searching for
-lcurl
/usr/bin/ld: skipping incompatible /usr/lib/libcurl.a when searching for
-lcurl
/usr/bin/ld: skipping incompatible /usr/lib/libgssapi_krb5.so when
searching for -lgssapi_krb5
/usr/bin/ld: skipping incompatible /usr/lib/libgssapi_krb5.a when searching
for -lgssapi_krb5
/usr/bin/ld: skipping incompatible /usr/lib/libkrb5.so when searching for
-lkrb5
/usr/bin/ld: skipping incompatible /usr/lib/libkrb5.a when searching for
-lkrb5
/usr/bin/ld: skipping incompatible /usr/lib/libk5crypto.so when searching
for -lk5crypto
/usr/bin/ld: skipping incompatible /usr/lib/libk5crypto.a when searching
for -lk5crypto
/usr/bin/ld: skipping incompatible /usr/lib/libidn.so when searching for
-lidn
/usr/bin/ld: skipping incompatible /usr/lib/libidn.a when searching for
-lidn
/usr/bin/ld: skipping incompatible /usr/lib/libssl.so when searching for
-lssl
/usr/bin/ld: skipping incompatible /usr/lib/libssl.a when searching for
-lssl
/usr/bin/ld: skipping incompatible /usr/lib/libcrypto.so when searching for
-lcrypto
/usr/bin/ld: skipping incompatible /usr/lib/libcrypto.a when searching for
-lcrypto
/usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/libz.a when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/libjpeg.so when searching for
-ljpeg
/usr/bin/ld: skipping incompatible /usr/lib/libpng.so when searching for
-lpng
/usr/bin/ld: skipping incompatible /usr/lib/libpng.a when searching for
-lpng
/usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/libz.a when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/libz.a when searching for -lz
make[1]: Leaving directory `/usr/local/mapserver-5.2.1/mapscript/php3'
Doug Newcomb
USFWS
Raleigh, NC
919-856-4520 ext. 14 doug_newcomb at fws.gov
---------------------------------------------------------------------------------------------------------
The opinions I express are my own and are not representative of the
official policy of the U.S.Fish and Wildlife Service or Dept. of Interior.
Life is too short for undocumented, proprietary data formats.
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list