Mapserver Installation: PHP Configuration Problem
Thomas Hammerlund
tom at MAPLINK.JP
Wed Jul 12 20:57:13 PDT 2006
Hi,
I'm trying to install Mapserver on Fedora 5. I'm following this tutorial
http://mapserver.gis.umn.edu/docs/ho...elinuxinstall/ and I made it to the
"Configuring PHP" section, but now I'm stuck. I got the error that is listed
in the tutorial about libpng not found, so I followed the advice at the end
of the tutorial so I changed the ./configure command is this:
./configure --prefix=/usr/local/apache/php --with-apxs2=/usr/local/apache/bin/apxs
--disable-cgi --with-config-file-path-=/usr/local/apache/php --with-openssl
--with-kerberos --with-zlib --with-bz2 --with-curl --enable-db --enable-dbase
--with-gd --with-pgsql --with-xsl --with-gettext --with-regex=system --with-zlib-dir=/usr/lib/
--with-png-dir=/usr/lib --with-ttf --with-freetype-dir=/usr/lib --with-jpeg-dir=/usr/lib
--with-ttf-dir=/usr/lib --with-pgsql=/usr/local/pgsql --with-xpm-dir=/usr/include/X11/xpm.h
--with-X11-dir=/usr/include/X11/
./configure --prefix=/usr/local/apache/php --with-apxs2=/usr/local/apache/bin/apxs
--disable-cgi --with-config-file-path-=/usr/local/apache/php --with-openssl
--with-kerberos --with-zlib --with-bz2 --with-curl --enable-db --enable-dbase
--with-gd --with-pgsql --with-xsl --with-gettext --with-regex=system --with-zlib-dir=/usr/lib/
--with-png-dir=/usr/lib --with-ttf --with-freetype-dir=/usr/lib --with-jpeg-dir=/usr/lib
--with-ttf-dir=/usr/lib --with-pgsql=/usr/local/pgsql
Then it gave me an error that said it couldn't find xpm.h so I added
--with-xpm-dir=/usr/include/X11/xpm.h --with-X11-dir=/usr/include/X11/
because xpm.h is in the path /usr/include/X11/.
But that didn't work either. I tried "man configure" and "configure --help"
to get some ideas, but those didn't work. I tried asking on some Linux
forums but I haven't been able to find an answer. Has anyone had this
problem?
Thank you,
Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060713/6987a526/attachment.htm>
More information about the MapServer-users
mailing list