[Mapserver-users] Installation problem

Andrea Rossi il_vikingo at yahoo.com
Wed May 12 09:23:42 EDT 2004


If I try you solution I  get this message:

checking for location of config.h or php_config.h...
configure: error:
!!! Could not find config.h or php_config.h in
/usr/local.          !!!
!!! Has PHP been configured yet?                      
               !!!


--- Daniel Morissette <dmorissette at dmsolutions.ca>
wrote:
> 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 at dmsolutions.ca
>   DM Solutions Group             
> http://www.dmsolutions.ca/
>
------------------------------------------------------------
> 



	
		
__________________________________
Do you Yahoo!?
Yahoo! Movies - Buy advance tickets for 'Shrek 2'
http://movies.yahoo.com/showtimes/movie?mid=1808405861 



More information about the mapserver-users mailing list