[Mapserver-users] mapserver 4.0b configuration error and php 4.3.2 (regex again)
Daniel Morissette
morissette at dmsolutions.ca
Fri Jul 11 09:28:29 PDT 2003
That's because your PHP is configured --with-apxs. In this case the
--with-regex=system option has no effect.
Also note that using --with-apxs compiles PHP to use as an Apache DSO
and php_mapscript.so requires PHP compiled as a CGI, one more reason to
remove --with-apxs.
Daniel
Pete Schmitt wrote:
>
> 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?
More information about the MapServer-users
mailing list