Thanks William,<br><br>That worked wonderfully.&nbsp; <br><br>Concerning the Ruby Mapscript, I wouldn't know where to start trying to build it from the mapscriptvars and libmap.a files.&nbsp; I'm very new to the Mac environment and *nix environment in general.
<br><br>I had already built and installed the libraries required for Mapserver, but using your precompiled libraries sounds like a much more efficient solution so I'll be doing that in the future.<br><br>Thanks again,<br>
--Andy<br><br><div><span class="gmail_quote">On 7/12/06, <b class="gmail_sendername">William Kyngesburye</b> &lt;<a href="mailto:woklist@kyngchaos.com">woklist@kyngchaos.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Known problem with Xcode 2.2+.&nbsp;&nbsp;In <a href="http://makefile.in">makefile.in</a> change the LD line to:<br><br>LD=@CXX@<br><br>then reconfigure and make.<br><br><br>Also, you can reuse my Graphics Libs and GIS Libs so you don't have
<br>to build that whole mess.&nbsp;&nbsp;Edit configure (grep find and replace in<br>BBEdit or TextWrangler works great for this) and replace all (using<br>word/case sensitive):<br><br>(lib(png|jpeg|gd|proj|pdf|Xpm)).a<br><br>with:
<br><br>\1.dylib<br><br>And specify locations for all libraries in configure, since they're<br>not in 'normal' locations that would be found automatically.<br><br>./configure --with-zlib=/usr --with-proj=/usr/local/gislibs --with-
<br>gdal=/usr/local/gislibs/bin/gdal-config --with-ogr --with-gd=/usr/<br>local/graphicslibs --with-png=/usr/local/graphicslibs --with-jpeg=/<br>usr/local/graphicslibs --with-freetype=/usr/local/graphicslibs/bin/<br>freetype-config --with-xpm=/usr/local/graphicslibs --with-pdf=/usr/
<br>local/graphicslibs --with-ming=/usr/local/graphicslibs --with-geos=/<br>usr/local/gislibs/bin/geos-config --with-postgis=/usr/local/pgsql/bin/<br>pg_config --with-wfs --with-wcs --with-wfsclient --with-wmsclient --<br>
with-curl-config=/usr/local/baselibs/bin/curl-config<br><br><br>I probably won't do a Ruby MapScript binary for my Mac OS X package,<br>more stuff to install just to get it going.&nbsp;&nbsp;I think I tried<br>installing SWIG a while back with not much luck, but it's probably
<br>improved now.<br><br>One possibility just occurred to me to simplify things - many (all?)<br>of the mapscript variations use the mapscriptvars file generated<br>during the mapserv build, and libmap.a of course.&nbsp;&nbsp;I could add those
<br>to the package so all you would need to do is the Ruby build.&nbsp;&nbsp;If you<br>would like to try this, let me know.<br><br><br>On Jul 11, 2006, at 4:53 PM, Andrew Wiens wrote:<br><br>&gt; Hello.&nbsp;&nbsp;I've been trying to build mapserver on Mac OS X 
10.4.7<br>&gt; (Intel), but have had no success.&nbsp;&nbsp;I don't think that the available<br>&gt; precompiled binaries will work for my application as I need the<br>&gt; Ruby Mapscript libraries.&nbsp;&nbsp;I've included the error and configure
<br>&gt; output below.&nbsp;&nbsp;Any help solving the problem would be greatly<br>&gt; appreciated.&nbsp;&nbsp; Thanks. --Andy<br>&gt;<br>&gt; I'm getting the following error:<br>&gt;<br>&gt; gcc -O2 -fPIC -Wall&nbsp;&nbsp; -DIGNORE_MISSING_DATA&nbsp;&nbsp;-DHAVE_VSNPRINTF&nbsp;&nbsp;-
<br>&gt; DUSE_EPPL -DUSE_PROJ -DUSE_WMS_SVR&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -DUSE_GD_GIF -<br>&gt; DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -<br>&gt; DGD_HAS_GDIMAGEGIFPTR -DGD_HAS_GETBITMAPFONTS -DUSE_PDF&nbsp;&nbsp; -DUSE_OGR<br>&gt; -DUSE_GDAL -DUSE_GEOS -DUSE_ICONV&nbsp;&nbsp;&nbsp;&nbsp;-DUSE_POSTGIS&nbsp;&nbsp; -DUSE_THREAD -
<br>&gt; DUSE_ZLIB -I/usr/local/include&nbsp;&nbsp;-I/usr/local/include&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-I/usr/<br>&gt; local/include -I/usr/local/pgsql/include&nbsp;&nbsp;&nbsp;&nbsp; -I/usr/local/<br>&gt; include&nbsp;&nbsp;&nbsp;&nbsp;shp2img.o&nbsp;&nbsp;-L. -lmap -L/usr/local/lib -lgd -ljpeg -<br>&gt; lfreetype -lpng -lz -L/usr/X11R6/lib -lXpm -lX11&nbsp;&nbsp;-lpdf -ljpeg -
<br>&gt; lfreetype -lpng -lz -L/usr/X11R6/lib -lXpm -lX11&nbsp;&nbsp;-L/usr/local/lib -<br>&gt; lproj -ljpeg&nbsp;&nbsp;-L/usr/local/lib -lgdal&nbsp;&nbsp;-L/usr/local/pgsql/lib -<br>&gt; lpq&nbsp;&nbsp;&nbsp;&nbsp;-L/usr/local/lib -lgeos&nbsp;&nbsp;-lpthread -liconv&nbsp;&nbsp;-lz -lm -lstdc+
<br>&gt; +&nbsp;&nbsp;-o shp2img<br>&gt; /usr/bin/ld: Undefined symbols:<br>&gt; __Unwind_Resume<br>&gt; collect2: ld returned 1 exit status<br>&gt; make: *** [shp2img] Error 1<br>&gt;<br>&gt;<br>&gt; My configuration configure options and output are as follows:
<br>&gt;<br>&gt; ./configure \<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --mandir=/usr/local/share/man \<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --with-threads \<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --with-proj=/usr/local \<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --with-gdal=/usr/local/bin/gdal-config \<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --with-ogr=/usr/local/bin/gdal-config \
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --with-gd=/usr/local \<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --with-xpm=/usr/X11R6 \<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --with-geos=/usr/local/bin/geos-config \<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --with-postgis=/usr/local/pgsql/bin/pg_config \<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --with-freetype=/usr/local/bin/freetype-config \
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --with-httpd=/usr/sbin/httpd<br>&gt;<br>-----<br>William Kyngesburye &lt;<a href="mailto:kyngchaos@kyngchaos.com">kyngchaos@kyngchaos.com</a>&gt;<br><a href="http://www.kyngchaos.com/">http://www.kyngchaos.com/
</a><br><br>&quot;Oh, look, I seem to have fallen down a deep, dark hole.&nbsp;&nbsp;Now what<br>does that remind me of?&nbsp;&nbsp;Ah, yes - life.&quot;<br><br>- Marvin<br><br></blockquote></div><br>