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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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 Apr 20 03:01:28 2024 UTC