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:

Please try to reduce the configure line to the minimal possible.


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

[2006-12-20 22:56:07] gabriel at oxeva dot fr

After a fresh new compilation, the problem is still here.
Following are the details about my build process :
- source extraction
- last patch about the autoconf bug applied
- ./buildconf --force
- configure. The exact configure line is : 
CFLAGS='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' \
CC='gcc -m32' \
'./configure' \
'--prefix=/usr' \
'--sysconfdir=/etc/php' \
'--disable-cgi' \
'--with-exec-dir=/bin' \
'--with-layout=GNU' \
'--enable-sigchild' \
'--disable-rpath' \
'--disable-short-tags' \
'--disable-all' \
'--enable-libxml' \
'--with-openssl' \
'--with-pcre-regex' \
'--with-zlib' \
'--with-bz2' \
'--with-curl' \
'--with-curlwrappers' \
'--enable-dba' \
'--with-inifile' \
'--enable-dom' \
'--enable-ftp' \
'--with-gd' \
'--with-freetype-dir' \
'--enable-gd-native-ttf' \
'--with-iconv' \
'--enable-mbstring' \
'--with-mcrypt' \
'--with-mysqli' \
'--with-ncurses' \
'--enable-pcntl' \
'--enable-posix' \
'--with-readline' \
'--disable-reflection' \
'--enable-simplexml' \
'--with-snmp' \
'--enable-soap' \
'--enable-sockets' \
'--enable-xml' \
'--enable-xmlreader' \
'--enable-xmlwriter' \
'--enable-zip' \
'--with-pear' \
'--enable-memory-limit' \
'--enable-zend-multibyte' \
'--with-pic' \

I've shortened it in this bug report for clarity.

- then make (GNU version 3.81)
- after make, testing the include path :
# sapi/cli/php -i | grep include_path
include_path => .:${prefix}/share/pear => .:${prefix}/share/pear

maybe it's related to another configure option ? The full option list
is provided above.

Any ideas ?

------------------------------------------------------------------------

[2006-12-20 17:52:43] [EMAIL PROTECTED]

Sounds very weird to me and I'm unable to reproduce it using autoconf
2.61.

------------------------------------------------------------------------

[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] [EMAIL PROTECTED]

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.

------------------------------------------------------------------------

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

Reply via email to