ID: 39890
Updated by: [EMAIL PROTECTED]
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:
What version of autoconf do you use?
Previous Comments:
------------------------------------------------------------------------
[2006-12-19 17:22:48] gabriel at oxeva dot fr
Description:
------------
When compiling PHP, using the configure script with the --sysconfdir or
using the GNU layout option breaks paths such as PHP_INCLUDE_PATH or
PHP_SYSCONFDIR set in main/build-defs.h. It seems there is some path
expansions are missing in the configure script
Reproduce code:
---------------
use the configure script with --prefix=/usr and --with-layout=GNU
and/or --sysconfdir=/etc/php
some examples :
first, rebuild the configure script with ./buildconf --force
then,
CASE 1 : configure line (sysconfdir, but not the GNU layout):
./configure --prefix=/usr --disable-cgi --sysconfdir=/etc/php
CASE 2 : configure with GNU layout, but without sysconfdir :
./configure --prefix=/usr --disable-cgi --with-layout=GNU
CASE 3 : configure with GNU layout and sysconfdir :
./configure --prefix=/usr --disable-cgi --sysconfdir=/etc/php
--with-layout=GNU
Expected result:
----------------
CASE 1:
- Man pages in the right place (/usr/man)
CASE 2:
- include_path : .:/usr/share/pear
- have a working --sysconfdir option
CASE 3:
- man pages in /usr/man
- pear in /usr/share/pear
- include_path : .:/usr/share/pear
Actual result:
--------------
CASE 1:
- man pages installed in /man (directly in the root filesystem!)
CASE 2:
- include_path broken : include_path => .:${prefix}/share/pear
- no option to define where to place files such as pear.conf (in
sysconfdir)
CASE 3:
- man pages installed in /man
- pear installed in /pear
- include_path broken : include_path => .:${prefix}/share/pear
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=39890&edit=1