[Mapserver-users] installation of mapscript

Inna Janssen innaj at web.de
Sat Nov 1 12:16:23 EST 2003


I'm struggling with the installation of MapScript on redhat 7.3:
To have MapScript installed I need to recompile php with the option --with-regex=system
but the make procedure of php stops with the following error:

/root/php-4.3.3/ext/standard/browscap.c:207: undefined reference to `php_regcomp'
/root/php-4.3.3/ext/standard/browscap.c:210: undefined reference to `php_regexec'
/root/php-4.3.3/ext/standard/browscap.c:213: undefined reference to `php_regfree'
ext/standard/reg.o: In function `_php_regcomp':
/root/php-4.3.3/ext/standard/reg.c:47: undefined reference to `php_regcomp'
ext/standard/reg.o: In function `php_reg_eprint':
/root/php-4.3.3/ext/standard/reg.c:119: undefined reference to `php_regerror'
/root/php-4.3.3/ext/standard/reg.c:124: undefined reference to `php_regerror'
/root/php-4.3.3/ext/standard/reg.c:129: undefined reference to `php_regerror'
/root/php-4.3.3/ext/standard/reg.c:142: undefined reference to `php_regerror'
ext/standard/reg.o: In function `php_ereg':
/root/php-4.3.3/ext/standard/reg.c:205: undefined reference to `php_regexec'
ext/standard/reg.o: In function `php_reg_replace':
/root/php-4.3.3/ext/standard/reg.c:306: undefined reference to `php_regexec'
ext/standard/reg.o: In function `php_split':
/root/php-4.3.3/ext/standard/reg.c:558: undefined reference to `php_regexec'
ext/standard/reg.o: In function `_free_reg_cache':
/root/php-4.3.3/ext/standard/reg.c:66: undefined reference to `php_regfree'
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php] Error 1

I use php4.3.3. Without the option with-regex=system php compiles.
I don't find any clue on the web to solve this problem. Can anybody help me?
Is it possible to use an older version of php where I don't need that
option with-regex=system ?

Or can someone provide me the compiled php_mapscript.so for redhat ? Maybe
I'm lucky and it just works?...




______________________________________________________________________________
Horoskop, Comics, VIPs, Wetter, Sport und Lotto im WEB.DE Screensaver1.2
Kostenlos downloaden: http://screensaver.web.de/?mc=021110




More information about the mapserver-users mailing list