You've hit a problem with Xcode 2.2. In the makefile, change LD to g+
+. Yes, the instructions are a little out of date, I've been
focusing on the installers.
Anything in particular you need in an Mac Intel MapServer? My
installer is mostly Intel ready right now, just missing an Intel
mapscript for PHP-Apache. But that will be done by the end of the day.
On Feb 23, 2006, at 4:56 AM, Mark Wright wrote:
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
-----
William Kyngesburye <[EMAIL PROTECTED]>
http://www.kyngchaos.com/
"Mon Dieu! but they are all alike. Cheating, murdering, lying,
fighting, and all for things that the beasts of the jungle would not
deign to possess - money to purchase the effeminate pleasures of
weaklings. And yet withal bound down by silly customs that make them
slaves to their unhappy lot while firm in the belief that they be the
lords of creation enjoying the only real pleasures of existence....
- the wisdom of Tarzan