Specifying an install directory
Ryan Schmidt
ryandesign at macports.org
Sun Feb 10 21:03:37 PST 2008
On Feb 10, 2008, at 22:39, Eric Soli wrote:
> I am attempting to install pear-base into /usr/bin
> instead of /opt/local/bin. My best understanding from
> the man page is that I should use:
>
> bash$ sudo port -D /usr/bin install pear-base
>
> but it still ends up in /opt/local. Is there a way
> plant this pear tree next to /usr/bin/php?
>
> Running Leopard on Intel.
MacPorts is designed to install its software into ${prefix} which by
default is /opt/local. A user can't make a port install its software
into a different location.
For the case of PEAR, you may want to install it yourself, by hand,
in whatever location you want it, rather than use the port.
More information about the macports-users
mailing list