<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4807.2300" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=940425614-12092001><FONT face=Arial size=2>First of all I would
like to express my sympathy for the american people during these terrible
times.</FONT></SPAN></DIV>
<DIV><SPAN class=940425614-12092001><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=940425614-12092001><FONT face=Arial size=2>I realize that
my little problems have no significance at all in respect to what is going on in
the US right now.</FONT></SPAN></DIV>
<DIV><SPAN class=940425614-12092001><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=940425614-12092001><FONT face=Arial size=2>Bart van
Heijningen</FONT></SPAN></DIV>
<DIV><SPAN class=940425614-12092001><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=940425614-12092001><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=940425614-12092001><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=940425614-12092001><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=940425614-12092001><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=940425614-12092001><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=940425614-12092001><FONT face=Arial size=2>Maybe if one has
some time please look at this for a sec.</FONT></SPAN></DIV>
<DIV><SPAN class=940425614-12092001><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=940425614-12092001><FONT face=Arial size=2>I just cannot get
the mapserver php interface compiled.</FONT></SPAN></DIV>
<DIV><SPAN class=940425614-12092001><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=940425614-12092001><FONT face=Arial size=2>I
use:</FONT></SPAN></DIV>
<DIV><SPAN class=940425614-12092001><FONT face=Arial size=2>Mapserver
3.4</FONT></SPAN></DIV>
<DIV><SPAN class=940425614-12092001><FONT face=Arial size=2>GD
1.2</FONT></SPAN></DIV>
<DIV><SPAN class=940425614-12092001><FONT face=Arial size=2>RH
7.0</FONT></SPAN></DIV>
<DIV><SPAN class=940425614-12092001><FONT face=Arial size=2>php
3.0.18</FONT></SPAN></DIV>
<DIV><SPAN class=940425614-12092001><FONT face=Arial size=2>Apache
1.3.19</FONT></SPAN></DIV>
<DIV><SPAN class=940425614-12092001><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=940425614-12092001><FONT face=Arial size=2>I "use" the hints
described in the document PHP/MapScript compile and install on RedHat
6.x</FONT></SPAN></DIV>
<DIV><SPAN class=940425614-12092001><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=940425614-12092001><FONT face=Arial size=2>I have Php working
witha Apache just fine. (I downgraded to php3 as I got error messages
complaining about the version of my php4)</FONT></SPAN></DIV>
<DIV><SPAN class=940425614-12092001><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=940425614-12092001><FONT face=Arial size=2>I use
</FONT></SPAN></DIV>
<DIV><SPAN class=940425614-12092001><FONT face=Arial size=2>./configure
--with-gd=gd-1.2 --without-ttf --with-php=../php-3.0.18
--with-apxs</FONT></SPAN></DIV>
<DIV><SPAN class=940425614-12092001><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=940425614-12092001><FONT face=Arial size=2>All the time results
in a php error mesg saying:</FONT></SPAN></DIV>
<DIV><SPAN class=940425614-12092001><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=940425614-12092001><FONT face=Arial size=2>--cut
--</FONT></SPAN></DIV>
<DIV><SPAN class=940425614-12092001><FONT face=Arial
size=2>--------------------------------------</FONT></SPAN></DIV>
<DIV><SPAN class=940425614-12092001><FONT face=Arial
size=2>-------- important !!!
-------</FONT></SPAN></DIV>
<DIV><SPAN class=940425614-12092001><SPAN class=940425614-12092001><FONT
face=Arial
size=2>--------------------------------------</FONT></SPAN></SPAN></DIV>
<DIV><SPAN class=940425614-12092001><SPAN class=940425614-12092001><FONT
face=Arial size=2></FONT></SPAN></SPAN> </DIV>
<DIV><SPAN class=940425614-12092001><SPAN class=940425614-12092001><FONT
face=Arial size=2>To use PHP extentions on your OS, you will have tio recompile
PHP.</FONT></SPAN></SPAN></DIV>
<DIV><SPAN class=940425614-12092001><SPAN class=940425614-12092001><FONT
face=Arial size=2>You need to edit the Makefile with in the php3 directory and
add -"to the start of the LDFLAGS line at the top of the
makefile"</FONT></SPAN></SPAN></DIV><SPAN class=940425614-12092001><SPAN
class=940425614-12092001>
<DIV><BR><FONT face=Arial size=2>-des-Doptimze=-02 -march=i386 -mcpu=i386
-Dcc=gcc _Dcccdlflags=-fPIC -Dinstalprefix=/usr -Dprefix=/usr
-Darchname=i386-linux -Dd_dosuid -Dd_semctl_semun -Di_db -Di_ndbm -Di_gdbm
-Di_shadow -Di_syslog -Dman3ext=3pm -Uuselargefiles -rdynamic<BR></FONT></DIV>
<DIV><SPAN class=940425614-12092001><FONT face=Arial
size=2>--cut--</FONT></SPAN></DIV>
<DIV><SPAN class=940425614-12092001><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=940425614-12092001><FONT face=Arial size=2>I put this in the
Configuration.tmpl file as suggested as I use the APACI built
mechanism</FONT></SPAN></DIV>
<DIV><SPAN class=940425614-12092001><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=940425614-12092001><FONT face=Arial size=2>But... this changes
nothing the same erroro occurs and the ./configure ends with</FONT></SPAN></DIV>
<DIV><SPAN class=940425614-12092001><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=940425614-12092001><FONT face=Arial size=2>-- cut
--</FONT></SPAN></DIV>
<DIV><SPAN class=940425614-12092001><FONT face=Arial size=2>creating
Makefile</FONT></SPAN></DIV>
<DIV><SPAN class=940425614-12092001><FONT face=Arial size=2>sed: file
conftest.s1 line 74: undeterminated 's' command</FONT></SPAN></DIV>
<DIV><SPAN class=940425614-12092001><FONT face=Arial size=2>creating
gdft/Makefile</FONT></SPAN></DIV>
<DIV><SPAN class=940425614-12092001><FONT face=Arial size=2><SPAN
class=940425614-12092001><FONT face=Arial size=2>sed: file conftest.s1 line 74:
undeterminated 's' command</FONT></SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=940425614-12092001><FONT face=Arial size=2><SPAN
class=940425614-12092001>creating
mapscript/php3/Makefile</SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=940425614-12092001><FONT face=Arial size=2><SPAN
class=940425614-12092001><SPAN class=940425614-12092001><FONT face=Arial
size=2>sed: file conftest.s1 line 74: undeterminated 's'
command</FONT></SPAN></SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=940425614-12092001><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=940425614-12092001><FONT face=Arial size=2>-- cut
--</FONT></SPAN></DIV>
<DIV><SPAN class=940425614-12092001><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=940425614-12092001><FONT face=Arial size=2>Then I do a make and
the result is:</FONT></SPAN></DIV>
<DIV><SPAN class=940425614-12092001><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=940425614-12092001><FONT face=Arial size=2>-- cut
--</FONT></SPAN></DIV>
<DIV><SPAN class=940425614-12092001><FONT face=Arial size=2>make: ** No targets.
Stop.</FONT></SPAN></DIV>
<DIV><SPAN class=940425614-12092001><FONT face=Arial size=2>-- cut
--</FONT></SPAN></DIV>
<DIV><SPAN class=940425614-12092001><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=940425614-12092001><FONT face=Arial size=2>I tried quite some
things but I am treall stuck now for a fe weeks
</FONT></SPAN></DIV></SPAN></SPAN></BODY></HTML>