ID:               37179
 Updated by:       [EMAIL PROTECTED]
 Reported By:      mhalligan at bitpusher dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Compile Failure
 Operating System: SuSE SLES 9 SP3
 PHP Version:      5.1.2
 New Comment:

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.


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

[2006-04-24 08:32:37] 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. 



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


-- 
Edit this bug report at http://bugs.php.net/?id=37179&edit=1

Reply via email to