From owner-freebsd-questions@FreeBSD.ORG Mon Dec 15 19:29:37 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D83691065676 for ; Mon, 15 Dec 2008 19:29:37 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail1.sea5.speakeasy.net (mail1.sea5.speakeasy.net [69.17.117.3]) by mx1.freebsd.org (Postfix) with ESMTP id B2E058FC19 for ; Mon, 15 Dec 2008 19:29:37 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 5814 invoked from network); 15 Dec 2008 19:29:35 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail1.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 15 Dec 2008 19:29:35 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 51A9F50826; Mon, 15 Dec 2008 14:29:33 -0500 (EST) To: Da Rock References: <1229202715.18610.5.camel@laptop2.herveybayaustralia.com.au> From: Lowell Gilbert Date: Mon, 15 Dec 2008 14:29:33 -0500 In-Reply-To: <1229202715.18610.5.camel@laptop2.herveybayaustralia.com.au> (Da Rock's message of "Sun\, 14 Dec 2008 07\:11\:55 +1000") Message-ID: <443agpp78i.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: Firebird client fails port install X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Dec 2008 19:29:37 -0000 Da Rock writes: > I'm trying to install php5-extensions (which includes firebird), but its > failing with an error code 1 on firebird20-client. It does mention > running make to build firebird, but not as root. So I've tried > everything to get this to work: running make as my wheel group user, > installing as a pkg instead. > > What could I be missing? > > (And before anybody asks: I ran portsnap fetch update twice yesterday - > and I did run the update. I've learnt my lesson from last time...) Unless you set variables to put the work directory somewhere non-standard, the ports system will try to do its building under each port's directory, which is normally not writable by regular users. Similarly, installing a port (or a package, for the same reasons) normally requires root permissions for access to system directories and in many cases to let programs installed by ports run as special-purpose users. What is the reason you're trying to install ports as a different user? -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/