From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GdmkT-0000zb-HP for garchives@archives.gentoo.org; Sat, 28 Oct 2006 11:53:13 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k9SBnQqe004534; Sat, 28 Oct 2006 11:49:26 GMT Received: from hotmail1.netcop.nl (hotmail1.netcop.nl [194.109.204.36]) by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k9SBhDgF022182 for ; Sat, 28 Oct 2006 11:43:13 GMT X-Virus-Scanned: Message was scanned for viruses by NetCop Mailscan (http://mailscan.netcop.nl/) Received: from [192.168.0.242] (ip565712b1.direct-adsl.nl [86.87.18.177]) by hotmail1.netcop.nl (8.13.6/8.13.6) with ESMTP id k9SBh7Gg028886 for ; Sat, 28 Oct 2006 13:43:09 +0200 Message-ID: <4543424A.1000706@rootsr.com> Date: Sat, 28 Oct 2006 13:43:06 +0200 From: Hans de Hartog User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20061005 X-Accept-Language: en-us, en Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] gcc problems after dep -d References: <4543257D.2010404@rootsr.com> In-Reply-To: <4543257D.2010404@rootsr.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archives-Salt: 6aaf5a5c-3227-4d2a-b480-2f2837721f7f X-Archives-Hash: 6781a279688401c98ea2b3d86f35a35d Hans de Hartog wrote: > After the thread about depclean I thought that dep (emerge udept) > was a better way to clean up things, so I did a "dep -d". > It took a long time so I went away. When I came back, emerge dies > constantly with: > checking for C++ compiler default output file name... configure: error: > C++ compiler cannot create executables > > or > > gcc-config error: Could not run/locate "gcc" > > Looking in the emerge.log, I saw that "dep -d" unmerged gcc-3.4.6-r1. > But I still have a C compiler: > "equery list gcc" gives > [ Searching for package 'gcc' in all categories among: ] > * installed packages > [I--] [ -] sys-devel/gcc-4.1.1 (4.1) > [I--] [ ] sys-devel/gcc-config-1.3.13-r4 (0) > [I--] [ ] x11-misc/gccmakedep-1.0.2 (0) > > Please help me making my system sane again. > Would a simple "emerge =sys-devel/gcc-3.4.6-r1" do it? More info: I tried revdep-rebuild and it gave dozens of lines for .la files: broken /usr/kde/3.5/lib/kde3/cupsdconf.la (requires /usr/lib/gcc/i386-pc-linux-gnu/3.4.6/libstdc++.la) broken /usr/kde/3.5/lib/kde3/dcopserver.la (requires /usr/lib/gcc/i386-pc-linux-gnu/3.4.6/libstdc++.la) broken /usr/kde/3.5/lib/kde3/kabc_dir.la (requires /usr/lib/gcc/i386-pc-linux-gnu/3.4.6/libstdc++.la) ..... All prepared. Starting rebuild... emerge --oneshot --pretend =app-text/aspell-0.50.5-r4 =sys-devel/gettext-0.15 =sys-libs/db-4.2.52_p4-r2 =app-text/hunspell-1.1.4-r1 =app-text/poppler-0.5.3 =dev-libs/libsigc++-2.0.16 =dev-libs/gmp-4.2.1 =dev-cpp/glibmm-2.8.4 =dev-cpp/gtkmm-2.8.3 =dev-libs/libpcre-6.6 =dev-libs/libusb-0.1.12 =media-libs/tiff-3.8.2-r2 =kde-base/arts-3.5.2-r1 =kde-base/kdelibs-3.5.2-r6 =media-libs/smpeg-0.4.4-r8 =media-libs/taglib-1.4 =media-sound/amarok-1.4.3-r1 =media-sound/beast-0.6.4 but it dies at the first emerge with: checking for C++ compiler default output file name... configure: error: C++ compiler cannot create executables. -- gentoo-user@gentoo.org mailing list