[Mapserver-users] 4.0.1 compile problem with php 4.3.4

Aaron D. Hunt hunt at zedxinc.com
Wed Nov 12 10:07:10 EST 2003


This is a multi-part message in MIME format.

------=_NextPart_000_08D8_01C3A904.BC8768E0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

When I try to configure mapserver with php I get the error bellow about =
--with-regex=3Dsystem  when my php is configured with it. Am I missing =
something?



I have php configured with './configure' '--with-mysql' '--with-dbase' =
'--with-gd' '--with-system-regex' '--with-zlib' '--with-expat' =
'--with-xml'=20

mapserver configure with=20
./configure --without-tiff --with-proj=3D/home/mapserver/ =
--with-gdal=3D/home/mapserver/bin/gdal-config =
--with-ogr=3D/home/mapserver/gdal-1.1.9 --with-jpeg --with-wmsclient =
--with-freetype=3D/home/mapserver/ --with-gd=3D/home/mapserver/ =
--with-php=3D/usr/local/src/php-4.3.4/ =
--with-curl-config=3D/home/mapserver/bin/curl-config =
--with-ming=3D/home/mapserver/ming-0.2a

I get=20
!!! The current version of PHP MapScript has some problems with       =
!!!
!!! PHP4's bundled regex.  Until we figure the solution to the        =
!!!
!!! problem, the workaround is to compile PHP4 with the system regex  =
!!!
!!! Please re-configure and re-compile PHP4 with --with-regex=3Dsystem  =
!!!
!!! and then re-configure and re-compile MapServer.                   =
!!!



Aaron D. Hunt
Technical Manager
ZedX Inc.

------=_NextPart_000_08D8_01C3A904.BC8768E0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1264" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>When I try to configure mapserver with =
php I get=20
the error bellow about --with-regex=3Dsystem&nbsp;&nbsp;when my php is =
configured=20
with it. Am I missing something?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I have php configured with =
'./configure'=20
'--with-mysql' '--with-dbase' '--with-gd' '--with-system-regex' =
'--with-zlib'=20
'--with-expat' '--with-xml' </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>mapserver configure&nbsp;with =
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>./configure --without-tiff=20
--with-proj=3D/home/mapserver/ =
--with-gdal=3D/home/mapserver/bin/gdal-config=20
--with-ogr=3D/home/mapserver/gdal-1.1.9 --with-jpeg --with-wmsclient=20
--with-freetype=3D/home/mapserver/ --with-gd=3D/home/mapserver/=20
--with-php=3D/usr/local/src/php-4.3.4/=20
--with-curl-config=3D/home/mapserver/bin/curl-config=20
--with-ming=3D/home/mapserver/ming-0.2a</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I get </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>!!! The current version of PHP =
MapScript has some=20
problems with&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; !!!<BR>!!! PHP4's =
bundled=20
regex.&nbsp; Until we figure the solution to=20
the&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; !!!<BR>!!! problem, the =
workaround=20
is to compile PHP4 with the system regex&nbsp; !!!<BR>!!! Please =
re-configure=20
and re-compile PHP4 with --with-regex=3Dsystem&nbsp; !!!<BR>!!! and then =

re-configure and re-compile=20
MapServer.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
!!!<BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;</DIV></FONT>
<DIV><FONT face=3DArial size=3D2>Aaron D. Hunt<BR>Technical =
Manager<BR>ZedX=20
Inc.<BR></FONT></DIV></BODY></HTML>

------=_NextPart_000_08D8_01C3A904.BC8768E0--




More information about the mapserver-users mailing list