[Mapserver-users] RH 7.3 & PHP 4.3.1 with regex enabled issue - Mapserver configure

Phillip C. Roberts proberts at gis-help.com
Tue Feb 25 12:53:17 EST 2003


This is a multi-part message in MIME format.

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

I am building a system with RH 7.3, Apache 2.0 and PHP 4.3.1.  I have, =
in compiling my PHP, used --with-regex=3Dsystem.  But, when I compile =
mapserver I continue to get the regex error.....

Here is the output:

checking for location of config.h or php_config.h... =
/usr/include/php/main/php_config.h
checking whether we have PHP3 or PHP4... -DPHP4
checking whether we should use PHP's regex... yes
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-system-regex  =
!!!
!!! and then re-configure and re-compile MapServer.                   =
!!!

Thanking you in advance for your input into this issue...

Phil Roberts



------=_NextPart_000_0088_01C2DCCC.DDB6F7B0
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 5.50.4807.2300" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I am building a system with RH 7.3, =
Apache 2.0 and=20
PHP 4.3.1.&nbsp; I have, in compiling my PHP, used =
--with-regex=3Dsystem.&nbsp;=20
But, when I compile mapserver I continue to get the regex=20
error.....</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Here is the output:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>checking for location of config.h or=20
php_config.h... /usr/include/php/main/php_config.h<BR>checking whether =
we have=20
PHP3 or PHP4... -DPHP4<BR>checking whether we should use PHP's regex...=20
yes<BR>configure: error: <BR>!!! 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-system-regex&nbsp; !!!<BR>!!! and then=20
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
!!!</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanking you in advance for your input =
into this=20
issue...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Phil Roberts</DIV>
<DIV><BR></DIV></FONT></BODY></HTML>

------=_NextPart_000_0088_01C2DCCC.DDB6F7B0--




More information about the mapserver-users mailing list