[mapserver-users] PHP - configuring error with mapserver- 5.0.3

Guillaume Sueur no-reply at neogeo-online.net
Tue Mar 10 06:35:44 EDT 2009


Hi

You probably need the  packages which will include the php headers
needed by mapserver compilation. Sorry, I don't know this package name
for Fedora.

Regards,

Guillaume

kapil manoj a écrit :
> hi all,
> 
> i am a new user , i am using mapserver 5.0.3 on fedora 9...  i am
> struggling in installation  as well as configuration part of mapserver
> in my box. well, come to the point  i am trying to configure php with
> mapserver , but configuration error occured while configuring. I  have
> installed php-5.2.6 through *yum install* in my system.
> 
> The following is the configuration error
> 
> ug 458 or Apache bug 22030).
> Compiling with fast MS_NINT
> checking compiler warnings... basic
> configure: checking whether we should enable debug features...
>         Enabling debug features: -g in CFLAGS.
> *configure: checking for PHP/MapScript module options...*
> *configure: error: Missing or invalid PHP source directory in
> --with-php=DIR.*
> 
> From the error message it is clearly evident that i gave invalid source
> directory, but the following are the php source directories found in my
> system
> 
> /etc/php.d
> /etc/php.ini
> /etc/httpd/conf.d/php.conf
> /etc/php.d/dbase.ini
> /etc/php.d/error_log
> /etc/php.d/gd.ini
> /etc/php.d/json.ini
> /etc/php.d/mapserver.ini
> /etc/php.d/mysql.ini
> /etc/php.d/mysqli.ini
> /etc/php.d/pdo.ini
> /etc/php.d/pdo_mysql.ini
> /etc/php.d/pdo_pgsql.ini
> /etc/php.d/pdo_sqlite.ini
> /etc/php.d/pgsql.ini
> /etc/php.d/zip.ini
> */usr/bin/php*
> /usr/bin/php-cgi
> */usr/lib/php*
> /usr/lib/httpd/modules/
> libphp5.so
> /usr/lib/php/modules
> /usr/lib/php/pear
> /usr/lib/php/modules/dbase.so
> /usr/lib/php/modules/gd.so
> /usr/lib/php/modules/json.so
> /usr/lib/php/modules/mysql.so
> /usr/lib/php/modules/mysqli.so
> /usr/lib/php/modules/pdo.so
> /usr/lib/php/modules/pdo_mysql.so
> /usr/lib/php/modules/pdo_pgsql.so
> /usr/lib/php/modules/pdo_sqlite.so
> /usr/lib/php/modules/pgsql.so
> /usr/lib/php/modules/php_mapscript.so
> /usr/lib/php/modules/phpcups.so
> /usr/lib/php/modules/zip.so
> */usr/share/php*
> /usr/share/doc/php-cli-5.2.6
> /usr/share/doc/php-common-5.2.6
> /usr/share/doc/php-mapserver-5.0.3
> /usr/share/doc/php-cli-5.2.6/README
> /usr/share/doc/php-cli-5.2.6/README.FastCGI
> /usr/share/doc/php-common-5.2.6/CODING_STANDARDS
> /usr/share/doc/php-common-5.2.6/CREDITS
> /usr/share/doc/php-common-5.2.6/EXTENSIONS
> /usr/share/doc/php-common-5.2.6/INSTALL
> /usr/share/doc/php-common-5.2.6/LICENSE
> /usr/share/doc/php-common-5.2.6/NEWS
> /usr/share/doc/php-common-5.2.6/README.EXTENSIONS
> /usr/share/doc/php-common-5.2.6/README.EXT_SKEL
> /usr/share/doc/php-common-5.2.6/README.PARAMETER_PARSING_API
> /usr/share/doc/php-common-5.2.6/README.PHP4-TO-PHP5-THIN-CHANGES
> /usr/share/doc/php-common-5.2.6/README.SELF-CONTAINED-EXTENSIONS
> /usr/share/doc/php-common-5.2.6/README.STREAMS
> /usr/share/doc/php-common-5.2.6/README.SUBMITTING_PATCH
> /usr/share/doc/php-common-5.2.6/README.TESTING
> /usr/share/doc/php-common-5.2.6/README.TESTING2
> /usr/share/doc/php-common-5.2.6/README.UNIX-BUILD-SYSTEM
> /usr/share/doc/php-common-5.2.6/README.UPDATE_5_2
> /usr/share/doc/php-common-5.2.6/README.WIN32-BUILD-SYSTEM
> /usr/share/doc/php-common-5.2.6/README.input_filter
> /usr/share/doc/php-common-5.2.6/TSRM_LICENSE
> /usr/share/doc/php-common-5.2.6/ZEND_CHANGES
> /usr/share/doc/php-common-5.2.6/ZEND_LICENSE
> /usr/share/doc/php-common-5.2.6/gd_README
> /usr/share/doc/php-common-5.2.6/regex_COPYRIGHT
> */var/lib/php*
> /var/lib/php/session
> 
> 
> I tested with all the source directories that i have in my system, but
> the error still remains. i have installed php through YUM INSTALL way ,
> that is a precompiled binaries not an source package..  May be that
> could be a reason to cause this error..  i am not sure....
> 
> so what could be a problem ....  please somebody help me...
> 
> regards
> zizu
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users


More information about the mapserver-users mailing list