Re: Problem making on RHEL v3

From: Date: Wed, 01 Sep 2004 17:41:15 +0000
Subject: Re: Problem making on RHEL v3
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-195429@lists.php.net to get a copy of this message
All right, so I did something smart for a change... I went to ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/ and grabbed pcre 4.5 and installed it. My distro has the RPMs for pcre 3.9 installed, so I don't know what the problem was, but I configured PHP --with-pcre-regex=/usr/local after installing pcre 4.5 and everything worked just fine. Ben Ramsey wrote:
Still having the same problem with PCRE. Here's the error I get now: -c /usr/src/php/php_4_3_8/ext/pcre/php_pcre.c -o ext/pcre/php_pcre.lo /usr/src/php/php_4_3_8/ext/pcre/php_pcre.c: In function `php_pcre_match': /usr/src/php/php_4_3_8/ext/pcre/php_pcre.c:413: `PCRE_INFO_NAMECOUNT' undeclared (first use in this function) /usr/src/php/php_4_3_8/ext/pcre/php_pcre.c:413: (Each undeclared identifier is reported only once /usr/src/php/php_4_3_8/ext/pcre/php_pcre.c:413: for each function it appears in.) /usr/src/php/php_4_3_8/ext/pcre/php_pcre.c:415: `PCRE_INFO_NAMETABLE' undeclared (first use in this function) /usr/src/php/php_4_3_8/ext/pcre/php_pcre.c:416: `PCRE_INFO_NAMEENTRYSIZE' undeclared (first use in this function) make: *** [ext/pcre/php_pcre.lo] Error 1 Curt Zirzow wrote:
* Thus wrote Ben Ramsey:
I'm having a problem with PHP 4.3.8 failing to 'make' on a RedHat Enterprise Linux ES v.3 machine. Here's the make error: -o libphp4.la ext/pcre/pcrelib/maketables.lo: file not recognized: File truncated collect2: ld returned 1 exit status make: *** [libphp4.la] Error 1 When I use '--without-pcre-regex --without-pear' it gives me this error
Try doing a 'make clean' then 'make' again.
-- Regards, Ben Ramsey http://benramsey.com --------------------------------------------------- http://www.phpcommunity.org/ Open Source, Open Community Visit for more information or to join the movement. --------------------------------------------------- PGP Key ID: 0x3968B5EE

« previous php.general (#195429) next »