[oden@lnx001 php-pcre-5.2.0]$ make
/bin/sh /home/oden/RPM/BUILD/php-pcre-5.2.0/libtool --mode=compile gcc -DEXPORT= -DNEWLINE=10 -DSUPPORT_UTF8 -DSUPPORT_UCP -DLINK_SIZE=2 -DPOSIX_MALLOC_THRESHOLD=10 -DMATCH_LIMIT=10000000 -DMATCH_LIMIT_RECURSION=10000000 -DMAX_NAME_SIZE=32 -DMAX_NAME_COUNT=10000 -DMAX_DUPLENGTH=30000 -I. -I/home/oden/RPM/BUILD/php-pcre-5.2.0 -DPHP_ATOM_INC -I/home/oden/RPM/BUILD/php-pcre-5.2.0/include -I/home/oden/RPM/BUILD/php-pcre-5.2.0/main -I/home/oden/RPM/BUILD/php-pcre-5.2.0 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -pipe -Wp,-D_FORTIFY_SOURCE=2 -c /home/oden/RPM/BUILD/php-pcre-5.2.0/php_pcre.c -o php_pcre.lo
mkdir .libs
gcc -DEXPORT= -DNEWLINE=10 -DSUPPORT_UTF8 -DSUPPORT_UCP -DLINK_SIZE=2 -DPOSIX_MALLOC_THRESHOLD=10 -DMATCH_LIMIT=10000000 -DMATCH_LIMIT_RECURSION=10000000 -DMAX_NAME_SIZE=32 -DMAX_NAME_COUNT=10000 -DMAX_DUPLENGTH=30000 -I. -I/home/oden/RPM/BUILD/php-pcre-5.2.0 -DPHP_ATOM_INC -I/home/oden/RPM/BUILD/php-pcre-5.2.0/include -I/home/oden/RPM/BUILD/php-pcre-5.2.0/main -I/home/oden/RPM/BUILD/php-pcre-5.2.0 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -pipe -Wp,-D_FORTIFY_SOURCE=2 -c /home/oden/RPM/BUILD/php-pcre-5.2.0/php_pcre.c -fPIC -DPIC -o .libs/php_pcre.o
/home/oden/RPM/BUILD/php-pcre-5.2.0/php_pcre.c: In function 'pcre_handle_exec_error':
/home/oden/RPM/BUILD/php-pcre-5.2.0/php_pcre.c:71: error: 'PCRE_ERROR_RECURSIONLIMIT' undeclared (first use in this function)
/home/oden/RPM/BUILD/php-pcre-5.2.0/php_pcre.c:71: error: (Each undeclared identifier is reported only once
/home/oden/RPM/BUILD/php-pcre-5.2.0/php_pcre.c:71: error: for each function it appears in.)
/home/oden/RPM/BUILD/php-pcre-5.2.0/php_pcre.c: In function 'pcre_get_compiled_regex_cache':
/home/oden/RPM/BUILD/php-pcre-5.2.0/php_pcre.c:345: error: 'PCRE_EXTRA_MATCH_LIMIT_RECURSION' undeclared (first use in this function)
/home/oden/RPM/BUILD/php-pcre-5.2.0/php_pcre.c: In function 'php_pcre_match_impl':
/home/oden/RPM/BUILD/php-pcre-5.2.0/php_pcre.c:525: error: 'PCRE_EXTRA_MATCH_LIMIT_RECURSION' undeclared (first use in this function)
/home/oden/RPM/BUILD/php-pcre-5.2.0/php_pcre.c:529: error: 'struct pcre_extra' has no member named 'match_limit_recursion'
/home/oden/RPM/BUILD/php-pcre-5.2.0/php_pcre.c: In function 'php_pcre_replace_impl':
/home/oden/RPM/BUILD/php-pcre-5.2.0/php_pcre.c:965: error: 'PCRE_EXTRA_MATCH_LIMIT_RECURSION' undeclared (first use in this function)
/home/oden/RPM/BUILD/php-pcre-5.2.0/php_pcre.c:969: error: 'struct pcre_extra' has no member named 'match_limit_recursion'
/home/oden/RPM/BUILD/php-pcre-5.2.0/php_pcre.c: In function 'php_pcre_split_impl':
/home/oden/RPM/BUILD/php-pcre-5.2.0/php_pcre.c:1408: error: 'PCRE_EXTRA_MATCH_LIMIT_RECURSION' undeclared (first use in this function)
/home/oden/RPM/BUILD/php-pcre-5.2.0/php_pcre.c:1412: error: 'struct pcre_extra' has no member named 'match_limit_recursion'
/home/oden/RPM/BUILD/php-pcre-5.2.0/php_pcre.c: In function 'php_pcre_grep_impl':
/home/oden/RPM/BUILD/php-pcre-5.2.0/php_pcre.c:1673: error: 'PCRE_EXTRA_MATCH_LIMIT_RECURSION' undeclared (first use in this function)
/home/oden/RPM/BUILD/php-pcre-5.2.0/php_pcre.c:1677: error: 'struct pcre_extra' has no member named 'match_limit_recursion'
make: *** [php_pcre.lo] Error 1
[oden@lnx001 php-pcre-5.2.0]$ make CPPFLAGS="-DHAVE_BUNDLED_PCRE"
/bin/sh /home/oden/RPM/BUILD/php-pcre-5.2.0/libtool --mode=compile gcc -DEXPORT= -DNEWLINE=10 -DSUPPORT_UTF8 -DSUPPORT_UCP -DLINK_SIZE=2 -DPOSIX_MALLOC_THRESHOLD=10 -DMATCH_LIMIT=10000000 -DMATCH_LIMIT_RECURSION=10000000 -DMAX_NAME_SIZE=32 -DMAX_NAME_COUNT=10000 -DMAX_DUPLENGTH=30000 -I. -I/home/oden/RPM/BUILD/php-pcre-5.2.0 -DPHP_ATOM_INC -I/home/oden/RPM/BUILD/php-pcre-5.2.0/include -I/home/oden/RPM/BUILD/php-pcre-5.2.0/main -I/home/oden/RPM/BUILD/php-pcre-5.2.0 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_BUNDLED_PCRE -O2 -pipe -Wp,-D_FORTIFY_SOURCE=2 -c /home/oden/RPM/BUILD/php-pcre-5.2.0/php_pcre.c -o php_pcre.lo
gcc -DEXPORT= -DNEWLINE=10 -DSUPPORT_UTF8 -DSUPPORT_UCP -DLINK_SIZE=2 -DPOSIX_MALLOC_THRESHOLD=10 -DMATCH_LIMIT=10000000 -DMATCH_LIMIT_RECURSION=10000000 -DMAX_NAME_SIZE=32 -DMAX_NAME_COUNT=10000 -DMAX_DUPLENGTH=30000 -I. -I/home/oden/RPM/BUILD/php-pcre-5.2.0 -DPHP_ATOM_INC -I/home/oden/RPM/BUILD/php-pcre-5.2.0/include -I/home/oden/RPM/BUILD/php-pcre-5.2.0/main -I/home/oden/RPM/BUILD/php-pcre-5.2.0 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_BUNDLED_PCRE -O2 -pipe -Wp,-D_FORTIFY_SOURCE=2 -c /home/oden/RPM/BUILD/php-pcre-5.2.0/php_pcre.c -fPIC -DPIC -o .libs/php_pcre.o
/bin/sh /home/oden/RPM/BUILD/php-pcre-5.2.0/libtool --mode=link gcc -DPHP_ATOM_INC -I/home/oden/RPM/BUILD/php-pcre-5.2.0/include -I/home/oden/RPM/BUILD/php-pcre-5.2.0/main -I/home/oden/RPM/BUILD/php-pcre-5.2.0 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_BUNDLED_PCRE -O2 -pipe -Wp,-D_FORTIFY_SOURCE=2 -o pcre.la -export-dynamic -avoid-version -prefer-pic -module -rpath /home/oden/RPM/BUILD/php-pcre-5.2.0/modules php_pcre.lo -lpcre
gcc -shared .libs/php_pcre.o /usr/lib64/libpcre.so -Wl,-soname -Wl,pcre.so -o .libs/pcre.so
creating pcre.la
(cd .libs && rm -f pcre.la && ln -s ../pcre.la pcre.la)
/bin/sh /home/oden/RPM/BUILD/php-pcre-5.2.0/libtool --mode=install cp ./pcre.la /home/oden/RPM/BUILD/php-pcre-5.2.0/modules
cp ./.libs/pcre.so /home/oden/RPM/BUILD/php-pcre-5.2.0/modules/pcre.so
cp ./.libs/pcre.lai /home/oden/RPM/BUILD/php-pcre-5.2.0/modules/pcre.la
PATH="$PATH:/sbin" ldconfig -n /home/oden/RPM/BUILD/php-pcre-5.2.0/modules
----------------------------------------------------------------------
Libraries have been installed in:
/home/oden/RPM/BUILD/php-pcre-5.2.0/modules
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
Build complete.
(It is safe to ignore warnings about tempnam and tmpnam).