Hello.  I've been trying to build mapserver on Mac OS X 10.4.7 (Intel), but have had no success.  I don't think that the available precompiled binaries will work for my application as I need the Ruby Mapscript libraries.  I've included the error and configure output below.  Any help solving the problem would be greatly appreciated.   Thanks. --Andy
<br><br>I'm getting the following error:<br><br>gcc -O2 -fPIC -Wall&nbsp;&nbsp; -DIGNORE_MISSING_DATA&nbsp; -DHAVE_VSNPRINTF&nbsp; -DUSE_EPPL -DUSE_PROJ -DUSE_WMS_SVR&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR -DGD_HAS_GETBITMAPFONTS -DUSE_PDF&nbsp;&nbsp; -DUSE_OGR -DUSE_GDAL -DUSE_GEOS -DUSE_ICONV&nbsp;&nbsp;&nbsp; -DUSE_POSTGIS&nbsp;&nbsp; -DUSE_THREAD -DUSE_ZLIB -I/usr/local/include&nbsp; -I/usr/local/include&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -I/usr/local/include -I/usr/local/pgsql/include&nbsp;&nbsp;&nbsp;&nbsp; -I/usr/local/include&nbsp;&nbsp;&nbsp; 
shp2img.o&nbsp; -L. -lmap -L/usr/local/lib -lgd -ljpeg -lfreetype -lpng -lz -L/usr/X11R6/lib -lXpm -lX11&nbsp; -lpdf -ljpeg -lfreetype -lpng -lz -L/usr/X11R6/lib -lXpm -lX11&nbsp; -L/usr/local/lib -lproj -ljpeg&nbsp; -L/usr/local/lib -lgdal&nbsp; -L/usr/local/pgsql/lib -lpq&nbsp;&nbsp;&nbsp; -L/usr/local/lib -lgeos&nbsp; -lpthread -liconv&nbsp; -lz -lm -lstdc++&nbsp; -o shp2img
<br>/usr/bin/ld: Undefined symbols:<br>__Unwind_Resume<br>collect2: ld returned 1 exit status<br>make: *** [shp2img] Error 1<br><br><br>My configuration configure options and output are as follows:<br><br>./configure \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --mandir=/usr/local/share/man \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --with-threads \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --with-proj=/usr/local \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --with-gdal=/usr/local/bin/gdal-config \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --with-ogr=/usr/local/bin/gdal-config \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --with-gd=/usr/local \
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --with-xpm=/usr/X11R6 \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --with-geos=/usr/local/bin/geos-config \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --with-postgis=/usr/local/pgsql/bin/pg_config \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --with-freetype=/usr/local/bin/freetype-config \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --with-httpd=/usr/sbin/httpd
<br><br>tfo:~/src/mapserver-4.8.3 andy$ ./config_opts <br>checking for gcc... gcc<br>checking for C compiler default output file name... a.out<br>checking whether the C compiler works... yes<br>checking whether we are cross compiling... no
<br>checking for suffix of executables... <br>checking for suffix of object files... o<br>checking whether we are using the GNU C compiler... yes<br>checking whether gcc accepts -g... yes<br>checking for gcc option to accept ANSI C... none needed
<br>checking for g++... g++<br>checking whether we are using the GNU C++ compiler... yes<br>checking whether g++ accepts -g... yes<br>checking for ranlib... ranlib<br>checking for flex... flex<br>checking for yywrap in -lfl... yes
<br>checking lex output file root... lex.yy<br>checking whether yytext is a pointer... yes<br>checking for bison... bison -y<br>checking if compiler supports -R... no<br>checking if compiler supports -Wl,-rpath,... no<br>
checking if compiler supports -Wl,-R... no<br>checking for exp in -lm... yes<br>checking for __gxx_personality_v0 in -lstdc++... yes<br>checking how to run the C preprocessor... gcc -E<br>checking for egrep... grep -E<br>
checking for ANSI C header files... yes<br>checking for strcasecmp... yes<br>checking for strncasecmp... yes<br>checking for strdup... yes<br>checking for strlcat... yes<br>checking for vsnprintf... yes<br>MapServer Version from 
map.h: '4.8.3'<br>configure: checking where FreeType 2.x is installed...<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; using libfreetype from -L/usr/local/lib -lfreetype -lz<br>checking for FT_Init_FreeType in -lfreetype... yes<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; using libfreetype -lfreetype from system libs.
<br>configure: checking where Zlib is installed...<br>checking for zlibVersion in -lz... yes<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; using libz from system libs (-DUSE_ZLIB).<br>configure: checking where PNG is installed...<br>checking for png_init_io in -lpng... yes
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; using libpng from system libs.<br>configure: checking whether we should include JPEG support...<br>checking for jpeg_read_header in -ljpeg... yes<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; using libjpeg from system libs.<br>configure: checking where libXpm is installed...
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; using libXpm from -L/usr/X11R6/lib -lXpm -lX11<br>configure: checking where libiconv is installed...<br>checking for iconv_open in -lc... no<br>checking for libiconv_open in -liconv... yes<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; using libiconv from system libs.
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libiconv found. Enabling internationalization (-DUSE_ICONV)<br>configure: checking for GD 2.0.16 or higher...<br>checking for gdFontCacheSetup in -lgd... yes<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; using libgd 2.0.16 (or higher) from -L/usr/local/lib -lgd -ljpeg -lfreetype -lpng -lz -L/usr/X11R6/lib -lXpm -lX11 
<br>checking for gdImageGif in -lc... yes<br>checking for gdImagePng in -lc... yes<br>checking for gdImageJpeg in -lc... yes<br>checking for gdImageWBMP in -lc... yes<br>checking for gdImageStringFT in -lc... yes<br>checking for gdImageGifPtr in -lc... yes
<br>checking for gdFontGetTiny in -lc... yes<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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.<br>configure: checking whether we should include PDF support...
<br>checking for PDF_setlinewidth in -lpdf... yes<br>checking for PDF_setrgbcolor in -lpdf... yes<br>checking for PDF_moveto in -lpdf... yes<br>checking for PDF_curveto in -lpdf... yes<br>checking for PDF_show_xy in -lpdf... yes
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; using libpdf from system libs.<br>configure: checking whether we should include EPPL7 support...<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; including EPPL7 support.<br>configure: checking whether we should include PROJ.4 support...<br>checking for pj_transform in -lproj... yes
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; using PROJ.4 from /usr/local.<br>configure: checking whether we should include thread safe support...<br>checking for pthread_create in -lpthread... yes<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; using -lpthread from system libs.<br>configure: checking whether we should include ESRI SDE support...
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ESRI SDE support not requested.<br>configure: checking whether we should compile in MPATROL support...<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MPATROL support not requested.<br>checking if GEOS support requested... yes, user supplied geos-config (/usr/local/bin/geos-config)
<br>configure: checking whether we should include OGR support...<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OGR enabled (-DUSE_OGR).<br>checking if GDAL support requested... yes, user supplied gdal-config (/usr/local/bin/gdal-config)<br>checking checking ms JPEG output... no we, have GDAL available.
<br>configure: checking whether we should include TIFF support...<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; disabled since gdal is in use<br>checking if PostGIS support requested... yes, user supplied pg_config<br>checking if MyGIS support requested... no
<br>checking if OracleSpatial support requested... no<br>checking if MING/Flash support requested... no<br>configure: checking whether we should include WMS Server support...<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OGC WMS compatibility enabled (-DUSE_WMS_SVR).
<br>configure: checking whether we should include WFS Server support...<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OGC WFS Server support not requested.<br>configure: checking whether we should include WCS Server support...<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OGC WCS Server support not requested.
<br>configure: checking whether we should include WMS Client Connections support...<br>configure: checking whether we should include WFS Client Connections support...<br>configure: checking for curl-config...<br>configure: checking whether FastCGI support should be enabled...
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FastCGI support not enabled.<br>configure: checking HTTPD server (Apache) version...<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; using user-supplied httpd (/usr/sbin/httpd)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /usr/sbin/httpd version is Apache/1.3.33 (1003033).<br>Compiling with -DIGNORE_MISSING_DATA.
<br>checking compiler warnings... basic<br>configure: checking whether we should enable debug features...<br>configure: checking for PHP/MapScript module options...<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PHP/MapScript module not configured.<br>checking if --enable-runpath requested... no
<br>configure: creating ./config.status<br>config.status: creating Makefile<br>config.status: creating mapscript/java/Makefile<br>config.status: creating mapscript/csharp/Makefile<br><br>------------------------------------------------------------------------------------------------------
<br><br><br><br>