#29375 [Fbk->Csd]: make test - Error 139

From: Date: Thu, 03 Feb 2005 07:46:21 +0000
Subject: #29375 [Fbk->Csd]: make test - Error 139
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-73366@lists.php.net to get a copy of this message
 ID:               29375
 User updated by:  simone at ivg dot it
 Reported By:      simone at ivg dot it
-Status:           Feedback
+Status:           Closed
 Bug Type:         DBM/DBA related
 Operating System: Linux
 PHP Version:      4.3.8
 New Comment:

I had found a BerkeleyDB ver. 3 in /usr/lib 
This caused this error...
Removing this library all worked fine...
Thanks.


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

[2005-02-03 04:59:14] sniper@php.net

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip



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

[2004-08-02 13:36:54] simone at ivg dot it

...and BerkeleyDB version is 4.2.52

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

[2004-08-02 13:05:03] simone at ivg dot it

I can build it, but when I launch a
'make test' it returns 
make: [test] Error 139 (ignored)

and when I install it in apache
( stop apache, copy, restart apache )
apache gives a segmentation fault.

If I comment the db4 line ( --with-db4=/usr/local/BerkeleyDB.4.2 )
all seems ok...

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

[2004-08-02 11:55:41] helly@php.net

What does that mean? You can build and execute the tests and a few fail
and then get the error? That would be normal behavior. Or can't you do
the tests (unable to run php at all)? And if you drop the line
mentioned it works? In that case what version of db4 do you use exactly
(4.2.x)?

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

[2004-07-25 16:05:29] simone at ivg dot it

Description:
------------
when I compile php-4.3.8 , nothing wrong.
But when I try to exec tests ( make test )
it returns :

make: [test] Error 139 (ignored)



My configure parameters are:

./configure \
--with-apxs=/usr/local/apache/bin/apxs \
--enable-safe-mode \
--enable-magic-quotes \
--with-openssl=/usr/local/ssl \
--enable-bcmath \
--enable-calendar \
--with-curl=/usr/local/src/curl-7.10.5 \
--enable-ftp \
--with-gd=/usr/local/src/gd-2.0.21 \
--with-jpeg-dir=/usr/local/src/jpeg-6b \
--with-png-dir=/usr/local/src/libpng-1.2.5 \
--with-freetype-dir=/usr/local/src/freetype-2.1.5 \
--with-gettext=/usr/local/src/gettext-0.13 \
--with-imap=/usr/local/src/imap-2002e \
--with-imap-ssl=/usr/local/ssl \
--enable-mbstring \
--enable-mbregex \
--with-mcrypt=/usr/local/src/libmcrypt-2.5.7 \
--with-mysql=/usr/local/mysql \
--with-jpeg-dir=/usr/local/src/jpeg-6b \
--with-png-dir=/usr/local/src/libpng-1.2.5 \
--with-tiff-dir=/usr/local/src/tiff-v3.5.7 \
--with-mm=/usr/local/src/mm-1.3.0 \
--enable-sockets \
--enable-sysvsem \
--enable-sysvshm \
--with-zip=/usr/local/src/zziplib-0.10.27 \
--enable-inline-optimization \
--enable-memory-limit \
--enable-zend-multibyte \
--with-tsrm-pthreads \
--with-zlib \
--with-zlib-dir=/usr/local/src/zlib-1.2.1 \
--enable-sigchild \
--enable-dbase \
--enable-dio \
--enable-exif \
--enable-ftp \
--enable-sysvmsg \
--with-pear \
--enable-dba \
--with-db4=/usr/local/BerkeleyDB.4.2

I suspect there are problems with BerkeleyDB ( if I remove last line,
all seems ok ) but I cannot be more specific.



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


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


Thread (7 messages)

« previous php.bugs (#73366) next »