Date: Thu, 16 Sep 2004 09:35:57 +0300 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: Gerald Koenig <glk@cutter.rexx.com> Cc: freebsd-questions@freebsd.org Subject: Re: irssi in shell $HOME Message-ID: <20040916063557.GB28638@gothmog.gr> In-Reply-To: <20040915231508.A46047@cutter.rexx.com> References: <20040915231508.A46047@cutter.rexx.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2004-09-15 23:15, Gerald Koenig <glk@cutter.rexx.com> wrote:
> Does anyone have irssi running in the home directory of a commercial
> shell account which allows running personal programs? There seem to be
> library problems and dependencies which are complex to the point I
> haven't gotten very far. Ports and packages are not so good in a
> shell account I think. I'm just looking for a successful installation
> somewhere to serve as a template.
The makefiles in /usr/ports/Mk include a ton of variables that can be
set to modify the paths where Ports will look for files. I've installed
ports in my $HOME dir by setting some of these to non-default values.
You'll most certainly want to change at least the following when you
invoke make to build and install irssi:
PORTSDIR - Where ports live[1].
LOCALBASE - Where the installed files go.
DISTDIR - Where downloaded distfiles are saved.
PKG_DBDIR - Where installed package info will be saved.
PORT_DBDIR - Where port options are saved.
[1] If you use the existing /usr/ports checkout of the system this will
not have to be changed, but you might find it useful to check out your
own copy of /usr/ports and work there. That's when this will be needed.
Typically, to install ports in $HOME you'd invoke make with something
like this:
$ cd ${HOME}/ports/irc/irssi
$ env PORTSDIR=${HOME}/ports LOCALBASE=${HOME} \
DISTDIR=${HOME}/distfiles \
PKG_DBDIR=${HOME}/pkgdb PORT_DBDIR=${HOME}/pkgdb/ports \
make install
I hope this helps to get you started. If things don't work, either post
the errors you stumble upon or look at the comments in the bsd.port.mk
makefile (under ports/Mk) and see if there's some variable which you
have to set but I forgot to mention.
- Giorgos
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040916063557.GB28638>
