Sriram Natarajan <[EMAIL PROTECTED]> wrote:
> Did you try exporting PHP_PEAR_TEMP_DIR and PHP_PEAR_CACHE_DIR
> environment variables to a different location before building with
> '--with-pear' option
PHP_PEAR_TEMP_DIR seemed to have no effect.
PHP_PEAR_CACHE_DIR did the trick. It used that di
Keith Roberts <[EMAIL PROTECTED]> wrote:
> Well I compiled PHP with the following ./configure options:
> (I'm the only user on my system - 'keith' or 'root')
[...]
> So I now have PEAR in /usr/local/PEAR. Reason for doing this
[...]
> I generally run PEAR as root user anyway, so maybe that's
> why
Configuring PHP --with-pear=/some/other/dir has no effect on the
problem; it still needs to write into /tmp/pear/cache during make.
Clobbering the existing /tmp/pear/cache and giving it a writeable
directory succeeds. Although this enables me to build PHP with PEAR
(and make the RPM), it's an uns
http://pear.php.net/manual/en/installation.php
documents two options for installing the PEAR manager:
1. As part of PHP's make, as long as you don't do --without-pear
2. go-pear.php, which is interactive (and apparently "provisional")
Is there a supported *noninteractive* way to install PEAR aft
Keith Roberts <[EMAIL PROTECTED]> wrote:
> I used to compile PHP without any --with/out-pear
> ./configure options. This installed PEAR under the
> --prefix=/usr/local/php-5.x.x directory path.
> So everytime I upgraded PHP, I got a fresh installation of
> PEAR in a different location. I now ha
Keith Roberts <[EMAIL PROTECTED]> wrote:
> What about trying --with-pear=/another/directory or
> --without-pear?
>
> Once PEAR is installed, it is able to upgrade itself, so you don't
> need to touch it after that. It only needs installing once.
I may be wrong about this, but doesn't --with-pear=
Daniel Brown <[EMAIL PROTECTED]> wrote:
> On Tue, Mar 11, 2008 at 5:36 PM, Ofer Inbar <[EMAIL PROTECTED]> wrote:
> > Installing PEAR environment: /hlg/rpmbuild/buildroot/php-5.2.5-1-
> > manual/usr/local/lib/php/download directory "/tmp/pear/cache&
I am trying to build PHP 5.2.5 for an RPM, on a system which already
has PHP 5.2.4 installed (I built that RPM several months ago). In
order to build the RPM, I first want to make and install into a
temporary local directory, as an unprivileged user.
The build fails with this error:
Installi