ID: 46444
User updated by: hostmaster at uuism dot net
Reported By: hostmaster at uuism dot net
-Status: Feedback
+Status: Open
Bug Type: Session related
Operating System: Fedora Core 4
PHP Version: 5.2CVS-2008-11-02
New Comment:
I get the same error message as when I tried to configure php without
pcre before:
+-----------------------------------------------------------+
| ! ERROR ! |
| The test-suite requires that you have pcre extension |
| enabled. To enable this extension either compile your PHP |
| with --with-pcre-regex or if you've compiled pcre as a |
| shared module load it via php.ini. |
+-----------------------------------------------------------+
Previous Comments:
------------------------------------------------------------------------
[2008-11-11 18:49:02] [EMAIL PROTECTED]
Try this:
# rm config.cache
# ./configure --disable-all --disable-cgi --enable-session --disable-
debug --with-pic
# make test TESTS=ext/session/tests/016.phpt
------------------------------------------------------------------------
[2008-11-09 00:12:51] hostmaster at uuism dot net
jani,
It appears to be related to the -with-pic option.
Here are the results:
Case 1: PASS ext/session/tests/016.phpt (ran twice)
./configure --disable-all --disable-cgi --enable-session
--with-pcre-regex --build=i386-redhat-linux --host=i386-redhat-linux
--target=i386-redhat-linux-gnu --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-libdir=lib
--with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d
--disable-debug
Case 2: FAIL ext/session/tests/016.phpt
./configure --disable-all --disable-cgi --enable-session
--with-pcre-regex --build=i386-redhat-linux --host=i386-redhat-linux
--target=i386-redhat-linux-gnu --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-libdir=lib
--with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d
--disable-debug --with-pic
Jim
------------------------------------------------------------------------
[2008-11-08 19:20:30] [EMAIL PROTECTED]
Now you add options one by one to see which one causes the problem.
------------------------------------------------------------------------
[2008-11-06 05:21:06] hostmaster at uuism dot net
jani,
I ran configure again as:
# ./configure --disable-all --disable-cgi --enable-session
--with-pcre-regex
# make clean && make test
This time, the test PASSED:
# TEST_PHP_EXECUTABLE=sapi/cli/php sapi/cli/php run-tests.php
ext/session/tests/016.phpt
=====================================================================
PHP : sapi/cli/php
PHP_SAPI : cli
PHP_VERSION : 5.2.7RC3-dev
ZEND_VERSION: 2.2.0
PHP_OS : Linux - Linux host.uuserver.net 2.6.20.1 #16 SMP Thu Nov
8 14:19:44 EST 2007 i686
INI actual : /usr/local/src/php5.2-200811022130
More .INIs :
CWD : /usr/local/src/php5.2-200811022130
Extra dirs :
VALGRIND : Not used
=====================================================================
Running selected tests.
PASS invalid session.save_path should not cause a segfault
[ext/session/tests/016.phpt]
=====================================================================
What now?
Jim
------------------------------------------------------------------------
[2008-11-05 05:39:47] hostmaster at uuism dot net
jani,
i ran this;
# ./configure --disable-all --disable-cgi --enable-session
# make clean && make test
it complained that i did not have --with-pcre-regex
however, i ran ext/session/tests/016.phpt and it failed.
i can rerun ./configure with -with-pcre-regex if you want
jim
------------------------------------------------------------------------
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/46444
--
Edit this bug report at http://bugs.php.net/?id=46444&edit=1