#39890 [Opn->Fbk]: GNU layout and --sysconfdir option break install and include paths
| From: | tony2001@php.net | Date: | Wed, 20 Dec 2006 17:52:44 +0000 |
| Subject: | #39890 [Opn->Fbk]: GNU layout and --sysconfdir option break install and include paths | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-106669@lists.php.net to get a copy of this message | ||
ID: 39890
Updated by: tony2001@php.net
Reported By: gabriel at oxeva dot fr
-Status: Open
+Status: Feedback
Bug Type: *Compile Issues
Operating System: Linux 2.6
PHP Version: 5.2.0
New Comment:
Sounds very weird to me and I'm unable to reproduce it using autoconf
2.61.
Previous Comments:
------------------------------------------------------------------------
[2006-12-20 17:09:38] gabriel at oxeva dot fr
so i applied the patch, ./buildconf --force again, then configure and
make and make install
man paths OK, pear path OK.
but my sapi/cli/php -i give this output :
# sapi/cli/php -i | grep include_path
include_path => .:${prefix}/share/pear => .:${prefix}/share/pear
the ${prefix} looks like a variable that is not replaced (expanded) in
main/build-defs.h line 81:
#define PHP_INCLUDE_PATH ".:${prefix}/share/pear"
------------------------------------------------------------------------
[2006-12-20 11:54:21] tony2001@php.net
Ok, I updated the patch, it should fix PEAR install path now.
Though I can't see any problems with include_path:
# sapi/cli/php -i | grep include_path
include_path => .:/tmp/php/share/pear => .:/tmp/php/share/pear
------------------------------------------------------------------------
[2006-12-20 09:12:31] gabriel at oxeva dot fr
Hello again,
Thanks for the patch. I actually use autoconf version 2.61. This patch
has corrected the bug related to the man path, but CASE 2 and 3 are not
completely solved : the include_path in the PHP binary is still
".:${prefix}/share/pear" (with ${prefix} not expanded), and pear
installs itslef in /usr/pear instead of /usr/share/pear as is it stated
in the GNU layout.
------------------------------------------------------------------------
[2006-12-20 00:21:08] tony2001@php.net
Please check out this patch:
http://tony2001.phpclub.net/dev/tmp/bug39890.diff
Apply with
patch -p0 < bug39890.diff, run ./buildconf etc. after
that.
The patch seems to make autoconf 2.6x happy again.
------------------------------------------------------------------------
[2006-12-20 00:00:28] tony2001@php.net
What version of autoconf do you use?
------------------------------------------------------------------------
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/39890
--
Edit this bug report at http://bugs.php.net/?id=39890&edit=1