Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ncurses won't build
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
tlianza
n00b
n00b


Joined: 17 May 2003
Posts: 32
Location: Seattle, WA

PostPosted: Sat Mar 05, 2005 2:18 am    Post subject: ncurses won't build Reply with quote

I'm trying to install a stage1 on a Pentium M system. I've passed the bootstrap stage and now I'm doing emerge system. I'm getting hung up on ncurses - (5.4-r5) - it won't build.

The error message at the bottom is "Function src_compile, Line 77, Exitcode 2"

Furthyer up I see a few lines that could indicate the root error that look like:

/bin/sh: line 1: -I../c++: No such file or directory
make[1]: *** [../obj_s/cursesf.o] Error 127
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [../obj_s/cursesm.o] Error 127
make[1]: Leaving directory '/var/tmp/portage/ncurses5.4-r5/work/ncurses-5.4/c++'
make: *** [all] Error 2

I've been trying to install other packages around this one but it's not working out - this is a dependency on many things. My CFLAGS are: "-O2 -march=pentium4 -fomit-frame-pointer" (I've also tried mcpu instead of march). My USE flags are "gnome gtk -kde -qt dvd cdr alsa"

Any help would be appreciated. This is a brand new IBM T42P laptop.
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Sat Mar 05, 2005 3:25 am    Post subject: Reply with quote

Duplicate, please search before posting.

https://forums.gentoo.org/viewtopic-t-299349.html
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
tlianza
n00b
n00b


Joined: 17 May 2003
Posts: 32
Location: Seattle, WA

PostPosted: Sat Mar 05, 2005 4:05 am    Post subject: [SOLVED] Reply with quote

moocha wrote:
Duplicate, please search before posting.

https://forums.gentoo.org/viewtopic-t-299349.html


Thank you for the pointer. I did do a search, but I guess I didn't pick good search terms. Is there a way to search just a particular forum instead of searching the whole site? That might have saved me from posting a duplicate - I wouldn't have lost it amidst so many results.

Incidentally, that post is a little wordy so let me summarize the solution for others:
1) Change your USE flag to say USE="build bootstrap"
2) emerge ncurses
3) Change your USE flags back

Thank you very much for the quick response and helpful link.
Back to top
View user's profile Send private message
kallamej
Administrator
Administrator


Joined: 27 Jun 2003
Posts: 4920
Location: Gothenburg, Sweden

PostPosted: Sat Mar 05, 2005 7:35 am    Post subject: Reply with quote

You can search an individual forum from the main search page by selecting a forum accordingly.

Moved from Installing Gentoo. Please follow up to the above mentioned thread.
_________________
Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.freenode.net
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