Date: Sun, 8 Feb 2009 20:35:53 +0000 From: Frank Shute <frank@shute.org.uk> To: David Collins <davidcollins001@gmail.com> Cc: Dominic Fandrey <kamikaze@bsdforen.de>, freebsd-questions@freebsd.org Subject: Re: broken ports Message-ID: <20090208203553.GA99661@melon.esperance-linux.co.uk> In-Reply-To: <1b30fd140902080816v7dfb8bb6g6f3c9a3d162f48c0@mail.gmail.com> References: <1b30fd140902050032x20e84ef6oc5030c99e6a62d81@mail.gmail.com> <498ABACC.3060102@bsdforen.de> <1b30fd140902050218m1660ad97ife6b0a679d8a946a@mail.gmail.com> <20090207075521.GA93084@melon.esperance-linux.co.uk> <1b30fd140902080816v7dfb8bb6g6f3c9a3d162f48c0@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090208203553.GA99661>