[Mapserver-users] Installing MapServer 4.2.1 on FreeBSD 4.9
"Weßling, Achim"
Achim.Wessling at gt-net.de
Wed Jul 21 06:08:38 PDT 2004
Hallo,
I just tried to update my MS-Version from 4.0.2 to 4.2.1 on a FreeBSD 4.9
Box.
On the previous versions of MS I used the following script to configure MS.
So I did with 4.2.1:
#!/bin/sh
./configure --with-xpm=/usr/X11R6/lib --with-gd=/usr/local --with-gdal
--with-ogr --with-proj=/usr/local --with-jpeg=/usr/local
--with-png=/usr/local --without-tiff --with-libiconv=/usr/local --with-zlib
--with-curl --with-freetype
--with-php=/usr/ports/www/php4-cgi/work/php-4.3.3 --with-wmsclient
--with-wfs --with-wfsclient --with-postgis --enable-runpat
It follows the output of the configure-Script and gmake:
./configure-umn.sh
checking for gcc... gcc
checking for C compiler default output... 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... 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++... no
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for strdup... yes
configure: checking where FreeType 2.x is installed......
checking for freetype-config... /usr/local/bin/freetype-config
using libfreetype from -L/usr/local/lib -lfreetype -lz
checking for FT_Init_FreeType in -lfreetype... no
using libfreetype -L/usr/local/lib -lfreetype -lz from system libs.
configure: checking where Zlib is installed......
checking for zlibVersion in -lz... yes
using libz from system libs.
configure: checking where PNG is installed......
using libpng from -L/usr/local/lib -lpng
configure: checking whether we should include JPEG support......
using libjpeg from system -L/usr/local/lib -ljpeg
configure: checking where libXpm is installed......
using libXpm from -L/usr/X11R6/lib -lXpm -lX11
configure: checking where libiconv is installed......
using libiconv from -L/usr/local/lib -liconv
configure: checking for GD 2.0.12 or higher......
checking for gdImageSetAntiAliased in -lgd... yes
using libgd 2.0.12 (or higher) from -L/usr/local/lib -lgd
-L/usr/local/lib -ljpeg -L/usr/local/lib -lfreetype -lz -L/usr/local/lib
-lpng -lz -L/usr/X11R6/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
using GD ( -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP
-DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR) from /usr/local.
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
libpdf not found... PDF support not included.
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
checking for pj_latlong_from_proj 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 compile in MPATROL support......
MPATROL support not requested.
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
checking checking ms JPEG output... no we, have GDAL available.
configure: checking whether we should include TIFF support......
disabled by --without-tiff
checking if PostGIS support requested... yes
checking for pg_config... /usr/local/bin/pg_config
yes, user supplied pg_config
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 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.10.7
OGC WMS Client Connections enabled (-DUSE_WMS_LYR).
OGC WFS Client Connections enabled (-DUSE_WFS_LYR).
configure: checking HTTPD server (Apache) version...
checking for httpd... /usr/local/sbin/httpd
/usr/local/sbin/httpd version is Apache/1.3.28 (1003028).
Compiling with -DIGNORE_MISSING_DATA.
configure: checking whether we should enable debug features......
configure: checking for PHP/MapScript module options......
checking for g++ -shared ... yes
using 'g++ -shared' for dynamic linking
checking for location of config.h or php_config.h...
/usr/ports/www/php4-cgi/work/php-4.3.3/main/php_config.h
checking whether we have PHP3 or PHP4... -DPHP4
checking whether we should use PHP's regex... no
PHP/MapScript module configured.
configure: creating ./config.status
config.status: creating Makefile
config.status: creating mapscript/php3/Makefile
lni90235# gmake
gcc -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_PROJ -DUSE_PROJ_API_H
-DUSE_WMS_SVR -DUSE_WMS_LYR -DUSE_WFS_SVR -DUSE_WFS_LYR -DUSE_GD_GIF
-DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR
-DUSE_OGR -DUSE_GDAL -DUSE_POSTGIS -I/usr/local/include
-I/usr/local/include -I/usr/local/include -I/usr/local/include
-I/usr/local/include -I/usr/local/include shp2img.o -L. -lmap
-L/usr/local/lib -lgd -L/usr/local/lib -ljpeg -L/usr/local/lib -lfreetype
-lz -L/usr/local/lib -lpng -lz -L/usr/X11R6/lib -lXpm -lX11
-L/usr/local/lib -ljpeg -L/usr/local/lib -lfreetype -lz -L/usr/local/lib
-lpng -lz -L/usr/X11R6/lib -lXpm -lX11 -L/usr/local/lib -lproj
-L/usr/local/lib -ljpeg -L/usr/local/lib -lgdal -L/usr/local/lib -lpq
-L/usr/local/lib -lcurl -rpath=/usr/lib:/usr/local/lib -lz -lssl -lcrypto
-lz -lm -o shp2img
./libmap.a(mapogr.o): In function `ogrGeomPoints(OGRGeometry *, shapeObj
*)':
mapogr.o(.text+0x174): undefined reference to
`OGRPolygon::getNumInteriorRings(void)'
mapogr.o(.text+0x1e8): undefined reference to
`OGRGeometryCollection::getNumGeometries(void)'
mapogr.o(.text+0x3a4): undefined reference to
`OGRPolygon::getNumInteriorRings(void)'
./libmap.a(mapogr.o): In function `ogrGeomLine(OGRGeometry *, shapeObj *,
int)':mapogr.o(.text+0x4e7): undefined reference to
`OGRPolygon::getNumInteriorRings(void)'
mapogr.o(.text+0x53f): undefined reference to
`OGRGeometryCollection::getNumGeometries(void)'
gmake: *** [shp2img] Error 1
lni90235#
Any hint for solving this is welcome ;-)!
Thanks!
Achim Weßling
=====================
INFOKOM Gütersloh AöR
Fachbereich Technische Anwendungen
Herzebrocker Str. 140
33334 Gütersloh
Tel.: 05241/85-2926
Achim.Wessling at gt-net.de
http://www.infokom-gt.de
More information about the MapServer-users
mailing list