compile problems on osx
Mark Wright
sparkymeister at GMAIL.COM
Thu Feb 23 02:56:41 PST 2006
I'm having issues compiling mapserver on my new macbook pro. I am
following the instructions at
http://www.kyngchaos.com/macosx/mapservinstall.php but these
instructions are for an older version of mapserver and older versions
of various dependencies.
Configure went fine as far as I can tell. When I go to make it goes
for a while and this is the last few lines before it quits. This is
all greek to me so any help would be appreciated.
ranlib: file: libmap.a(mapthread.o) has no symbols
ranlib: file: libmap.a(mapswf.o) has no symbols
ranlib: file: libmap.a(mappdf.o) has no symbols
ranlib libmap.a
ranlib: file: libmap.a(mapthread.o) has no symbols
ranlib: file: libmap.a(mapswf.o) has no symbols
ranlib: file: libmap.a(mappdf.o) has no symbols
gcc -c -O2 -fPIC -Wall -DIGNORE_MISSING_DATA -DHAVE_VSNPRINTF
-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_OGR -DUSE_GDAL -DUSE_GEOS -DUSE_ICONV
-DUSE_POSTGIS -DUSE_ZLIB -I/usr/local/include
-I/usr/local/include -I/usr/local/include
-I/usr/local/pgsql/include -I/usr/local/include shp2img.c -o
shp2img.o
gcc -O2 -fPIC -Wall -DIGNORE_MISSING_DATA -DHAVE_VSNPRINTF
-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_OGR -DUSE_GDAL -DUSE_GEOS -DUSE_ICONV
-DUSE_POSTGIS -DUSE_ZLIB -I/usr/local/include
-I/usr/local/include -I/usr/local/include
-I/usr/local/pgsql/include -I/usr/local/include shp2img.o -L.
-lmap -L/usr/local/lib -lgd -ljpeg -lfreetype -lpng -lz
-L/usr/X11R6/lib -lXpm -lX11 -ljpeg -lfreetype -lpng -lz
-L/usr/X11R6/lib -lXpm -lX11 -L/usr/local/lib -lproj -ljpeg
-L/usr/local/lib -lgdal -L/usr/local/pgsql/lib -lpq -L/usr/lib
-lcurl -lssl -lcrypto -lz -L/usr/local/lib -lgeos -liconv -lz -lm
-lstdc++ -o shp2img
/usr/bin/ld: Undefined symbols:
__Unwind_Resume
collect2: ld returned 1 exit status
make: *** [shp2img] Error 1
If it helps here is my configure:
./configure --mandir=/usr/local/share/man --with-proj=/usr/local
--with-gdal=/usr/local/bin/gdal-config --with-ogr --with-gd=/usr/local
--with-xpm=/usr/X11R6 --with-php=/usr/local
--with-geos=/usr/local/bin/geos-config --with-wfs --with-wcs
--with-wfsclient --with-wmsclient
--with-postgis=/usr/local/pgsql/bin/pg_config
--with-freetype=/usr/X11R6/bin/freetype-config
Thanks
Mark
More information about the MapServer-users
mailing list