[mapserver-users] compilation problem

Vinko Vrsalovic v at w.cl
Fri Feb 22 11:38:14 EST 2002


PHP MapScript still does not support PHP 4.1.

(Given all the times this problem has appeared on the list this last few
days, I think it earned a place in a README.PLEASE inside the PHP Mapscript 
distribution and a FAQ entry too)


> Oops, right!
> Here is the complete output:
> 
> cd mapscript/php3; make; cd ../..
> make[1]: Entering directory `/opt/src/mapserver_3.5/mapscript/php3'
> gcc  gcc -I. -I.. -fPIC -O2  -Wall -DCOMPILE_DL=1 -DPHP4 
> -DUSE_WMS     -DUSE_PRO
> J -DUSE_PROJ_API_H -DUSE_EPPL -DUSE_TIFF   -DUSE_GD_PNG -DUSE_GD_JPEG 
> -DUSE_GD_W
> BMP -DUSE_GD_TTF 
> -DUSE_JPEG  -I/opt/src/mapserver_3.5         -I/usr/local/inclu
> de   -I/opt/src/php-4.1.0 -I/opt/src/php-4.1.0/dl -I/opt/src/php-4.1.0/main 
> -I/o
> pt/src/php-4.1.0/Zend -I/opt/src/php-4.1.0/include 
> -I/opt/src/php-4.1.0/TSRM -I/
> usr/local/apache-1.3.22/include -c -o php_mapscript_util.o 
> php_mapscript_util.c
> gcc: cannot specify -o with -c or -S and multiple compilations
> make[1]: *** [php_mapscript_util.o] Error 1
> make[1]: Leaving directory `/opt/src/mapserver_3.5/mapscript/php3'
> 
> Regards,
> Carsten Vogt
> 
> At 21.02.2002 13:40 -0500, you wrote:
> >Carsten Vogt wrote:
> >>
> >> I just tried to compile the actual mapserver (MapServer 3.5 (12/18/01),
> >> downloaded from Mapserver Website) on Solaris 8 (Sun OS 5.8, gcc 2.95.3)
> >> with all required libraries installed (at least I think so :-) and
> >> configure with --with-apxs --with-php=/path/to/php/source and get the
> >> following error:
> >>
> >
> >
> >This is probably due to a problem in the mapscript/php3/Makefile.  But
> >in order to suggest a solution we need more information... we would need
> >to see the last command (starting with gcc) that got executed by the
> >Makefile before the error message.
> >
> >
> >--
> >------------------------------------------------------------
> > Daniel Morissette               morissette at dmsolutions.ca
> > DM Solutions Group              http://www.dmsolutions.ca/
> >------------------------------------------------------------
> >  Don't put for tomorrow what you can do today, because if
> >      you enjoy it today you can do it again tomorrow.
> 
> -----------------------------------------------------------
> Dipl.-Geogr. Carsten Vogt
> Tel.: 040 - 81908 - 345
> Fax: 040 - 81908 - 373
> vogt at hamburg.baw.de
> http://nokis.baw.de/
> 
> Bundesanstalt fuer Wasserbau
> - Aussenstelle Kueste -
> Wedeler Landstrasse 157
> DE - 22559 Hamburg
> -----------------------------------------------------------

-- 
V. <v at w.cl>



More information about the mapserver-users mailing list