From owner-freebsd-questions@FreeBSD.ORG Mon Feb 9 05:56:46 2009 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 2BE9510656BE for ; Mon, 9 Feb 2009 05:56:46 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from mailout.zetnet.co.uk (mailout.zetnet.co.uk [194.247.47.231]) by mx1.freebsd.org (Postfix) with ESMTP id A431D8FC08 for ; Mon, 9 Feb 2009 05:56:45 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from irwell.zetnet.co.uk ([194.247.47.48] helo=zetnet.co.uk) by mailout.zetnet.co.uk with esmtp (Exim 4.63) (envelope-from ) id 1LWP8K-00019O-Kp; Mon, 09 Feb 2009 05:56:40 +0000 Received: from melon.esperance-linux.co.uk (54-144.adsl.zetnet.co.uk [194.247.54.144]) by zetnet.co.uk (8.14.1/8.14.1/Debian-9) with ESMTP id n195udYo025086; Mon, 9 Feb 2009 05:56:40 GMT Received: by melon.esperance-linux.co.uk (Postfix, from userid 1001) id 6B826FCA4DB; Mon, 9 Feb 2009 05:56:34 +0000 (GMT) Date: Mon, 9 Feb 2009 05:56:34 +0000 From: Frank Shute To: David Collins Message-ID: <20090209055634.GA2116@melon.esperance-linux.co.uk> Mail-Followup-To: David Collins , Dominic Fandrey , freebsd-questions@freebsd.org References: <1b30fd140902050032x20e84ef6oc5030c99e6a62d81@mail.gmail.com> <498ABACC.3060102@bsdforen.de> <1b30fd140902050218m1660ad97ife6b0a679d8a946a@mail.gmail.com> <20090207075521.GA93084@melon.esperance-linux.co.uk> <1b30fd140902080816v7dfb8bb6g6f3c9a3d162f48c0@mail.gmail.com> <20090208203553.GA99661@melon.esperance-linux.co.uk> <1b30fd140902081424p1d75e304y9f4ef9f9b472328c@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1b30fd140902081424p1d75e304y9f4ef9f9b472328c@mail.gmail.com> User-Agent: Mutt/1.4.2.3i X-Face: *}~{PHnDTzvXPe'wl_-f%!@+r5; VLhb':*DsX%wEOPg\fDrXWQJf|2\,92"DdS%63t*BHDyQ|OWo@Gfjcd72eaN!4%NE{0]p)ihQ1MyFNtWL X-Operating-System: FreeBSD 6.4-RELEASE-p2 i386 X-Organisation: 'http://www.shute.org.uk/' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.1.7 (zetnet.co.uk [194.247.46.1]); Mon, 09 Feb 2009 05:56:40 +0000 (GMT) Cc: Dominic Fandrey , freebsd-questions@freebsd.org Subject: Re: broken ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Frank Shute List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Feb 2009 05:56:46 -0000 On Sun, Feb 08, 2009 at 10:24:52PM +0000, David Collins wrote: > > > I'm wondering whether your use of sudo is mucking things up and it's a > > permissions problem. i.e: it's running make OK but freaking out when > > it tries to invoke the compiler in the config stuff. > > > > I always build my ports using portupgrade as root. > > > > Maybe you could try logging in as root & then running it. If you'd > > rather not do that, portupgrade has got an -s switch which allows you > > to run the commands via sudo but you'd probably have to put cc & c++ > > in your sudoers (aswell as other commands e.g: install(1)). > > I tried running portupgrade as root user, not sudo, and no success. > The bottom line is > ---> Packages processed: 2 done, 69 ignored, 133 skipped and 28 failed > > I think the most pressing issue is that I am not able to compile. I > have watched the output periodically and I saw a lot of configure > errors. Picking one at random this is the config.log (grub) file, the > error being "compiler is unable to create executables" exit 77: > > I think if this were to be solved then my ports would be unbroken! Sorry, I got distracted & forgot your compiler toolchain is broken. What does: $ ldconfig -r | grep gcc_s give you? If it fails to return anything, then you might want to try running ldconfig: # /etc/rc.d/ldconfig start Then try grepping ldconfig -r output again. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html