ID:               48194
 Updated by:       j...@php.net
 Reported By:      oxie at live dot nl
-Status:           Open
+Status:           Feedback
 Bug Type:         Compile Failure
 Operating System: Ubuntu 8.04.2
 PHP Version:      5.2.9
-Assigned To:      
+Assigned To:      fb-req-jani
 New Comment:

Please check your Makefile for lines beginning with:

bindir =
exec_prefix =
prefix =
PEAR_INSTALLDIR =


Previous Comments:
------------------------------------------------------------------------

[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

Reply via email to