[Mapserver-users] building Mapserver 3.6.5 on Mac OS X 10.2.5

John Oram mapserver at oram.com
Fri May 9 14:33:03 EDT 2003


Daniel et al-

Yup, looks like my original download of the tar.gz got truncated, or 
didn't ungzip or untar properly.  Redownloaded via cURL and 
mapscript/php3 is there.  Thanks for the tip.

As for my latest entertaining error (boy, this sure is a good way to 
learn about the intricacies of software build :) when I make Mapserver, 
I get this error:

gcc -c -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL -DUSE_PROJ 
-DUSE_PROJ_API_H -DUSE_WMS    -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG 
-DUSE_GD_WBMP -DUSE_GD_FT        
-I/usr/local/src/mapserver-3.6.5/../gd-1.8.4              shp2img.c -o 
shp2img.o
gcc -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL -DUSE_PROJ 
-DUSE_PROJ_API_H -DUSE_WMS    -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG 
-DUSE_GD_WBMP -DUSE_GD_FT        
-I/usr/local/src/mapserver-3.6.5/../gd-1.8.4              shp2img.o  
-L. -lmap -L/usr/local/src/mapserver-3.6.5/../gd-1.8.4 -lgd -ljpeg  
-L/usr/local/lib -lpng -lz  -ljpeg  -L/usr/local/lib -lpng -lz -lproj 
-ljpeg          -lm   -o shp2img
ld: Undefined symbols:
___gxx_personality_v0
make: *** [shp2img] Error 1

I searched the archives and found the suggestion by Norman Vine to add 
"--with-xpm=no" but this didn't help matters.  (I used ./configure 
--with-jpeg --with-gd=../gd-1.8.4 --with-proj 
--with-zlib=/usr/local/lib --with-png=/usr/local/lib 
--with-php=/usr/local/src/php-4.3.1 --with-xpm=no)

This may or may not be related to another question I have -- I saw a 
reference to shapelib-1.2.10 -- I downloaded it and have it in my 
/usr/local/src.  I didn't see any mention of it in any of the install 
instructions I've seen (for any OS) and wasn't able to tell if this was 
bonus material or required to import shapefiles.  Could this be causing 
the shp2img error I'm seeing?

Confusedly yours,
   John



On Thursday, May 8, 2003, at 04:55  PM, Daniel Morissette wrote:

> John Oram wrote:
>>
>>         updating cache ./config.cache
>>         creating ./config.status
>>         creating Makefile
>>         mkdir: mapscript/php3: No such file or directory
>>         creating mapscript/php3/Makefile
>>         sed: ./mapscript/php3/Makefile.in: No such file or directory
>
>
> Seems like you are missing some files in the source code distribution
> that you got, or the directory structure got lost for some reason.
>
> You should have a subdirectory called mapscript/php3, and it should
> contain a file called mapscript/php3/Makefile.in, plus other source
> files, etc.
>
> -- 
> ------------------------------------------------------------
>  Daniel Morissette               morissette at dmsolutions.ca
>  DM Solutions Group              http://www.dmsolutions.ca/
> ------------------------------------------------------------




More information about the mapserver-users mailing list