PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » PEAR » PEAR » Bug #4160

--prefix=~/local causes installation to <builddir>/~/local (literal tilde)

Details

Submitted2005-04-16 01:41 UTC
Fromrobert dot bedell at zivva dot com
StatusBogus
PackagePEAR
PHP Version4.3.11
OSRedhat Linux ES-3
Roadmaps(Not assigned)

Comments

[2005-04-16 01:41 UTC] robert dot bedell at zivva dot com

Description:
------------
I'm trying to roll a php version 4 CGI environment for some legacy apps, since the rest of my website is using php 5. So I'm installing the whole thing in /home/user/local. I used
(in the build directory /home/user/build/)
./configure --prefix=~/local
to configure everything. then when I do a
make install
the pear libraries don't show up in /home/user/local/lib/php,
but in
/home/user/build/php-4.3.11/~/local/lib/php
(the tilde is literal and not expanded into the users' home dir)

Reproduce code:
---------------
(as a given user)
./configure --prefix=~/local
make
make install
check ~/local and <builddir>/\~/local

Expected result:
----------------
it should install in the expanded home dir

Actual result:
--------------
installs in <builddir>/~/local (tilde unexpanded)