From owner-freebsd-questions@FreeBSD.ORG Sun Feb 8 20:36:06 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 2FB911065670 for ; Sun, 8 Feb 2009 20:36:06 +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 AFF3D8FC08 for ; Sun, 8 Feb 2009 20:36:05 +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 1LWGNk-0006CK-JN; Sun, 08 Feb 2009 20:36:00 +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 n18KZx3j006316; Sun, 8 Feb 2009 20:35:59 GMT Received: by melon.esperance-linux.co.uk (Postfix, from userid 1001) id D3788FCA4DB; Sun, 8 Feb 2009 20:35:53 +0000 (GMT) Date: Sun, 8 Feb 2009 20:35:53 +0000 From: Frank Shute To: David Collins Message-ID: <20090208203553.GA99661@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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1b30fd140902080816v7dfb8bb6g6f3c9a3d162f48c0@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]); Sun, 08 Feb 2009 20:36:00 +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: Sun, 08 Feb 2009 20:36:06 -0000 On Sun, Feb 08, 2009 at 04:16:53PM +0000, David Collins wrote: > > > How did you uninstall that port after which everything fails at the > > configure stage? Which port was it? > > It was rtorrent that I uninstalled, I used "make deinstall" > > > > > Check a couple of things: > > > > $ which c++ > > > > and: > > > > $ locate gcc_s | grep lib > > viper:~$ which c++ > /usr/bin/c++ > > also > viper:~$ which gcc > /usr/bin/gcc > viper:~$ which cc > /usr/bin/cc > > > viper:~$ locate gcc_s | grep lib |more > /usr/lib/libgcc_s.so > /usr/local/lib/gcc-4.2.5/libgcc_s.so > /usr/local/lib/gcc-4.2.5/libgcc_s.so.1 > > > > Have you installed/uninstalled a c/c++ compiler from ports? > > I don't think that I have I haven't installed/uninstalled a compiler > from ports unless one of the ports did it, and I doubt this is the > case. > That all seems to be in order. 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)). Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html