#48194 [Fbk->Opn]: Invalid path to php binary in generated pear and pecl scripts
| From: | oxie at live dot nl | Date: | Sun, 24 May 2009 17:00:11 +0000 |
| Subject: | #48194 [Fbk->Opn]: Invalid path to php binary in generated pear and pecl scripts | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-137681@lists.php.net to get a copy of this message | ||
ID: 48194
User updated by: oxie at live dot nl
Reported By: oxie at live dot nl
-Status: Feedback
+Status: Open
Bug Type: Compile Failure
Operating System: Ubuntu 8.04.2
PHP Version: 5.2.9
Assigned To: jani
New Comment:
Of course:
oxan@webdev:~$ /usr/local/lamp/php/bin/php -r 'echo PHP_BINDIR;'
/usr/local/lamp/php/bin
Previous Comments:
------------------------------------------------------------------------
[2009-05-22 13:14:46] jani@php.net
Can you give the output of this too:
# /usr/local/lamp/php/bin/php -r 'echo PHP_BINDIR;'
------------------------------------------------------------------------
[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] jani@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.
oxan@webdev:~$ /usr/local/lamp/php/bin/php-config --prefix
/usr/local/lamp/php
oxan@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] jani@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
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/48194
--
Edit this bug report at http://bugs.php.net/?id=48194&edit=1