php-5.1.2/ext/pcre/php_pcre.c:1656: parse error at end of input
| From: | Donatas Vyzas | Date: | Tue, 21 Mar 2006 18:23:26 +0000 |
| Subject: | php-5.1.2/ext/pcre/php_pcre.c:1656: parse error at end of input | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-17211@lists.php.net to get a copy of this message | ||
Hi!
I am building php-5.1.2 on a HP-UX 11.0 with apache 2.2.0. My php configure script is :
LDFLAGS=-lsec ./configure --with-gettext --with-dom --with-pgsql --with-mcrypt --with-iconv --enable-mbstring=all --enable-mbregex --with-gd --with-png-dir --with-jpeg-dir --with-mime-magic --with-imap=../imap-2004g --with-openssl --with-imap-ssl --with-zlib-dir=/usr/local --with-openssl-dir=/usr/local/ssl --with-apxs2=/usr/local/apache2/bin/apxs
I get this problem during compiling:
/bin/sh /home/user/tmp/php-5.1.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 -I/home/user/tmp/php-5.1.2/ext/pcre/pcrelib -Iext/pcre/ -I/home/user/tmp/php-5.1.2/ext/pcre/ -DPHP_ATOM_INC -I/home/user/tmp/php-5.1.2/include -I/home/user/tmp/php-5.1.2/main -I/home/user/tmp/php-5.1.2 -I/usr/local/libxml2/include/libxml2 -I/usr/local/ssl/include -I/usr/local/include -I/home/user/tmp/php-5.1.2/ext/date/lib -I/home/user/tmp/imap-2004g/include -I/home/user/tmp/php-5.1.2/ext/mbstring/oniguruma -I/home/user/tmp/php-5.1.2/ext/mbstring/libmbfl -I/home/user/tmp/php-5.1.2/ext/mbstring/libmbfl/mbfl -I/usr/local/pgsql/include -I/home/user/tmp/php-5.1.2/TSRM -I/home/user/tmp/php-5.1.2/Zend -D_XOPEN_SOURCE_EXTENDED -I/usr/local/include -I/usr/local/include/libxml2 -g -O2 -c /home/user/tmp/php-5.1.2/ext/pcre/php_pcre.c -o ext/pcre/php_pcre.lo
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
/home/user/tmp/php-5.1.2/ext/pcre/php_pcre.c: In function `pcre_get_compiled_regex_ex':
/home/user/tmp/php-5.1.2/ext/pcre/php_pcre.c:1656: parse error at end of input
gmake: *** [ext/pcre/php_pcre.lo] Error 1
php_pcre.c has 1655 lines altogether, and I didn't find anything suspicious at the end of the file. I am not very sure what's wrong here.
Can anybody help?
Donatas