From owner-freebsd-questions@FreeBSD.ORG Mon Dec 15 22:31:58 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 DE8DE1065688 for ; Mon, 15 Dec 2008 22:31:58 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from mail.unitedinsong.com.au (202-172-126-254.cpe.qld-1.comcen.com.au [202.172.126.254]) by mx1.freebsd.org (Postfix) with ESMTP id 84B608FC1C for ; Mon, 15 Dec 2008 22:31:58 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from [192.168.0.199] (unknown [192.168.0.199]) by mail.unitedinsong.com.au (Postfix) with ESMTP id 282664426 for ; Tue, 16 Dec 2008 08:32:38 +1000 (EST) From: Da Rock To: freebsd-questions@freebsd.org In-Reply-To: <4946D0CD.4040805@msen.com> References: <1229202715.18610.5.camel@laptop2.herveybayaustralia.com.au> <443agpp78i.fsf@be-well.ilk.org> <1229373442.1647.57.camel@laptop2.herveybayaustralia.com.au> <44tz95noyd.fsf@be-well.ilk.org> <1229375416.1647.63.camel@laptop2.herveybayaustralia.com.au> <4946D0CD.4040805@msen.com> Content-Type: text/plain Date: Tue, 16 Dec 2008 08:31:50 +1000 Message-Id: <1229380311.1647.74.camel@laptop2.herveybayaustralia.com.au> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Subject: Re: Firebird client fails port install X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Dec 2008 22:31:59 -0000 On Mon, 2008-12-15 at 16:49 -0500, Mark Moellering wrote: > Da Rock wrote: > > On Mon, 2008-12-15 at 15:49 -0500, Lowell Gilbert wrote: > > > >> Da Rock writes: > >> > >> > >>> On Mon, 2008-12-15 at 14:29 -0500, Lowell Gilbert wrote: > >>> > >>>> 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? > >>>> > >>>> > >>> Because the first stop error occurs and it says to run make to build > >>> firebird, but it also says "Please do not build firebird as 'root' > >>> because this may cause conflicts with SysV semaphores of running > >>> services." > >>> > >> I can't see exactly what's happening (partly because you didn't show the > >> actual failure messages), but I do notice that php5-extensions can build > >> without firebird. In fact, that's what it does by default, so you must > >> have explicitly told it to build that. If you don't need it, you can go > >> back in and set the php5-extensions port options to not include > >> firebird, and you will avoid this particular problem. > >> > >> > > > > I did that in the end, but that doesn't really solve the problem now > > does it? I'll take it up with ports and see if I can't figure out whats > > wrong... > > > > > > > The only thing I can think of that makes sense is that they want you to > run as su, as opposed to a true root login. Perhaps later someone with > more experience will answer, I can't believe you are the first/only > person to do this. As a matter of fact I never use true root I ALWAYS use su (believe it or not a M$ directive in the MCSE course I did years ago- never use administrator, copy administrative capabilities to the username used).