Re: Alternate install path
| From: | Sascha Schumann | Date: | Wed, 06 Dec 2000 00:19:49 +0000 |
| Subject: | Re: Alternate install path | ||
| References: | 1 | Groups: | php.pear |
| Request: | Send a blank email to php-pear+get-567@lists.php.net to get a copy of this message | ||
On Tue, 5 Dec 2000, Jon Parise wrote:
> On Wed, Dec 06, 2000 at 12:56:38AM +0100, Stig S. Bakken wrote:
>
> > > How do you specify a path other than /usr/local/lib for the PEAR
> > > installation?
> >
> > By specifying a different --prefix to configure. The default is
> > /usr/local.
>
> If I wanted to install the PEAR tree in /web/pear, how would I go about
> doing so (correctly)? If I use --prefix, won't it dump everything in
> /web/pear/lib/php then?
It will. We already have a variable for that
(PEAR_INSTALLDIR) which is currently set to $prefix/lib/php.
We could either use i.e. --with-peardir or one of the
dedicated --*dir options to set that variable (--datadir
sounds nice).
- Sascha