Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
bootstrapping error [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Rabadash
n00b
n00b


Joined: 04 Sep 2004
Posts: 20
Location: Seattle

PostPosted: Wed Aug 10, 2005 7:41 pm    Post subject: bootstrapping error [SOLVED] Reply with quote

Ok I don't understand this one at all. So I'm bootstrapping my system, and after a few seconds o0f starting the bootstrap I get this line

Quote:
checking for c++ compiler default output file name... configure: error: c++ compiler cannot create executables
See config.log for more details


I also get some more commented error lines that say
Quote:
Error dev-lang/python-2.3.5 failed
Function econf, Line 485, exitcode 0
econf failed


I have no idea what to do.


Last edited by Rabadash on Thu Aug 11, 2005 8:11 am; edited 1 time in total
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Wed Aug 10, 2005 7:52 pm    Post subject: Reply with quote

Please can you post more of the error (about twenty lines or so) and the output of emerge --info? Help us to help you. :wink:
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Wed Aug 10, 2005 7:55 pm    Post subject: Reply with quote

Make sure you only have USE="" or USE="nptl" in your /etc/make.conf

Adding USE= flags too early (i.e. before you have a base system) will cause problems like the one you are experiencing.
Back to top
View user's profile Send private message
Rabadash
n00b
n00b


Joined: 04 Sep 2004
Posts: 20
Location: Seattle

PostPosted: Wed Aug 10, 2005 8:10 pm    Post subject: Reply with quote

These are the lines immediately above my last post.

Quote:
>>>Source Unpacked
gdbm dbm bsddb readline _tkinter _curses _curses_panel
./configure --prefix=/usr --host=xe8_64-pc-linux-gnu
--mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share--disable-i
pv6 --infordir=${prefix}/share/info --mandir=${prefix}/share/man
--with-threads --with-libc --enable-unicode=ucs4
checking MACHDEP... linux2
checking EXTRAPLATDIR...
checking for --without-gcc... no
checking for c++... no
checking for g++... no
checking for gcc... gcc
Back to top
View user's profile Send private message
Rabadash
n00b
n00b


Joined: 04 Sep 2004
Posts: 20
Location: Seattle

PostPosted: Wed Aug 10, 2005 8:17 pm    Post subject: Reply with quote

Ok, now I've removed my USE flags to make it USE="" and the only thing that changes when I try to bootstrap is this line is added between "checking for --without-gcc... no" and line "checking for c++... no"

Quote:
checking for --with-cxx=<compiler>... no
Back to top
View user's profile Send private message
Rabadash
n00b
n00b


Joined: 04 Sep 2004
Posts: 20
Location: Seattle

PostPosted: Wed Aug 10, 2005 8:43 pm    Post subject: Reply with quote

It's kind of funny, with a manual install like this, there are so many ways things can go wrong that it seems to me that it would be impossible to diagnose, let alone fix, all of the potential problems. This is the 14th attempt and the third computer I've tried installing gentoo on to no avail. Is there anyone that can help me figure out what I've done wrong. The only thing I've done different from the gentoo install guide amd64 is use reiserfs and make standard changes to my make.conf file.
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Wed Aug 10, 2005 8:46 pm    Post subject: Reply with quote

Try gcc-config -l, and switch to the latest (non-hardened) gcc profile using gcc-config x where x is the number of the profile. If that still doesn't work, please post your emerge --info.
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
Rabadash
n00b
n00b


Joined: 04 Sep 2004
Posts: 20
Location: Seattle

PostPosted: Wed Aug 10, 2005 9:30 pm    Post subject: Reply with quote

There may be some typos but heres my emerge --info

Quote:
portage 2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.4.3-hardened, glibc-2.3.5-r0, 2.6.12-gentoo-r6 x86_64)
System uname: 2.6.12-gentoo-r6 x86_64 Intel(R) Pentiuum(R) D CPU 2.80GHz
Gentoo Base System version 1.6.12
dev-lang/python: 2.3.5
sys-apps/sandbox: 1.2.11
sys-devel/autoconf: [not present]
sys-devel/automake: [not present]
sys-devel/binutils: 2.15.92.0.2-r10
sys-devel/libtool: [not present]
virtual os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="AMD64"
AUTOCLEAN"yes
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-02 -march=nocona -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qumail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-02 -march=nocona -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
Gentoo_Mirrors="http://gentoo.osuosl.org/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync:rsync.namerica.gentoo.org/gentoo-portage"
USE="amd64 alsa avi berkdb bitmapfonts crypt cu[s eds encodb foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 nls opengl pam pdflib perl png python qt quicktiem readline sdl spell ssl tcpd tiff truetype-fonts typel-linux elibc_glibc"
Unset ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY"
Back to top
View user's profile Send private message
Rabadash
n00b
n00b


Joined: 04 Sep 2004
Posts: 20
Location: Seattle

PostPosted: Thu Aug 11, 2005 7:07 am    Post subject: Reply with quote

Ok, so I guess no one can help me, now I have to sulk my way back over to windows.
Back to top
View user's profile Send private message
Bob P
Advocate
Advocate


Joined: 20 Oct 2004
Posts: 3355
Location: Jackass! Development Labs

PostPosted: Thu Aug 11, 2005 8:01 am    Post subject: Reply with quote

Rabadash wrote:
Ok, so I guess no one can help me, now I have to sulk my way back over to windows.


wow, you sure are impatient. you didn't even wait 10 hours for help before wisecracking about going back to windows. you really need to try to wait a little longer, IMHO. as you get to know Gentoo you'll come to learn that Gentoo really isn't about instant gratification.

looking at the output of your emerge --info, i just have to ask -- is your CPU really a "Pentiuum (R) D"? :lol:

i see that you're using hardened GCC 3.4.x. that's a no-no. hardened GCC 3.4.x is broken (at least on the x86 arches, and i'm not sure about AMD64). i would recommend that you revert to plain-vanilla GCC 3.4.x or to hardened GCC 3.3.5.

you also need to trim down those USE flags until you have your base system built. but then, i'm not telling you anything that hasn't been suggested earlier in the thread already. :roll: you've been given two valuable pieces of advice by very knowledgeable people that you appear to have ignored. :? that could explain your problem. think about that as you sulk your way back to windows. :twisted:
_________________
.
Stage 1/3 | Jackass! | Rockhopper! | Thanks | Google Sucks
Back to top
View user's profile Send private message
Rabadash
n00b
n00b


Joined: 04 Sep 2004
Posts: 20
Location: Seattle

PostPosted: Thu Aug 11, 2005 8:11 am    Post subject: Reply with quote

Heh, I was joking, besides if linux died for some reason, I would just stop using computers altogether. Anyways, I think I diagnosed the problem, yes I fixed the hardened compiler, although that still didn't fix it. I removed the use line entirely from my make.conf file and for some reason that seems to have fixed it.
Back to top
View user's profile Send private message
Bob P
Advocate
Advocate


Joined: 20 Oct 2004
Posts: 3355
Location: Jackass! Development Labs

PostPosted: Thu Aug 11, 2005 8:22 am    Post subject: Reply with quote

glad to hear that you've got it fixed. bootstrapping can be a real PITA, and there's a bit of art involved in getting it done properly. as cyrillic mentioned earlier, minimizing your USE flags during the bootstrapping process can help quite a bit.

fwiw, i'd like to hear how you've fixed the hardened GCC 3.4.3 problem. i've been avoiding it like the plague, and if its finally been fixed i'd like to know. :?:
_________________
.
Stage 1/3 | Jackass! | Rockhopper! | Thanks | Google Sucks
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Thu Aug 11, 2005 12:41 pm    Post subject: Reply with quote

Split off topic 369070.
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum