configure issues SUSE 9.1

Frank Barrett frank.barrett at UCD.IE
Tue Feb 1 08:37:52 EST 2005


Hello all,

I have a working version of mapserver running on my linux box.
Unfortunately I didnt initially configure mapserver with PHP/Mapscript i.e.
(--with-php).
Now when I try the configure i.e.:
./configure --with gdal=/usr/local/bin/gdal-config --with
ogr=/usr/local/bin/gdal-config --with-gd --with-proj --with-php=/usr/bin

I get the following:

configure: checking for PHP/Mapscript module options...
checking for g++ -shared ... yes
       using 'g++ -shared' for dynamic linking
checking for locations of config.h or php_config.h... configure: error:
!!! Could not fin config.h or php_config.h in /usr/bin.                !!!
!!! Has PHP been configured yet?                                      !!!

I have php 4.3.4 running on my machine which was installed sucessfully
using the suse 9.1 distro. The config.h/php_config.h files do not appear to
be on my system (i.e. I have no joy following a search)? I have given the
path to the /usr/bin i.e. the path to the location of the php executable
file. I see from the mapserver wiki site i.e. at
http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?RedHat9AndMapserver40 that the
user downloaded and installed a second version of php 4.3.4. Specifically
for(?) mapserver. Is this really necessary? Or can any users suggest a
workaround so something so I can get PHP/Mapscript up and working.

Thanks in advance for you time.

Frank.



More information about the mapserver-users mailing list