[Mapserver-users] php regex error

Paul Spencer spencer at dmsolutions.ca
Sat May 17 19:50:23 PDT 2003


try configuring php with --with-regex=system.

Cheers,

Paul

Gerald Buckmaster wrote:

> All Concerned,
> 
> I have seen this same problem exposed in the archives, but haven't seen a 
> solution. First my system:
> 
> Mandrake 9.1
> php 4.3.1 (source)
> mapserver 3.6.5 (source)
> 
> My php configure:
> ./configure --with-system-regex --with-mysql=/usr/local
> 
> My mapserver 3.6.5 configure:
> ./configure --with-jpeg=/usr/local \
> --with-png=/usr/local \
> --with-proj=/usr/local \
> --disable-ignore-missing-data \
> --with-php=/usr/local/src/php-4.3.1 \
> --with-gdal \
> --with-ogr \
> --with-postgis=yes \
> --disable-rxposix-conflict-error
> 
> I get the error during the mapserver 3.6.5 configure process:
> 
> checking whether we have PHP3 or PHP4... -DPHP4
> checking whether we should use PHP's regex... yes
> 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-system-regex  !!!
> !!! and then re-configure and re-compile MapServer.                   !!!
> 
> How do I stop mapserver build from using the PHP regex?  I am using the system 
> regex during the building of PHP, so why am I still getting this configure 
> error?
> 
> Respectfully,
> 
> Gerald Buckmaster
> 
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> 

-- 
Paul Spencer
Applications and Software Development
DM Solutions Group Inc.
http://www.dmsolutions.ca





More information about the MapServer-users mailing list