From: mhalligan at bitpusher dot com
Operating system: SuSE SLES 9 SP3
PHP version: 5.1.2
PHP Bug Type: Compile Failure
Bug description: --with-pear directive not fully utilized
Description:
------------
pear.conf is being installed into /usr/local/etc. There seems to be no way
to fix this.
Reproduce code:
---------------
export EXTENSION_DIR=/bitpusher/services/apache/lib/php/ext
export BUILDDIR=/bitpusher/services/apache/lib/php/build
./configure \
--with-prefix=/bitpusher/services/apache \
--with-apxs=/bitpusher/services/apache/sbin/apxs \
--with-pear=/bitpusher/services/apache \
--enable-mbstring \
--with-zlib \
--with-libxml-dir=/bitpusher \
--with-libdir=lib64 \
--with-libexecdir=/bitpusher/services/apache/libexec \
--bindir=/bitpusher/services/apache/bin \
--sbindir=/bitpusher/services/apache/sbin \
--sysconfdir=/bitpusher/services/apache/conf \
--with-extension=shared,/bitpusher/services/apache/lib/php \
--includedir=/bitpusher/services/apache/include \
--sharedstatedir=/bitpusher/services/apache/lib/php/ext \
--enable-sysvshm \
--with-config-file-path=/bitpusher/services/apache/conf \
--with-data-dir=/bitpusher/services/apache/lib/build
Expected result:
----------------
I would expect pear's configuration file to be managed either by --prefix,
--sysconfdir, or --with-pear=
Actual result:
--------------
When I make install, I get this:
Wrote PEAR system config file at: /usr/local/etc/pear.conf
It appears that there are many flags that aren't being handled properly in
./configure.
--
Edit bug report at http://bugs.php.net/?id=37179&edit=1
--
Try a CVS snapshot (PHP 4.4):
http://bugs.php.net/fix.php?id=37179&r=trysnapshot44
Try a CVS snapshot (PHP 5.1):
http://bugs.php.net/fix.php?id=37179&r=trysnapshot51
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=37179&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=37179&r=fixedcvs
Fixed in release:
http://bugs.php.net/fix.php?id=37179&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=37179&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=37179&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=37179&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=37179&r=support
Expected behavior: http://bugs.php.net/fix.php?id=37179&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=37179&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=37179&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=37179&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37179&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=37179&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=37179&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=37179&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=37179&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=37179&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=37179&r=mysqlcfg