[Mapserver-users] Installation problem
Daniel Morissette
dmorissette@dmsolutions.ca
Tue, 11 May 2004 11:43:12 -0400
Andrea Rossi wrote:
> Hello.
> I am trying to install Mapserver-4.0.2 in a PC with
> this settings:
> Redhat 9
> Postgresql 7.3.4
> Postgis
> php 4.3.5
>
> When i do configure everytng is OK but when I do the
> make command I have this errors with php.
>
> What could be the problem?
>
> Thank you.
>
> cd mapscript/php3; make; cd ../..
> make[1]: Entering directory
> `/usr/local/src/mapserver-4.0.2/mapscript/php3'
> gcc -fPIC -O2 -Wall -DCOMPILE_DL=1 -DPHP4
> -DUSE_WMS_SVR -DUSE_POSTGIS -DUSE_GDAL -DUSE_OGR
> -DUSE_THREAD -DUSE_PROJ -DUSE_PROJ_API_H -DUSE_PDF
> -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT
> -DUSE_JPEG -I/usr/local/src/mapserver-4.0.2
> -I/usr/include -I/usr/local/include
> -I/usr/local/include -I/usr/local/include
> -I/usr/local/include/php/main
> -I/usr/local/include/php/main/dl
> -I/usr/local/include/php/main/main
> -I/usr/local/include/php/main/Zend
> -I/usr/local/include/php/main/include
> -I/usr/local/include/php/main/TSRM -c -o
> php_mapscript_util.o php_mapscript_util.c
> In file included from php_mapscript_util.h:58,
> from php_mapscript_util.c:101:
> /usr/local/include/php/main/php.h:34:18: zend.h: No
> such file or directory
Did you use --with-php=/usr/local/include/php/main/ in the configure
command?
Try using --with-php=/usr/local, that should work with v4.0.2 and 4.2
If you could please file a bug in the MapServer bugzilla with the exact
configure command that you used, and information about the location of
your installed PHP then we could fix the configure script to make it
more robust and prevent that case from happening.
Daniel
--
------------------------------------------------------------
Daniel Morissette dmorissette@dmsolutions.ca
DM Solutions Group http://www.dmsolutions.ca/
------------------------------------------------------------
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users