php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37803 [install-pear-installer] Illegal instruction
Submitted: 2006-06-14 13:09 UTC Modified: 2006-06-20 09:05 UTC
From: stakadush at yahoo dot com Assigned:
Status: Not a bug Package: Reproducible crash
PHP Version: 5.1.4 OS: OS X 10.4.6
Private report: No CVE-ID: None
 [2006-06-14 13:09 UTC] stakadush at yahoo dot com
Description:
------------
./configure & make go fine, but when doing make install it 
fails with the following error:

Installing PEAR environment:      /usr/local/php/share/pear/
make[1]: *** [install-pear-installer] Illegal instruction
make: *** [install-pear] Error 2

I'm using the same configure options I used to compile v5.1.2, 
which worked fine.

Changing to --without-pear allows it compile but PHP won't run 
- again getting Illegal instruction message.

Reproduce code:
---------------
The configure I use:

'./configure' '--prefix=/usr/local/php' '--enable-force-cgi-redirect' '--enable-debug' '--enable-pic' '--disable-rpath' '--enable-inline-optimization' '--with-bz2' '--with-curl' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/opt/local' '--with-png-dir=/opt/local' '--with-gd=/opt/local' '--enable-gd-native-ttf' '--without-gdbm' '--with-gettext=/opt/local' '--with-ncurses' '--with-gmp=/opt/local' '--with-iconv' '--with-jpeg-dir=/opt/local' '--with-openssl' '--with-png' '--with-xml' '--with-expat-dir=/opt/local' '--with-dom=/usr' '--with-dom-xslt=/opt/local' '--with-dom-exslt' '--with-xmlrpc' '--with-pcre-regex=/opt/local' '--with-zlib' '--with-layout=GNU' '--enable-bcmath' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-safe-mode' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-track-vars' '--enable-trans-sid' '--enable-yp' '--enable-wddx' '--with-pear' '--with-kerberos' '--with-ldap' '--with-mysql=/usr/local/mysql' '--with-mysqli=/usr/local/mysql/bin/mysql_config' '--with-snmp' '--enable-ucd-snmp-hack' '--enable-memory-limit' '--enable-shmop' '--enable-calendar' '--enable-dbx' '--enable-dio' '--enable-mbstr-enc-trans' '--enable-mbregex' '--with-mime-magic=/usr/share/file/magic.mime' '--enable-mbstring=all' '--with-mcrypt=/opt/local' '--with-mhash=/opt/local' '--with-apxs=../apache_1.3.36'


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-06-14 15:39 UTC] iliaa@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip


 [2006-06-14 21:11 UTC] stakadush at yahoo dot com
Same thing. Though now it downloaded http://pear.php.net/
install-pear-nozlib.phar
 [2006-06-19 12:19 UTC] tony2001@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.

Please run ./sapi/cli/php install-pear-nozlib.phar and generate the backtrace.
 [2006-06-20 07:55 UTC] stakadush at yahoo dot com
i am sorry but i can not reproduce this anymore.

i had to continue working so i had to find a solution. i 
installed the entropy php pacakge for os x, which seems to 
work for now.

thank you :)
 [2006-06-20 09:05 UTC] tony2001@php.net
Feel free to reopen the report when you're able to reproduce it and provide some more info.
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Mon Jan 24 04:03:41 2022 UTC