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:

Here's a search for those variable names: PCRE_INFO_NAMETABLE|
PCRE_INFO_NAMEENTRYSIZE| PCRE_INFO_NAMECOUNT

/root/php-4.4.0

[ php-4.4.0]# find . -print | grep \.h$ | xargs egrep -H
'PCRE_INFO_NAMETABLE|PCRE_INFO_NAMEENTRYSIZE|PCRE_INFO_NAMECOUNT'
./ext/pcre/pcrelib/pcre.h:#define PCRE_INFO_NAMEENTRYSIZE      7
./ext/pcre/pcrelib/pcre.h:#define PCRE_INFO_NAMECOUNT          8
./ext/pcre/pcrelib/pcre.h:#define PCRE_INFO_NAMETABLE          9
[ php-4.4.0]# find . -print | grep pcre | grep \.h$
./ext/pcre/php_pcre.h
./ext/pcre/pcrelib/internal.h
./ext/pcre/pcrelib/pcreposix.h
./ext/pcre/pcrelib/ucp.h
./ext/pcre/pcrelib/pcre.h
./ext/pcre/pcrelib/ucpinternal.h
[php-4.4.0]#


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

[2005-10-20 19:33:53] [EMAIL PROTECTED]

Are you sure your pcre.h contains those defines ?

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

[2005-10-20 16:44:38] davidgregorymail at yahoo dot com

Hi,

It's the standard red hat enterprise 3 update 6 packages.  Here's the
info from the rpm database on packages

pcre-devel-3.9-10.2
pcre-3.9-10.2


 
Name        : pcre                         Relocations: /usr
Version     : 3.9                               Vendor: Red Hat, Inc.
Release     : 10.2                          Build Date: Fri 19 Aug 2005
08:12:36 AM CDT
Install Date: Tue 04 Oct 2005 08:04:37 AM CDT      Build Host:
porky.build.redhat.com
Group       : System Environment/Libraries   Source RPM:
pcre-3.9-10.2.src.rpm
Size        : 78452                            License: GPL
Signature   : DSA/SHA1, Tue 30 Aug 2005 12:25:15 PM CDT, Key ID
219180cddb42a60e
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL         : http://www.pcre.org/
Summary     : Perl-compatible regular expression library.
Description :
Perl-compatible regular expression library. PCRE has its own native
API, but a set of "wrapper" functions that are based on the POSIX API
are also supplied in the library libpcreposix. Note that this just
provides a POSIX calling interface to PCRE; the regular expressions
themselves still follow Perl syntax and semantics. The header file for
the POSIX-style functions is called pcreposix.h.
/lib/libpcre.so.0
/lib/libpcre.so.0.0.1
/usr/bin/pcregrep
/usr/bin/pcretest
/usr/lib/libpcreposix.so.0
/usr/lib/libpcreposix.so.0.0.0
/usr/share/man/man1/pcregrep.1.gz
/usr/share/man/man1/pcretest.1.gz




Name        : pcre-devel                   Relocations: /usr
Version     : 3.9                               Vendor: Red Hat, Inc.
Release     : 10.2                          Build Date: Fri 19 Aug 2005
08:12:36 AM CDT
Install Date: Tue 04 Oct 2005 08:45:48 AM CDT      Build Host:
porky.build.redhat.com
Group       : Development/Libraries         Source RPM:
pcre-3.9-10.2.src.rpm
Size        : 85594                            License: GPL
Signature   : DSA/SHA1, Tue 30 Aug 2005 12:25:15 PM CDT, Key ID
219180cddb42a60e
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL         : http://www.pcre.org/
Summary     : Development files for pcre.
Description :
Development files (Headers, libraries for static linking, etc) for
pcre.
/usr/bin/pcre-config
/usr/include/pcre
/usr/include/pcre/pcre.h
/usr/include/pcre/pcreposix.h
/usr/lib/libpcre.a
/usr/lib/libpcre.so
/usr/lib/libpcreposix.a
/usr/lib/libpcreposix.so
/usr/share/man/man3/pcre.3.gz
/usr/share/man/man3/pcreposix.3.gz

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

[2005-10-20 00:21:37] [EMAIL PROTECTED]

What version of PCRE do you have in your system ?
Are you sure your pcre.h contains those defines ?

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

[2005-10-20 00:12:43] davidgregorymail at yahoo dot com

Ok... Here's the ./configure '--with-pcre-regex=/usr'
...

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/include/pcre
-I/root/php-4.4.0/ext/xml/expat -I/root/php-4.4.0/TSRM
-I/root/php-4.4.0/Zend    -g -O2  -c
/root/php-4.4.0/ext/pcre/php_pcre.c -o ext/pcre/php_pcre.o  && echo >
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]#

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

[2005-10-20 00:07:57] davidgregorymail at yahoo dot com

/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]#

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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/34921

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

Reply via email to