Home » PEAR » PEAR » Bug #4160
--prefix=~/local causes installation to <builddir>/~/local (literal tilde)
Details
| Submitted | 2005-04-16 01:41 UTC |
|---|---|
| From | robert dot bedell at zivva dot com |
| Status | Bogus |
| Package | PEAR |
| PHP Version | 4.3.11 |
| OS | Redhat 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)