[Mapserver-users] RH8 Mapserver4(3.7) compilation --with-regex=system error
Bart van Heijningen
bart at atsence.nl
Tue Jun 17 12:35:13 PDT 2003
Hi all,
I followed the following link for compiling Mapserver37 on Redat8
http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?RedHat8AndMapserver37
Altough I clearly copiled php with the --with-regex=system flag set (it
is also listed in phpinfo()!! ) i keeps giving the following error
mesg.:
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-regex=system
!!!
!!! and then re-configure and re-compile MapServer.
!!!
PHP-4.3.1 is compiled with:
/configure --enable-shared --with-regex=system --with-gd=/usr/local
--with-ttf=/usr --enable-gd-native-ttf --with-jpeg-dir=/usr
--with-png-dir=/usr --with-zlib --enable-force-cgi-redirect
--enable-dbase --with-config-file-path
I use for mapserver:
./configure --without-tiff --without-eppl --with-threads --with-proj
--with-php=/r
oot/php-4.3.1 --with-gd --with-png --with-w3c-libwww
--with-freetype=/usr/bin --with-pdf --
with-ogr --with-gdal --with-ming --with-wfs --with-wfs-client
>
> Everything works fine until I try to test the installation with phpinfo(). I got the following error message:
>
> Warning: Unexpected character in input: '' (ASCII=15) state=1 in /var/www/cgi-bin/php on line 3325
> Warning: Unexpected character in input: '' (ASCII=2) state=1 in /var/www/cgi-bin/php on line 3325
> Warning: Unexpected character in input: ' in /var/www/cgi-bin/php on line 3325
> Warning: Unexpected character in input: ' in /var/www/cgi-bin/php on line 3325
> Warning: Unexpected character in input: '' (ASCII=15) state=1 in /var/www/cgi-bin/php on line 3325
> Parse error: parse error in /var/www/cgi-bin/php on line 3325
>
> Is it a known issue or I mistaken somewhere.
> I am using redhat 9 and apache 2.0.40, mapserver 3.6.6 and PHP 4.3.2
>
> Christian
More information about the MapServer-users
mailing list