[Mapserver-users] mapserver 4.0b configuration error and php 4.3.2 (regex again)

Pete Schmitt pete@crrel.usace.army.mil
Fri, 11 Jul 2003 12:09:37 -0400


--------------000608010203080709000803
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

I have php configured with the following:

--with-mysql=/usr --with-apxs=/usr/local/$APACHE/bin/apxs \
--enable-track-vars --enable-dbase --with-oci8=$ORACLE --enable-trans-sid \
--with-regex=system --enable-magic-quotes --with-gd --with-zlib \
--enable-sigchild --with-freetype-dir=/usr --enable-gd-native-ttf

...when I run configure with the following on mapserver-4.0b:

--without-jpeg --with-gd=../gd-2.0.12gif \
        --with-freetype --with-zlib --with-png \
        --with-pdf --without-tiff --without-eppl --with-proj \
        --with-sde=/usr/local --with-sde-version=82 \
        --with-ogr --with-gdal=../gdal-1.1.9/apps/gdal-config \
        --with-oraclespatial=$ORACLE_HOME \
        --with-php=../php-4.3.2/ \
        --with-wmsclient --with-wfsclient \
        --with-wfs --enable-debug

I get this error:

configure: error:
!!! 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=system  !!!
!!! and then re-configure and re-compile MapServer.                   !!!

What am I missing?




--------------000608010203080709000803
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <title></title>
</head>
<body>
I have php configured with the following:<br>
<br>
<tt>--with-mysql=/usr --with-apxs=/usr/local/$APACHE/bin/apxs \<br>
--enable-track-vars --enable-dbase --with-oci8=$ORACLE --enable-trans-sid
\<br>
<b>--with-regex=system </b>--enable-magic-quotes --with-gd --with-zlib \<br>
--enable-sigchild --with-freetype-dir=/usr --enable-gd-native-ttf</tt><br>
<br>
...when I run configure with the following on mapserver-4.0b:<br>
<br>
<tt>--without-jpeg --with-gd=../gd-2.0.12gif \<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; --with-freetype --with-zlib --with-png \<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; --with-pdf --without-tiff --without-eppl --with-proj \<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; --with-sde=/usr/local --with-sde-version=82 \<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; --with-ogr --with-gdal=../gdal-1.1.9/apps/gdal-config \<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; --with-oraclespatial=$ORACLE_HOME \<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <b>--with-php=../php-4.3.2/</b> \<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; --with-wmsclient --with-wfsclient \<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; --with-wfs --enable-debug</tt><br>
<br>
I get this error:<br>
<br>
<b><tt>configure: error: <br>
!!! The current version of PHP MapScript has some problems with&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; !!!<br>
!!! PHP4's bundled regex.&nbsp; Until we figure the solution to the&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; !!!<br>
!!! problem, the workaround is to compile PHP4 with the system regex&nbsp; !!!<br>
!!! Please re-configure and re-compile PHP4 with --with-regex=system&nbsp; !!!<br>
!!! and then re-configure and re-compile MapServer.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; !!!</tt></b><br>
<br>
What am I missing?<br>
<br>
<br>
<br>
</body>
</html>

--------------000608010203080709000803--

_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users