ID:               34921
 User updated by:  davidgregorymail at yahoo dot com
 Reported By:      davidgregorymail at yahoo dot com
-Status:           Feedback
+Status:           Open
 Bug Type:         PCRE related
 Operating System: Red Hat Enterprise 3 AS Update 6
 PHP Version:      4.4.0
 New Comment:

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


Previous Comments:
------------------------------------------------------------------------

[2005-10-20 00:07:04] [EMAIL PROTECTED]

Now remove all this stuff except for the one option:
'--with-pcre-regex=/usr'
And try again.
Also, tell me where exactly your pcre.h is and what error do you get.

------------------------------------------------------------------------

[2005-10-20 00:02:32] davidgregorymail at yahoo dot com

./configure '--host=i386-redhat-linux' '--build=i386-redhat-linux'
'--target=i386-redhat-linux-gnu' '--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-pgsql=shared'
'--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'

------------------------------------------------------------------------

[2005-10-19 23:45:55] [EMAIL PROTECTED]

It is in ext/pcre/php_pcre.h.
What error do you get and how exactly did you ./configure your build ?

------------------------------------------------------------------------

[2005-10-19 23:34:42] davidgregorymail at yahoo dot com

Description:
------------
Hello,

Simple Compilation Error for pcre.

#include "pcrelib/pcre.h" missing from php-4.4.0/ext/pcre/php_pcre.c

Insert include and compilation works...

Sincerely,
Dave Gregory



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=34921&edit=1

Reply via email to