Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Stage 1 blows up
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
x-wing
Tux's lil' helper
Tux's lil' helper


Joined: 15 Dec 2003
Posts: 79
Location: Los Angeles, CA

PostPosted: Sat Dec 20, 2003 7:10 pm    Post subject: Stage 1 blows up Reply with quote

I decided to do download files before compilation:
Code:
scripts/bootstrap.sh -f


Everything proceeded fine until i typed in:
Code:
emerge system


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
View user's profile Send private message
GentooBox
Veteran
Veteran


Joined: 22 Jun 2003
Posts: 1168
Location: Denmark

PostPosted: Sat Dec 20, 2003 10:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
GentooBox
Veteran
Veteran


Joined: 22 Jun 2003
Posts: 1168
Location: Denmark

PostPosted: Sat Dec 20, 2003 10:10 pm    Post subject: Reply with quote

https://forums.gentoo.org/viewtopic.php?t=67773
_________________
Encrypt, lock up everything and duct tape the rest
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


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

PostPosted: Sat Dec 20, 2003 11:42 pm    Post subject: Reply with quote

Why is "emerge system" trying to compile sys-devel/gettext-0.12.1 ?
gettext should have been compiled already during bootstrap.
Back to top
View user's profile Send private message
x-wing
Tux's lil' helper
Tux's lil' helper


Joined: 15 Dec 2003
Posts: 79
Location: Los Angeles, CA

PostPosted: Sun Dec 21, 2003 7:27 am    Post subject: Reply with quote

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
View user's profile Send private message
Barkotron
Apprentice
Apprentice


Joined: 05 Aug 2003
Posts: 253
Location: location, location.

PostPosted: Sun Dec 21, 2003 8:02 am    Post subject: Reply with quote

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
View user's profile Send private message
x-wing
Tux's lil' helper
Tux's lil' helper


Joined: 15 Dec 2003
Posts: 79
Location: Los Angeles, CA

PostPosted: Sun Dec 21, 2003 6:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
FreeFly42
l33t
l33t


Joined: 03 Nov 2003
Posts: 848
Location: Houston, TX

PostPosted: Mon Dec 22, 2003 1:53 am    Post subject: Reply with quote

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
View user's profile Send private message
FreeFly42
l33t
l33t


Joined: 03 Nov 2003
Posts: 848
Location: Houston, TX

PostPosted: Mon Dec 22, 2003 2:02 am    Post subject: Reply with quote

Oops. I see someone already pointed you at the other thread :oops:, 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
View user's profile Send private message
silverpig
Tux's lil' helper
Tux's lil' helper


Joined: 10 Dec 2003
Posts: 143
Location: Vancouver BC

PostPosted: Mon Dec 22, 2003 2:37 am    Post subject: Reply with quote

Maybe the line is commented and he just omitted the # in his transposition?
_________________
'Cause I can.
Back to top
View user's profile Send private message
FreeFly42
l33t
l33t


Joined: 03 Nov 2003
Posts: 848
Location: Houston, TX

PostPosted: Mon Dec 22, 2003 3:08 am    Post subject: Reply with quote

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
View user's profile Send private message
x-wing
Tux's lil' helper
Tux's lil' helper


Joined: 15 Dec 2003
Posts: 79
Location: Los Angeles, CA

PostPosted: Mon Dec 22, 2003 8:20 am    Post subject: Reply with quote

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 :wink:
:arrow: 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
View user's profile Send private message
tomk
Bodhisattva
Bodhisattva


Joined: 23 Sep 2003
Posts: 7221
Location: Sat in front of my computer

PostPosted: Sat Feb 12, 2005 4:19 pm    Post subject: Reply with quote

Moved to Duplicate Threads, please see this FAQ:

https://forums.gentoo.org/viewtopic.php?t=294108
_________________
Search | Read | Answer | Report | Strip
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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