<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-2022-jp">
<META content="MSHTML 6.00.2900.2912" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face="MS UI Gothic" size=2>Hi,<BR><BR>I'm trying to install Mapserver
on Fedora 5. I'm following this tutorial <A
href="http://mapserver.gis.umn.edu/docs/howto/verboselinuxinstall/"
target=_blank><FONT
color=#055093>http://mapserver.gis.umn.edu/docs/ho...elinuxinstall/</FONT></A>
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:</FONT></DIV>
<DIV><FONT face="MS UI Gothic" size=2><BR> </DIV><SPAN id=nointelliTXT>
<DIV style="MARGIN: 5px 20px 20px">./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 </DIV>
<DIV style="MARGIN: 5px 20px 20px"></SPAN><BR>Then it gave me an error that said
it couldn't find xpm.h so I added </DIV>
<DIV style="MARGIN: 5px 20px 20px">--with-xpm-dir=/usr/include/X11/xpm.h
--with-X11-dir=/usr/include/X11/<SPAN id=nointelliTXT></DIV>
<DIV></SPAN>because xpm.h is in the path /usr/include/X11/.<BR><BR>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?<BR><BR>Thank
you,<BR>Tom</FONT></DIV></BODY></HTML>