I'm trying to compile php 4.4.2...

As soon as the compiling starts I get this error:

[EMAIL PROTECTED] php-4.4.2]# make
/bin/sh /root/php-4.4.2/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/openssl/ -I/root/php-4.4.2/ext/openssl/ -DPHP_ATOM_INC -I/root/php-4.4.2/include -I/root/php-4.4.2/main -I/root/php-4.4.2 -I/usr/kerberos/include -I/usr/include/pcre -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/imap -I/root/php-4.4.2/ext/mbstring/mbregex -I/root/php-4.4.2/ext/mbstring/libmbfl -I/root/php-4.4.2/ext/mbstring/libmbfl/mbfl -I/usr/include/mysql -I/usr/include/ncurses -I/usr/include/pspell -I/root/php-4.4.2/TSRM -I/root/php-4.4.2/Zend -g -O2 -prefer-non-pic -c /root/php-4.4.2/ext/openssl/openssl.c -o ext/openssl/openssl.lo /bin/sh /root/php-4.4.2/libtool --silent --preserve-dup-deps --mode=compile gcc -DEXPORT= -DNEWLINE=10 -DSUPPORT_UTF8 -DSUPPORT_UCP -DLINK_SIZE=2 -DPOSIX_MALLOC_THRESHOLD=10 -DMATCH_LIMIT=10000000 -Iext/pcre/ -I/root/php-4.4.2/ext/pcre/ -DPHP_ATOM_INC -I/root/php-4.4.2/include -I/root/php-4.4.2/main -I/root/php-4.4.2 -I/usr/kerberos/include -I/usr/include/pcre -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/imap -I/root/php-4.4.2/ext/mbstring/mbregex -I/root/php-4.4.2/ext/mbstring/libmbfl -I/root/php-4.4.2/ext/mbstring/libmbfl/mbfl -I/usr/include/mysql -I/usr/include/ncurses -I/usr/include/pspell -I/root/php-4.4.2/TSRM -I/root/php-4.4.2/Zend -g -O2 -prefer-non-pic -c /root/php-4.4.2/ext/pcre/php_pcre.c -o ext/pcre/php_pcre.lo
/root/php-4.4.2/ext/pcre/php_pcre.c: In function `php_pcre_match':
/root/php-4.4.2/ext/pcre/php_pcre.c:452: `PCRE_INFO_NAMECOUNT' undeclared (first use in this function) /root/php-4.4.2/ext/pcre/php_pcre.c:452: (Each undeclared identifier is reported only once
/root/php-4.4.2/ext/pcre/php_pcre.c:452: for each function it appears in.)
/root/php-4.4.2/ext/pcre/php_pcre.c:460: `PCRE_INFO_NAMETABLE' undeclared (first use in this function) /root/php-4.4.2/ext/pcre/php_pcre.c:461: `PCRE_INFO_NAMEENTRYSIZE' undeclared (first use in this function)
make: *** [ext/pcre/php_pcre.lo] Error 1


To provide more informations, I'm using this configuration:

../configure --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --cache-file=../config.cache --with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d --enable-force-cgi-redirect --disable-debug --enable-pic --disable-rpath --enable-inline-optimization --with-bz2 --with-db4=/usr --with-curl --with-dom=/usr --with-exec-dir=/usr/bin --with-freetype-dir=/usr --with-png-dir=/usr --with-gd --enable-gd-native-ttf --with-ttf --with-gettext --with-ncurses --with-gmp --with-iconv --with-jpeg-dir=/usr --with-openssl --with-png --with-pspell --with-regex=system --with-xml --with-expat-dir=/usr --with-pcre-regex=/usr --with-zlib --with-layout=GNU --enable-bcmath --enable-exif --enable-ftp --enable-magic-quotes --enable-safe-mode --enable-sockets --enable-sysvsem --enable-sysvshm --enable-discard-path --enable-track-vars --enable-trans-sid --enable-yp --enable-wddx --enable-mbstring --enable-mbstr-enc-trans --enable-mbregex --with-pear=/usr/share/pear --with-imap=shared --with-imap-ssl --with-kerberos=/usr/kerberos --with-ldap=shared --with-mysql=shared,/usr --with-unixODBC=shared --enable-memory-limit --enable-bcmath --enable-shmop --enable-versioning --enable-calendar --enable-dbx --enable-dio --enable-mcal --with-apxs2filter=/usr/sbin/apxs

Any help is very much appreciated.

Thanks  

Reply via email to