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

Pericles S. Nacionales nacional at cbs.umn.edu
Fri Jul 11 12:22:20 EDT 2003


Pete,

Remove "--with-apxs=/usr/local/$APACHE/bin/apxs" when you configure php
and try again.  You'll need php compiled as cgi to work with MapServer.

-Perry

On Fri, 2003-07-11 at 11:09, 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?
> 
-- 
Pericles S. Nacionales <nacional at cbs.umn.edu>
University of Minnesota



More information about the mapserver-users mailing list