Hi,

while testing on my Linux-box (Gentoo, 2.4.22, gcc 3.2.3) I've got a segfault while make install (which I could localize to install-pear-packages) I had a snapshot from end-november with this prefix before. If I use an empty directory all works fine.

$ ./configure --prefix=/opt/php5
$ make
$ make install-pear-packages
[PEAR] DB             - already installed: 1.5.0RC2
[PEAR] HTTP           - already installed: 1.2.1
make: *** [install-pear-packages] Segmentation fault

$ ./configure --prefix=/opt/php5 --enable-debug
$ make
$ make install-pear-packages
[PEAR] DB - already installed: 1.5.0RC2
[PEAR] HTTP - already installed: 1.2.1
/home/johannes/src/php-5.0.0b3RC1/Zend/zend_hash.c(504) : ht=0x40672f58 is being destroyed




The command running during this failure is
./sapi/cli/php -n -dshort_open_tag=0 -dsafe_mode=0 \
  ./pear/install-pear.php \
  -d "/opt/php5/lib/php" -b "/opt/php5/bin" \
  ./pear/packages/DB-1.5.0RC1.tar \
  ./pear/packages/HTTP-1.2.1.tar \
  ./pear/packages/Mail-1.1.0.tar \
  ./pear/packages/Net_SMTP-1.2.3.tar \
  ./pear/packages/Net_Socket-1.0.1.tar \
  ./pear/packages/XML_Parser-1.0.1.tar \
  ./pear/packages/XML_RPC-1.0.4.tar

If I switch Mail and HTTP it works. It works if I remove all packages _after_ Mail, too.

Since I neither know the install-pear-script nor know howto debug this in a useful way I don't know how to tell more - just tell me.

johannes

Andi Gutmans wrote:
OK, I re-rolled on snaps. I think we should address this issue in the future because it doesn't make sense that we can only roll one specific machine because it has some libtool patch.
You can download the tars from http://snaps.php.net/~andi
If there aren't any beta show stoppers (i.e. it doesn't format your harddrive) I'll re-roll final beta 3 tomorrow morning.
Night,


Andi

-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to