View previous topic :: View next topic |
Author |
Message |
x-wing Tux's lil' helper
Joined: 15 Dec 2003 Posts: 79 Location: Los Angeles, CA
|
Posted: Sat Dec 20, 2003 7:10 pm Post subject: Stage 1 blows up |
|
|
I decided to do download files before compilation:
Code: | scripts/bootstrap.sh -f |
Everything proceeded fine until i typed in:
at which point it starts off by trying to emerge gettext-0.12.1 which fails with the following:
Code: |
...
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See config.log for more details.
configure: error: /bin/sh './configure' failed for autoconf-lib-link
!!! ERROR: sys-devel/gettext-0.12.1 failed.
!!! Function econf, line 324, Exitcode 1
!!! econf failed
|
After this I even went into the gettext work/ directory and tried compiling myself using ./configure just to see if the same errors appear and they do.
I followed every step word for word (including partitioning etc.) from the install guide. Willing to post any more information that might help. I have searched for this error and people have been getting it for different tar.bz2s so i dont think it has anything to do with gettext itself, but more with the compiler.
Any ideas? _________________ --
The more I learn about Linux, the more amazed I am that its free
-- |
|
Back to top |
|
|
GentooBox Veteran
Joined: 22 Jun 2003 Posts: 1168 Location: Denmark
|
Posted: Sat Dec 20, 2003 10:08 pm Post subject: |
|
|
i have 2 questions:
do you have "nls" in your use flags ?
du you have ~x86 in your make.conf file ? _________________ Encrypt, lock up everything and duct tape the rest |
|
Back to top |
|
|
GentooBox Veteran
Joined: 22 Jun 2003 Posts: 1168 Location: Denmark
|
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sat Dec 20, 2003 11:42 pm Post subject: |
|
|
Why is "emerge system" trying to compile sys-devel/gettext-0.12.1 ?
gettext should have been compiled already during bootstrap. |
|
Back to top |
|
|
x-wing Tux's lil' helper
Joined: 15 Dec 2003 Posts: 79 Location: Los Angeles, CA
|
Posted: Sun Dec 21, 2003 7:27 am Post subject: |
|
|
To answer everyone's questions:
Do you have nls?
>> No i do not. My USE is currently commented out, and contains only the following:
Code: | #USE="X gtk gnome -alsa" |
Should it be added?
du you have ~x86 in your make.conf file ?
>> I do have:
Code: | ACCEPT_KEYWORDS="x86" |
I started from a stage 1 install. I don't know what you mean by:
Quote: | Why is "emerge system" trying to compile sys-devel/gettext-0.12.1 ? gettext should have been compiled already during bootstrap. |
Nevertheless I guess the link posted by GentooBox should do the trick. Let me try that and if it works i will mark this as 'solved'. _________________ --
The more I learn about Linux, the more amazed I am that its free
-- |
|
Back to top |
|
|
Barkotron Apprentice
Joined: 05 Aug 2003 Posts: 253 Location: location, location.
|
Posted: Sun Dec 21, 2003 8:02 am Post subject: |
|
|
After you ran
Code: | scripts/bootstrap.sh -f |
you did actually run
Code: | scripts/bootstrap.sh |
didn't you?
Cyrillic's right - emerge system really shouldn't go near gettext. The only way I can think of that it would would be if you hadn't actually run the bootstrap script... _________________ Give a man a fire and he'll be warm for a day: set fire to him and he'll be warm for the rest of his life. |
|
Back to top |
|
|
x-wing Tux's lil' helper
Joined: 15 Dec 2003 Posts: 79 Location: Los Angeles, CA
|
Posted: Sun Dec 21, 2003 6:11 pm Post subject: |
|
|
Barkotron wrote: |
Cyrillic's right - emerge system really shouldn't go near gettext. The only way I can think of that it would would be if you hadn't actually run the bootstrap script... |
Great...now i dont remember if i ran the bootstrap script! That might just be it. Because i followed another link up in this thread and that sort of fixed the problem for gettext but left ncurses kind of broken with the same error. Is starting over my only hope? _________________ --
The more I learn about Linux, the more amazed I am that its free
-- |
|
Back to top |
|
|
FreeFly42 l33t
Joined: 03 Nov 2003 Posts: 848 Location: Houston, TX
|
Posted: Mon Dec 22, 2003 1:53 am Post subject: |
|
|
The problem is you have ACCEPT_KEYWORDS=~x86 in your make.conf. Are you sure you want this? That's why it's trying to emerge gettext, and apparently the gettext ebuild isn't happy with the version of gcc included on the cd.
Check out this post for more information.
The recommended solution would be to comment out the ACCEPT_KEYWORDS line in your make.conf until after you've bootstrapped (I thought this was in the documentation?) then do an emerge -U system/world to update the bleeding edge packages. _________________ Kent
Planes are dangerous, get out of 'em quick |
|
Back to top |
|
|
FreeFly42 l33t
Joined: 03 Nov 2003 Posts: 848 Location: Houston, TX
|
Posted: Mon Dec 22, 2003 2:02 am Post subject: |
|
|
Oops. I see someone already pointed you at the other thread , but I still think you should remove the x86 keyword until after bootstrapping. _________________ Kent
Planes are dangerous, get out of 'em quick |
|
Back to top |
|
|
silverpig Tux's lil' helper
Joined: 10 Dec 2003 Posts: 143 Location: Vancouver BC
|
Posted: Mon Dec 22, 2003 2:37 am Post subject: |
|
|
Maybe the line is commented and he just omitted the # in his transposition? _________________ 'Cause I can. |
|
Back to top |
|
|
FreeFly42 l33t
Joined: 03 Nov 2003 Posts: 848 Location: Houston, TX
|
Posted: Mon Dec 22, 2003 3:08 am Post subject: |
|
|
silverpig wrote: | Maybe the line is commented and he just omitted the # in his transposition? |
I suppose it's possible, but X-Wing knew his USE line was commented and showed the # in his post, so I think he would have known if the ACCEPT_KEYWORD line was also commented.
Also, the problem he is describing is exactly what happens with x86 enabled during the bootstrap. _________________ Kent
Planes are dangerous, get out of 'em quick |
|
Back to top |
|
|
x-wing Tux's lil' helper
Joined: 15 Dec 2003 Posts: 79 Location: Los Angeles, CA
|
Posted: Mon Dec 22, 2003 8:20 am Post subject: |
|
|
Ok to put this thread to 'sleep' I got it figured out. The basic screw up was I had not run bootstrap.sh. (feel free to bonk me over the head with a mallet any time now)
Laziness paid off to an extent because i didnt redo the filesystems...jsut proceeded to run the script in question and went on to smoothly (albeit slowly) compile everything including the base system components without any complaints about GCC's sanity.
Thanks for all the help anyhow.
Now if i may point you to my latest problem
https://forums.gentoo.org/viewtopic.php?t=117376 _________________ --
The more I learn about Linux, the more amazed I am that its free
-- |
|
Back to top |
|
|
tomk Bodhisattva
Joined: 23 Sep 2003 Posts: 7221 Location: Sat in front of my computer
|
|
Back to top |
|
|
|