[mapserver-users] Problem compiling PHP Mapscript 3.6.3

Jean-Francois.Doyon at ccrs.nrcan.gc.ca Jean-Francois.Doyon at ccrs.nrcan.gc.ca
Wed Oct 9 17:24:42 EDT 2002


Ah!

Well it wasn't from a make install, but I did have my libmap.a in
/usr/local/lib ... Took it out, now all is fine.

Thanks,
J.F.

-----Original Message-----
From: Daniel Morissette [mailto:morissette at dmsolutions.ca]
Sent: Wednesday, October 09, 2002 5:06 PM
To: Jean-Francois.Doyon at ccrs.nrcan.gc.ca
Cc: mapserver-users at lists.gis.umn.edu
Subject: Re: [mapserver-users] Problem compiling PHP Mapscript 3.6.3


JF,

Sounds like you may have done 'make install' in a previous build, and
php_mapscript.so is linking against your old libmap.a that has been
installed in /usr/local/lib/libmap.a

The fix is to delete /usr/local/lib/libmap.a and
/usr/local/include/mapserver-3.5/map.h and to avoid 'make install' with
MapServer in the future.

Daniel



Jean-Francois.Doyon at ccrs.nrcan.gc.ca wrote:
> 
> Hello,
> 
> I'm getting a rather odd behavior when compiling mapserver and PHP
mapscript
> 3.6.3 ...
> 
> My MapServer binary is version 3.6.3:
> 
> [root at grumbler mapserver-3.6.3]# ./mapserv -v
> MapServer version 3.6.3 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
> SUPPORTS=PROJ SUPPORTS=TTF SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT
> INPUT=TIFF INPUT=EPPL7 INPUT=JPEG INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE
> [root at grumbler mapserver-3.6.3]#
> 
> But my php_mapscript.so is 3.6.1 !!!:
> 
> [root at grumbler mapserver-3.6.3]# cd mapscript/php3/
> [root at grumbler php3]# grep 3.6.1 php_mapscript.so
> Binary file php_mapscript.so matches
> [root at grumbler php3]# grep 3.6.3 php_mapscript.so
> [root at grumbler php3]#
> 
> The funny thing is I did the exact same ocmpile on an almost identical
> server, and everything went fine (They both say 3.6.3) ...
> 
> I'm think php_mapscript might be reverting to an older version due to some
> dependency or something ... can that be? One is PHP 4.2.1 the other is
4.2.2
> for instance, and there might be some minor differences in other library
> versions ...
> 
> Any help with this would be much appreciated!
> 
> Thanks,
> 
> Jean-François Doyon
> Internet Service Development and Systems Support
> GeoAccess Division
> Canada Center for Remote Sensing
> Natural Resources Canada
> http://atlas.gc.ca
> Phone: (613) 992-4902
> Fax: (613) 947-2410



More information about the mapserver-users mailing list