[Mapserver-users] MapServer --with-regex=system error

Craig T. Booth boothy at cfl.rr.com
Mon Jun 30 11:45:57 EDT 2003


This is a multi-part message in MIME format.

------=_NextPart_000_0011_01C33EFD.2B5B7D50
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello all,

I've wrestled with my Mapserver install for a couple of days and I think =
I've hit a wall. I have reconfigured and rebuilt PHP with the =
regex=3Dsystem flag but I continue to receive the MapScript error. Any =
suggestions would be greatly appreciated.

Many Thanks,
Craig Booth

configure: error:=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.                      =
        !!!

My PHP 4.2.2 config flags...
./configure --enable-inline-optimization --with-db3 =
--with-png-dir=3D/usr/lib --with-gd-dir=3D/usr/local/lib =
--enable-gd-native-ttf --with-ttf --with-g
dbm --with-gettext --with-jpeg-dir=3D/usr/lib --with-openssl --with-xml =
--with-zlib --with-layout=3DGNU --enable-ftp --enable-magic-quotes =
--enable-saf
e-mode --enable-sockets --enable-track-vars =
--with-pgsql=3D/usr/local/pgsql --enable-dbx --with-regex=3Dsystem

My Mapserver 3.6 config flags...
./configure --with-proj=3D/usr/local  --with-jpeg=3D/usr/lib  =
--with-gdal=3D/usr/local/bin/gdal-config  =
--with-postgis=3D/usr/local/pgsql/bin/pg_config  --
with-php=3D/usr/local/include/php/main --with-tiff-dir=3D/usr/local/lib  =
--with-gd-dir=3D/usr/local/lib  --with-freetype=3D/usr/lib  =
--with-png=3D/usr/lib


------=_NextPart_000_0011_01C33EFD.2B5B7D50
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.1170" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#a0adcb>
<DIV><FONT face=3DArial size=3D2>Hello all,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I've wrestled with my Mapserver install =
for a=20
couple of days and I think I've hit a wall. I have reconfigured and =
rebuilt PHP=20
with the regex=3Dsystem flag but I continue to receive the MapScript =
error. Any=20
suggestions would be greatly appreciated.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Many Thanks,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Craig Booth</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>configure: error: <BR>!!! The current =
version of=20
PHP MapScript has some problems with&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;=20
!!!<BR>!!! PHP4's bundled regex.&nbsp; Until we figure the solution to=20
the&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;=20
&nbsp; !!!<BR>!!! problem, the workaround is to compile PHP4 with the =
system=20
regex&nbsp; !!!<BR>!!! Please re-configure and re-compile PHP4 with=20
--with-regex=3Dsystem&nbsp; &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;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;=20
&nbsp;&nbsp;&nbsp;&nbsp; !!!</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>My PHP 4.2.2&nbsp;config =
flags...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>./configure =
--enable-inline-optimization --with-db3=20
--with-png-dir=3D/usr/lib --with-gd-dir=3D/usr/local/lib =
--enable-gd-native-ttf=20
--with-ttf --with-g<BR>dbm --with-gettext --with-jpeg-dir=3D/usr/lib=20
--with-openssl --with-xml --with-zlib --with-layout=3DGNU --enable-ftp=20
--enable-magic-quotes --enable-saf<BR>e-mode --enable-sockets=20
--enable-track-vars --with-pgsql=3D/usr/local/pgsql --enable-dbx=20
<STRONG>--with-regex=3Dsystem</STRONG></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>My Mapserver 3.6 config =
flags...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>./configure =
--with-proj=3D/usr/local&nbsp;=20
--with-jpeg=3D/usr/lib&nbsp; =
--with-gdal=3D/usr/local/bin/gdal-config&nbsp;=20
--with-postgis=3D/usr/local/pgsql/bin/pg_config&nbsp;=20
--<BR>with-php=3D/usr/local/include/php/main =
--with-tiff-dir=3D/usr/local/lib&nbsp;=20
--with-gd-dir=3D/usr/local/lib&nbsp; --with-freetype=3D/usr/lib&nbsp;=20
--with-png=3D/usr/lib</FONT><FONT face=3DArial size=3D2></DIV>
<DIV><BR></DIV></FONT></BODY></HTML>

------=_NextPart_000_0011_01C33EFD.2B5B7D50--




More information about the mapserver-users mailing list