From owner-freebsd-questions@FreeBSD.ORG Thu Sep 16 06:46:51 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1E03216A4E9 for ; Thu, 16 Sep 2004 06:46:51 +0000 (GMT) Received: from rosebud.otenet.gr (rosebud.otenet.gr [195.170.0.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A14B43D39 for ; Thu, 16 Sep 2004 06:46:50 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.gr (patr530-a109.otenet.gr [212.205.215.109]) i8G6kfAT000352; Thu, 16 Sep 2004 09:46:42 +0300 Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.13.1/8.13.1) with ESMTP id i8G6iXO0028893; Thu, 16 Sep 2004 09:44:33 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.gr (8.13.1/8.13.1/Submit) id i8G6ZvSA028775; Thu, 16 Sep 2004 09:35:57 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Thu, 16 Sep 2004 09:35:57 +0300 From: Giorgos Keramidas To: Gerald Koenig Message-ID: <20040916063557.GB28638@gothmog.gr> References: <20040915231508.A46047@cutter.rexx.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040915231508.A46047@cutter.rexx.com> Phone: +30-2610-312145 Mobile: +30-6944-116520 cc: freebsd-questions@freebsd.org Subject: Re: irssi in shell $HOME X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Sep 2004 06:46:51 -0000 On 2004-09-15 23:15, Gerald Koenig 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