php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37179 --with-pear directive not fully utilized
Submitted: 2006-04-24 08:32 UTC Modified: 2006-05-02 01:00 UTC
From: mhalligan at bitpusher dot com Assigned:
Status: No Feedback Package: Compile Failure
PHP Version: 5.1.2 OS: SuSE SLES 9 SP3
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: mhalligan at bitpusher dot com
New email:
PHP Version: OS:

 

 [2006-04-24 08:32 UTC] mhalligan at bitpusher dot com
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. 


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-04-24 20:56 UTC] tony2001@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5.1-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.1-win32-latest.zip

With this configure line
'./configure' \
'--disable-cgi' \
'--prefix=/tmp/php-install' \
'--sysconfdir=/tmp/etc' \
'--with-pear=/tmp/php-install/lib'

I can find pear.conf in /tmp/etc/ after making and installing everything.
Please check that you're installing PEAR with the reight PHP binary.
 [2006-05-02 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 17:01:58 2024 UTC