#24215 [Com]: make install fails unless '--without-pear' specified
| From: | cox at idecnet dot com | Date: | Mon, 30 Jun 2003 16:05:06 +0000 |
| Subject: | #24215 [Com]: make install fails unless '--without-pear' specified | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-42867@lists.php.net to get a copy of this message | ||
ID: 24215
Comment by: cox at idecnet dot com
Reported By: biclops at nosivad dot com
Status: Feedback
Bug Type: Compile Failure
Operating System: Linux
PHP Version: 4.3.2
New Comment:
Jani, was you the guy who added the "-n" option in
Makefile.frag on Nov 12 2002 ;)
Previous Comments:
------------------------------------------------------------------------
[2003-06-30 08:18:40] sniper@php.net
Nevermind the previous comment, there is '-n' in there.
biclops at nosivad dot com:
Can you please try running 'sapi/cli/php -m' to see whether the error
happens as is. If it happens, do 'ldd sapi/cli/php' and add the output
here.
------------------------------------------------------------------------
[2003-06-30 08:15:59] sniper@php.net
It means that sapi/cli/php used reads an old php.ini which contains
some extension that uses some shared resources that have changed or
something.
This is PEAR bug as no php.ini should be read during 'make install' to
prevent such issues..
------------------------------------------------------------------------
[2003-06-30 08:00:38] cox@php.net
The error comes here:
/home/pointstreak/data/serversoftware/src/ultramagnus/php-4.3.2/sapi/cli/php:
error while loading shared libraries: unexpected reloc type 0xa9
This is not related to PEAR, reclassified.
------------------------------------------------------------------------
[2003-06-17 00:04:49] biclops at nosivad dot com
Description:
------------
Recently installed php. Reinstalled so that I could use expat lib. Only
the last line (specifying expat dir) was added to configure and 'make
install' failed.
./configure \
--enable-shmop \
--enable-sysvsem --enable-sysvshm \
--enable-apc \
--with-oci8=/usr/local/oracle/8i/u01/app/oracle/product/8.1.6 \
--enable-debug=no \
--enable-track-vars \
--with-apache=../apache_1.3.27 \
--enable-trans-sid \
--with-cpdflib \
--with-gd --with-pdflib=/usr/local \
--with-ttf=/usr/local/include \
--with-jpeg-dir=/usr --with-tiff-dir=/usr \
--with-zlib-dir=/usr/include \
--with-curl=/usr/local \
--with-expat-dir=/usr/local \
Output of 'make install':
Installing PHP CLI binary: /usr/local/bin/
Installing PHP CLI man page: /usr/local/man/man1/
Installing PHP SAPI module
Installing shared extensions:
/usr/local/lib/php/extensions/no-debug-non-zts-20020429/
Installing PEAR environment: /usr/local/lib/php/
/home/pointstreak/data/serversoftware/src/ultramagnus/php-4.3.2/sapi/cli/php:
error while loading shared libraries: unexpected reloc type 0xa9
make[1]: *** [install-pear-installer] Error 127
make: *** [install-pear] Error 2
I added '--without-pear' and 'make install' worked without error.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=24215&edit=1