Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
make menuconfig can't find ncurses
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
FtR
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2003
Posts: 121

PostPosted: Mon Feb 03, 2003 10:28 am    Post subject: make menuconfig can't find ncurses Reply with quote

Hi mighty once

I have a) updated an running and proper working system with
emerge -u world

b) installled a new system following the installation guide (afaik) and

if I now jump to /usr/src/linux
make menuconfig will blame me to have not installed the ncurses libs, but I have for sure.

know it's up to you to blame me for my faults and or didnotthoughtabouts :)

or give me just a proper hint what the solution might be


THX

FtR


Last edited by FtR on Mon Feb 03, 2003 10:35 am; edited 1 time in total
Back to top
View user's profile Send private message
drakonite
l33t
l33t


Joined: 02 Nov 2002
Posts: 768
Location: Lincoln, NE

PostPosted: Mon Feb 03, 2003 10:30 am    Post subject: Reply with quote

Did you run a "source /etc/profile && etc-update" after chrooting?
_________________
Shoot Pixels Not People

My GPG/PGP Public key
Back to top
View user's profile Send private message
FtR
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2003
Posts: 121

PostPosted: Mon Feb 03, 2003 10:33 am    Post subject: Reply with quote

for the new install yes

for the update this should not be needed or ?


FtR
Back to top
View user's profile Send private message
drakonite
l33t
l33t


Joined: 02 Nov 2002
Posts: 768
Location: Lincoln, NE

PostPosted: Mon Feb 03, 2003 10:38 am    Post subject: Reply with quote

FtR wrote:
for the new install yes

for the update this should not be needed or ?


FtR


I am not sure exactly what you mean... I was just saying that when ever you are building a gentoo installation you need to do a source /etc/profile && etc-update right after your chroot to it. If you are having problems compiling your kernel in your current system as well you might want try doing that as well. I remember seeing someone complaining about it saying that after su'ing to root.
_________________
Shoot Pixels Not People

My GPG/PGP Public key
Back to top
View user's profile Send private message
FtR
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2003
Posts: 121

PostPosted: Mon Feb 03, 2003 10:50 am    Post subject: Reply with quote

OK

two systems same effect

the new install if done the
Code listing 9.3: Entering the chroot Environment
from the installation guide

for the old system I never had problems with make menuconfig untill I updated my system yesterday with
emerge -u world

FtR
Back to top
View user's profile Send private message
drakonite
l33t
l33t


Joined: 02 Nov 2002
Posts: 768
Location: Lincoln, NE

PostPosted: Mon Feb 03, 2003 10:53 am    Post subject: Reply with quote

Opps! I just realized it should have been something like env-update, NOT etc-update... my bad.

Well, if it just quit working you should check your /etc directory and see if you have config files that need updating. You can use etc-update for that ;)
_________________
Shoot Pixels Not People

My GPG/PGP Public key
Back to top
View user's profile Send private message
FtR
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2003
Posts: 121

PostPosted: Mon Feb 03, 2003 10:57 am    Post subject: Reply with quote

for the updated system :

mybe I lost some config setting during the procedure which lead to the su'ing problem you describe but I used config protection and have not set CONFIG_PROTECT to "-*" .

I have compared the new created files in /etc ("._cfg0000_xyz") with the orginals and merged the carefully so that my config should remain the same as before but the 'su' thing is relevant to me. It was running right after logon as root

but why ??

FtR
Back to top
View user's profile Send private message
drakonite
l33t
l33t


Joined: 02 Nov 2002
Posts: 768
Location: Lincoln, NE

PostPosted: Mon Feb 03, 2003 11:15 am    Post subject: Reply with quote

I don't think they su thing is a problem with any config files. What happens is when you use su to change to root, it doesn't set things up the same as just being root, which means (among other things) the PATH wasn't set as it should be. Some people happen to have problems with it, some don't. If you do an source /etc/profile after you su then it should work correctly. Also, you should be able to do a "su -" instead of just "su" to do it. Once you run "source /etc/profile && env-update" in the system (either after su'ing if in an existing system, or right after chrooting if in a system you are building) then everything should be working. If not, check out one of the dozens of other threads on this.
_________________
Shoot Pixels Not People

My GPG/PGP Public key
Back to top
View user's profile Send private message
FtR
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2003
Posts: 121

PostPosted: Mon Feb 03, 2003 12:44 pm    Post subject: Reply with quote

OK I do an "su -" always.

Ok I was searching for one the other threats, but ...

my aasumtion was that maybe something within the new stuff I got is buggy .. ?

FtR
Back to top
View user's profile Send private message
s003apr
Apprentice
Apprentice


Joined: 04 Oct 2002
Posts: 162

PostPosted: Mon Feb 03, 2003 1:27 pm    Post subject: Reply with quote

hit <ctrl><alt><F1> and log in as root that way instead of trying to make menuconfig in an X terminal window.
Back to top
View user's profile Send private message
masseya
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 2602
Location: Baltimore, MD

PostPosted: Mon Feb 03, 2003 4:16 pm    Post subject: Reply with quote

Is gcc in your path? What happens when you do this:
Code:
bash$ which gcc

If gcc is not in your path I recommend that you emerge gcc-config, and then env-update && source /etc/profile. If you still can't get it in your path you can find it and add it to your path manually using gcc-config. You'll probably be able to find more information by reading Pitfalls of using GCC - 3.2.1-r6 or Path Problems
_________________
if i never try anything, i never learn anything..
if i never take a risk, i stay where i am..
Back to top
View user's profile Send private message
iff
n00b
n00b


Joined: 18 Jan 2003
Posts: 21

PostPosted: Mon Feb 03, 2003 8:06 pm    Post subject: Reply with quote

Hi, I have this problem my self too.That what I did was :
emerge tcl and tk or somefing, dont remember for sure.
It help me. :wink:
Back to top
View user's profile Send private message
s003apr
Apprentice
Apprentice


Joined: 04 Oct 2002
Posts: 162

PostPosted: Tue Feb 04, 2003 11:51 pm    Post subject: Reply with quote

Quote:
hit <ctrl><alt><F1> and log in as root that way instead of trying to make menuconfig in an X terminal window.

What I mean by this is that I get the ncurses error when I have tried to run make menuconfig from within X. As long as I am not in X it works fine. I guess if your not trying to do this from an xterm window then this is not your problem, but it is something to look for :D
Back to top
View user's profile Send private message
OddFox
Apprentice
Apprentice


Joined: 28 Nov 2002
Posts: 270
Location: Spokane, WA

PostPosted: Wed Feb 05, 2003 12:26 am    Post subject: Reply with quote

All I did for this problem (I had it happen to me a few minutes ago and nearly freaked out) is do:

Code:
env-update && source /etc/profile


Worked great! :D
_________________
Now the rainy season reminds me of Maria
The way she danced, the color of her hair
Now I'm locked inside a stall at the cantina
Eating the bananas and the cocaine off the mirror
Looking for a ticket to take me away from here
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