Bug #888: Can't compile with use-system-regex=yes

From: Date: Sun, 01 Nov 1998 17:54:27 +0000
Subject: Bug #888: Can't compile with use-system-regex=yes
Groups: php.dev 
Request: Send a blank email to php-dev+get-2107@lists.php.net to get a copy of this message
From: afan@jeonet.com Operating system: RH Linux, 2.0.32, i686, glibc-2.0.7-7 PHP version: 3.0.5 PHP Bug Type: Compile Failure Bug description: Can't compile with use-system-regex=yes Trying to use the system regex instead of the one included with php fails with errors such as In file included from ../apache_1.3.3/src/include/ap_config.h:952, from php.h:183, from language-parser.y:56: ../apache_1.3.3/src/include/hsregex.h:25: conflicting types for `regoff_t' /usr/include/regex.h:390: previous declaration of `regoff_t' ../apache_1.3.3/src/include/hsregex.h:31: conflicting types for `regex_t' /usr/include/regex.h:387: previous declaration of `regex_t' ../apache_1.3.3/src/include/hsregex.h:35: conflicting types for `regmatch_t' /usr/include/regex.h:418: previous declaration of `regmatch_t' ../apache_1.3.3/src/include/hsregex.h:39: conflicting types for `regcomp' /usr/include/regex.h:513: previous declaration of `regcomp' ../apache_1.3.3/src/include/hsregex.h:69: conflicting types for `regerror' /usr/include/regex.h:519: previous declaration of `regerror' ../apache_1.3.3/src/include/hsregex.h:73: conflicting types for `regexec' /usr/include/regex.h:516: previous declaration of `regexec' ../apache_1.3.3/src/include/hsregex.h:83: conflicting types for `regfree' /usr/include/regex.h:520: previous declaration of `regfree' make: *** [language-parser.tab.o] Error 1 --------------- CONFIGURE SCRIPT ./configure --with-apache=../apache_1.3.3 --with-gd=/usr/local/include --with-msql=/usr/local/mSQL --with-zlib=/usr/include --with-system-regex=yes ----------------- Relevent Lines from config.h #define REGEX 0 #define HSREGEX 0 ------------------ Other information: It compiled fine with Slackware Linux 2.0.30, and PHP 3.0.3 Correct me if I am wrong, but shouldn't it not be using the apache regex files if #define HSREGEX=0 ? -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#2107) next »