From owner-freebsd-questions@FreeBSD.ORG Wed Feb 18 03:44: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 1566C16A4CE; Wed, 18 Feb 2004 03:44:51 -0800 (PST) Received: from mail022.syd.optusnet.com.au (mail022.syd.optusnet.com.au [211.29.132.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7DC0343D2D; Wed, 18 Feb 2004 03:44:48 -0800 (PST) (envelope-from tfrank@optushome.com.au) Received: from marvin.home.local (c211-28-241-189.eburwd5.vic.optusnet.com.au [211.28.241.189])i1IBijR13365; Wed, 18 Feb 2004 22:44:45 +1100 Received: by marvin.home.local (Postfix, from userid 1001) id 3913732E; Wed, 18 Feb 2004 22:44:45 +1100 (EST) Date: Wed, 18 Feb 2004 22:44:45 +1100 From: Tony Frank To: "greater_wyrm@yahoo.com.au" Message-ID: <20040218114445.GC289@marvin.home.local> References: <40324362.6050208@yahoo.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <40324362.6050208@yahoo.com.au> User-Agent: Mutt/1.4.2i cc: wrose@freebsd.org cc: freebsd-questions@freebsd.org Subject: Re: make is not working for me 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: Wed, 18 Feb 2004 11:44:51 -0000 Hi there, On Wed, Feb 18, 2004 at 12:37:54AM +0800, greater_wyrm@yahoo.com.au wrote: > forgive the newbie question please > > I am trying to install a package called bpalogin (it authorises Bigpond > Broadband Cable users (Bigpond is an ISP in Australia)) and I have > followed the instructions from the > http://bpalogin.sourceforge.net/index.php?page=download > > I have untarred th file and tried a make > the result is > "/usr/share/mk/bsd.own.mk", line 0: Cannot open /usr/share/mk/bsd.own.mk > "/usr/ports/Mk/bsd.port.mk", line 0: Cannot open /usr/ports/Mk/bsd.port.mk > make: fatal errors encoutered --cannot continue > > I have set write permissions on both files and write and execute > permission on the Directories > > I would like some pointers to what to look for. > > I have a clean minimal install of 5.2 > > Thanks everyone Personally speaking, the port setup is a bit out of date. It hasn't been updated in quite a while (whereas the FreeBSD ports environment has changed) and it actually refers to v2.0 of bpalogin anyway. I suggest you grab the unix source directly and use it instead: % fetch http://bpalogin.sourceforge.net/download/bpalogin-2.0.2.tar.gz % tar zxvf bpalogin-2.0.2.tar.gz % cd bpalogin-2.0.2 % ./configure % make Personally the 'make install' had a few issues for me. Personally I would use: % install -m 755 bpalogin /usr/local/sbin % install -m 600 bpalogin.conf /usr/local/etc % install -m 755 bpalogin.bsd /usr/local/etc/rc.d/bpalogin.sh Then edit /usr/local/etc/bpalogin.conf to set relevant options. % vi /usr/local/etc/bpalogin.conf You should be able to start it up with: % /usr/local/etc/rc.d/bpalogin.sh start Note I have not personally used the software, but 2.0.2 compiles cleanly on my 4.9 system and I expect it will compile ok on 5.2 also. Regards, Tony