#37956 [Opn->Fbk]: Failure on make install-pear (Illegal Operation)
| From: | tony2001@php.net | Date: | Thu, 29 Jun 2006 07:58:38 +0000 |
| Subject: | #37956 [Opn->Fbk]: Failure on make install-pear (Illegal Operation) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-98936@lists.php.net to get a copy of this message | ||
ID: 37956
Updated by: tony2001@php.net
Reported By: nikolai dot lusan at hitwise dot com
-Status: Open
+Status: Feedback
Bug Type: *Compile Issues
Operating System: GNU/Linux
PHP Version: 5.1.4
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[2006-06-29 04:46:58] nikolai dot lusan at hitwise dot com
Description:
------------
Post compile installation of pear fails during "make install-pear"
while executing the "install-pear-nozlib.phar" script in the
"install-pear-installer" section of the Makefile. Similar to [now
marked bogus] <a href="http://bugs.php.net/bug.php?id=37803">bug
#37803</a>.
I have tried using the binary that is being run to execute a few test
scripts (in case I screwed the build proccess) and it excutes them with
no problems at all, it just seems to dislike the pear installer.
Reproduce code:
---------------
Configure:
" ../configure \
--prefix=/usr --enable-force-cgi-redirect --enable-fastcgi \
--with-config-file-path=/etc/php5/cgi --enable-debug \
--disable-static --enable-memory-limit --enable-inline-optimization
--enable-sysvsem \
--enable-sysvshm --enable-sysvmsg --enable-track-vars
--enable-trans-sid \
--enable-ftp --enable-pdo --enable-shmop --enable-soap \
--enable-simplexml --enable-yp --with-curl --with-cdb \
--with-gd \
--enable-gd-native-ttf --with-jpeg-dir --with-xpm-dir
--with-png-dir --with-freetype-dir \
--with-regex=system --with-layout=GNU --with-pear=/usr/share/php
--with-libxml-dir=/usr \
--with-dom=/usr --with-xsl=/usr --with-sqlite --with-xml-reader
--with-xmlrpc \
--with-zlib --with-pgsql --with-pdo-pgsql --with-openssl=/usr \
--with-mime-magic=/usr/share/misc/file/magic.mime
--with-exec-dir=/usr/lib/php5/libexec --with-kerberos \ --without-mysql
--without-sybase \
--without-sybase-ct --without-mm --without-tlib
Compile:
make
Install (installing to a temporary directory for packagin reasons):
make install-pear PHP_PEAR_PHP_BIN=php5
PHP_PEAR_INSTALL_DIR=/usr/share/php PHP_PEAR_SYSCONF_DIR=/etc/pear
INSTALL_ROOT=/path/to/temp/installdir
Expected result:
----------------
Installing PEAR environment:
/path/to/temp/installdir/usr/share/php/
make[2]: Entering directory `/path/to/builddir'
make[2]: *** [install-pear-installer] Illegal instruction
make[2]: Leaving directory `/path/to/builddir'
make[1]: *** [install-pear] Error 2
make[1]: Leaving directory `/path/to/builddir'
make: *** [install] Error 2
Actual result:
--------------
Backtrace from core dump:
#0 div_function (result=0xaf96a908, op1=0x895e1fc, op2=0x200) at
/usr/src/hitwise-packaging/php/php5/5.1.4/php-5.1.4/Zend/zend_operators.c:874
874 result->value.dval = ((double)
op1->value.lval) / op2->value.lval;
(gdb) bt
#0 div_function (result=0xaf96a908, op1=0x895e1fc, op2=0x200) at
/usr/src/hitwise-packaging/php/php5/5.1.4/php-5.1.4/Zend/zend_operators.c:874
#1 0x08322774 in ZEND_DIV_SPEC_VAR_CONST_HANDLER
(execute_data=0xaf96aa80) at zend_vm_execute.h:7924
#2 0x083111b7 in execute (op_array=0x89ea20c) at zend_vm_execute.h:92
#3 0x08311e3e in zend_do_fcall_common_helper_SPEC
(execute_data=0xaf96ac30) at zend_vm_execute.h:234
#4 0x083111b7 in execute (op_array=0x89a30d0) at zend_vm_execute.h:92
#5 0x08311e3e in zend_do_fcall_common_helper_SPEC
(execute_data=0xaf96b3f0) at zend_vm_execute.h:234
#6 0x083111b7 in execute (op_array=0x889d514) at zend_vm_execute.h:92
#7 0x08311e3e in zend_do_fcall_common_helper_SPEC
(execute_data=0xaf96b800) at zend_vm_execute.h:234
#8 0x083111b7 in execute (op_array=0x88a4d48) at zend_vm_execute.h:92
#9 0x08311e3e in zend_do_fcall_common_helper_SPEC
(execute_data=0xaf96d2a0) at zend_vm_execute.h:234
#10 0x083111b7 in execute (op_array=0x85ad204) at zend_vm_execute.h:92
#11 0x08315814 in ZEND_INCLUDE_OR_EVAL_SPEC_CONST_HANDLER
(execute_data=0xaf96d620) at zend_vm_execute.h:1971
#12 0x083111b7 in execute (op_array=0x858c888) at zend_vm_execute.h:92
#13 0x082f237e in zend_execute_scripts (type=8, retval=0x0,
file_count=3) at
/usr/src/hitwise-packaging/php/php5/5.1.4/php-5.1.4/Zend/zend.c:1109
#14 0x082adfee in php_execute_script (primary_file=0xaf96fac0) at
/usr/src/hitwise-packaging/php/php5/5.1.4/php-5.1.4/main/main.c:1732
#15 0x08360875 in main (argc=12, argv=0xaf96fb94) at
/usr/src/hitwise-packaging/php/php5/5.1.4/php-5.1.4/sapi/cli/php_cli.c:1092
(gdb) frame 2
#2 0x083111b7 in execute (op_array=0x89ea20c) at zend_vm_execute.h:92
92 if (EX(opline)->handler(&execute_data
TSRMLS_CC) > 0) {
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=37956&edit=1