#25704 [Opn->Bgs]: Configuration issue with regex

From: Date: Thu, 02 Oct 2003 16:01:30 +0000
Subject: #25704 [Opn->Bgs]: Configuration issue with regex
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-48443@lists.php.net to get a copy of this message
ID: 25704 Updated by: sniper@php.net Reported By: stephen dot irven at britishwaterways dot co dot uk -Status: Open +Status: Bogus Bug Type: Regexps related Operating System: Redhat 8 (kernel 2.4.18-27.8.0) PHP Version: 4.3.3 New Comment: That phpmapscript module should be rewritten. (seems like it's written for PHP 3?!) When you build PHP with Apache1/2, it will ALWAYS default to php provided regex otherwise it won't compile. Previous Comments: ------------------------------------------------------------------------ [2003-10-02 11:13:14] stephen dot irven at britishwaterways dot co dot uk Thanks, The SSL build problem is fixed in the latest csv, but the regex configuration issue remains. Is it possible that it's defaulting to the bundled regex as it can't find a correct system regex library (?) I had a trawl through the configure script, and experimented altering it to force it to "system", but got undefined references in browscap.c and reg.c to php_regcomp', php_regexec', php_regfree',php_regerror' which led me to suspect that it's ignoring the system regex option for a reason. cheers, ------------------------------------------------------------------------ [2003-10-01 23:16:22] sniper@php.net Grab the latest snapshot now, the SSL build problem is fixed. ------------------------------------------------------------------------ [2003-10-01 04:56:01] stephen dot irven at britishwaterways dot co dot uk Thanks, I tried using the latest cvs (.tar.gz), but have been unable to get it to compile. Any attempt to make the latest cvs gives a number of undefined references in network.c relating to SSL (see http://experience.british-waterways.com/php4-stable-make.txt ). This is the case even with a minimal ./configure with no options (ie not including openSSL) The same configure lines work perfectly with 4.3.3 ... (corrected zlib entry) Cheers, ------------------------------------------------------------------------ [2003-09-30 14:34:15] sniper@php.net And FYI: --with-zlib-dir=/usr/lib is wrong, it should not contain /lib in it. ------------------------------------------------------------------------ [2003-09-30 14:31:47] sniper@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/25704 -- Edit this bug report at http://bugs.php.net/?id=25704&edit=1

« previous php.bugs (#48443) next »