ID: 48194 Updated by: j...@php.net Reported By: oxie at live dot nl -Status: Feedback +Status: Assigned Bug Type: Compile Failure Operating System: Ubuntu 8.04.2 PHP Version: 5.2.9 -Assigned To: fb-req-jani +Assigned To: jani
Previous Comments: ------------------------------------------------------------------------ [2009-05-10 09:51:07] oxie at live dot nl They are there in this order: bindir = ${exec_prefix}/bin exec_prefix = ${prefix} prefix = /usr/local/lamp/php PEAR_INSTALLDIR = /usr/local/lamp/php/lib/php (i have generate my makefile using the ./configure statement) *the bin/pear scripted reposted (it was expired): http://pastebin.com/f640aacf ------------------------------------------------------------------------ [2009-05-09 21:17:07] j...@php.net Please check your Makefile for lines beginning with: bindir = exec_prefix = prefix = PEAR_INSTALLDIR = ------------------------------------------------------------------------ [2009-05-09 10:34:33] oxie at live dot nl Yes, they exists. o...@webdev:~$ /usr/local/lamp/php/bin/php-config --prefix /usr/local/lamp/php o...@webdev:~$ /usr/local/lamp/php/bin/php-config --php-binary /usr/local/lamp/php/bin/php Seems to be good... ------------------------------------------------------------------------ [2009-05-09 04:23:25] j...@php.net Does /usr/local/lamp/php/bin/php-config exist? If so, what do these output: # /usr/local/lamp/php/bin/php-config --prefix And # /usr/local/lamp/php/bin/php-config --php-binary ------------------------------------------------------------------------ [2009-05-08 19:48:33] oxie at live dot nl Description: ------------ The generated scripts bin/pear and bin/pecl have the wrong path to the PHP executable. The path in the script look likes '/usr/local/lamp/apache2/bin/apxs2/bin/apxs/bin/php', where it must be '/usr/local/lamp/php/bin/php'. When manually chaning the path to that, it is working. The output that i get is, logically: exec: 28: /usr/local/lamp/apache2/bin/apxs/bin/php: not found My configure statement: ./configure --prefix=/usr/local/lamp/php --with-apxs2=/usr/local/lamp/apache2/bin/apxs --with-pear=/usr/local/lamp/php/lib/php [a lot of extensions] The bin/pear script: http://pastebin.com/d132560e ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=48194&edit=1