PDA

View Full Version : php make problem


Naughty
2nd May 2005, 03:17 PM
I try to compile php 4.3.11 on a RHEL 3.0 AS server (Virtuozzo -> Plesk)


/root/php-4.3.11/ext/pcre/php_pcre.c: In function `php_pcre_match':
/root/php-4.3.11/ext/pcre/php_pcre.c:444: `PCRE_INFO_NAMECOUNT' undeclared (first use in this function)
/root/php-4.3.11/ext/pcre/php_pcre.c:444: (Each undeclared identifier is reported only once /root/php-4.3.11/ext/pcre/php_pcre.c:444: for each function it appears in.)
/root/php-4.3.11/ext/pcre/php_pcre.c:452: `PCRE_INFO_NAMETAB
/root/php-4.3.11/ext/pcre/php_pcre.c:453: `PCRE_INFO_NAMEENTRYSIZE' undeclared (first use in this function)
make: *** [ext/pcre/php_pcre.lo] Error 1
[root@xxx php-4.3.11]#


looks like pcre is meshed up somehow.

In the current phpinfo (4.3.2) it shows

PCRE (Perl Compatible Regular Expressions) Support enabled
PCRE Library Version 3.9 02-Jan-2002

Anyone an idea how i can solve this problem so i can update php?

rtwick
3rd May 2005, 11:04 AM
why not use the php rpms from atomicrocketturtle.com?

Naughty
3rd May 2005, 11:57 AM
tnx,

witch do i need, i see multiple php rpms

rtwick
3rd May 2005, 09:56 PM
Originally posted by Naughty
tnx,

witch do i need, i see multiple php rpms

here's what I have installed


php-devel-4.3.11-6.art
php-ldap-4.3.11-6.art
php-mysql-4.3.11-6.art
php-pgsql-4.3.11-6.art
php-4.3.11-6.art
php-domxml-4.3.11-6.art
php-imap-4.3.11-6.art
php-mbstring-4.3.11-6.art
php-mhash-4.3.11-6.art
php-ncurses-4.3.11-6.art
php-pear-4.3.11-6.art
php-xmlrpc-4.3.11-6.art
php-gd-4.3.11-6.art
php-mcrypt-4.3.11-6.art
php-odbc-4.3.11-6.art
php-snmp-4.3.11-6.art

-r'twick