Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
make menuconfig fails
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
rommel
Veteran
Veteran


Joined: 19 Apr 2002
Posts: 1145
Location: Williamsburg Virginia

PostPosted: Fri Dec 27, 2002 7:38 pm    Post subject: make menuconfig fails Reply with quote

this just started , but i cant run make menuconfig unless i source /etc/profile, as su to root this is what it tells me
Code:
root@JaiBaba linux # make menuconfig
rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
make -C scripts/lxdialog all
make[1]: Entering directory `/usr/src/linux-2.4.20/scripts/lxdialog'
/bin/sh: line 1: gcc: command not found

>> Unable to find the Ncurses libraries.
>>
>> You must have Ncurses installed in order
>> to use 'make menuconfig'

make[1]: *** [ncurses] Error 1
make[1]: Leaving directory `/usr/src/linux-2.4.20/scripts/lxdialog'
make: *** [menuconfig] Error 2
ncurses is installed but i ahvent done anything like re-emerge it yet...what might have broken this?
i am running ~x86 enabled but i cant remember anything that has been installed since the last time i ran make menuconfig that would change this. there was a program that was added called Safe?

any suggestions

thanks

edit:just occured to me that if i run gcc as su bash says command not found but as normal user says no input files...if i run source /etc/profile and type gcc i get the same no input files...what got borked?
Back to top
View user's profile Send private message
rommel
Veteran
Veteran


Joined: 19 Apr 2002
Posts: 1145
Location: Williamsburg Virginia

PostPosted: Sat Dec 28, 2002 2:04 am    Post subject: Reply with quote

i diecided to try emerge -e system and still get the same error after it had finished compiling everything.....no one is getting this same behavior?

again i am using ACCEPT_KEYWORD="~x86" and other then that the only other thing is i am running xfree-4.2.99.3-r1 but i cant see how that would matter.
Back to top
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7729
Location: Underworld

PostPosted: Sat Dec 28, 2002 2:37 am    Post subject: Reply with quote

Are you using gcc-3.2.1-rc6?
_________________
"I'm just very selective about the reality I choose to accept." -- Calvin
Back to top
View user's profile Send private message
rommel
Veteran
Veteran


Joined: 19 Apr 2002
Posts: 1145
Location: Williamsburg Virginia

PostPosted: Sat Dec 28, 2002 3:55 am    Post subject: Reply with quote

why yes mr. bastard i am....do you think its the source of this lil problem?

i submitted a bug....but like an idiot left the gcc version out...never did a bug before
Back to top
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7729
Location: Underworld

PostPosted: Sat Dec 28, 2002 4:14 am    Post subject: Reply with quote

Yes, I've read here and there that this version may cause some problems and it is more a version for developers (it even puts an advisory about it when you emerge it).

I am running gcc-3.2.1 without problems, may I suggest you to try it? Maybe you'll need to download a tarball and copy the binaries of gcc if you aren't able to emerge it using your current version.

EDIT I think that the guy in this thread has the same problem. Let's see....
_________________
"I'm just very selective about the reality I choose to accept." -- Calvin
Back to top
View user's profile Send private message
ChazeFroy
n00b
n00b


Joined: 26 Sep 2002
Posts: 27

PostPosted: Sat Dec 28, 2002 4:58 am    Post subject: Reply with quote

I am also having this problem when trying to manually install Ethereal and Mozilla. The ./configure and make go fine (I believe), but when I su to root with bash, it begins compiling things again and it gets caught in an infinite loop.

I was beginning to suspect that it was the fault of /bin/install (part of fileutils), but I guess this is not the case. Now I just hope I can roll back to a previous version of gcc without issues :?

EDIT:
My flags:
CFLAGS="-mcpu=athlon-tbird -O3 -pipe"
CHOST="i686-pc-linux-gnu"

My version of gcc is also 3.2.1-r6.
Back to top
View user's profile Send private message
ChazeFroy
n00b
n00b


Joined: 26 Sep 2002
Posts: 27

PostPosted: Sat Dec 28, 2002 5:50 am    Post subject: Reply with quote

I just tried to emerge gcc-3.2.1-r5, and I now no longer have a gcc binary. Attempting to do manual installs (from tarballs), when running ./configure, says that the "C compiler cannot create executables" (because there's no longer a gcc installed in my $PATH).

I've heard that users are "warned" when installing these versions of gcc, but portage goes ahead and installs them, without interaction, a few seconds later. This does not help with an unattended installation. Something needs to be done to force user interaction, by default, when installing these dangerous "developer-only" packages.

EDIT:
I found a gcc binary in /usr/i686-pc-linux-gnu/gcc-bin/3.2 and I copied that to /usr/bin. I'm now trying to build something from a tarball using this binary. I'll post a follow-up.
Back to top
View user's profile Send private message
rommel
Veteran
Veteran


Joined: 19 Apr 2002
Posts: 1145
Location: Williamsburg Virginia

PostPosted: Sat Dec 28, 2002 5:58 am    Post subject: Reply with quote

well i wasnt ahving any issue (that i was aware of ) with compiling programs...i ahve nstalled several things today , all of which work fine.

but anyway....i did as you suggested and emerged gcc-3.2.1-r0 and my troubles are gone.....thanks you bloodybastard you.

ciao
Back to top
View user's profile Send private message
ChazeFroy
n00b
n00b


Joined: 26 Sep 2002
Posts: 27

PostPosted: Sat Dec 28, 2002 6:10 am    Post subject: Reply with quote

The gcc I copied to /usr/bin (I suspect that it's gcc-3.2.1-r5, not -r6) produced the same results as the other gcc (-r6) when I tried to manually build packages from tarballs. I am now attempting to emerge gcc-3.2.1-r1 with this -r5 binary, hoping that it will work since I am not building it manually from a tarball.
Back to top
View user's profile Send private message
ChazeFroy
n00b
n00b


Joined: 26 Sep 2002
Posts: 27

PostPosted: Sat Dec 28, 2002 6:56 am    Post subject: Reply with quote

Using gcc-3.2.1-r5, my gcc-3.2.1-r1 seems to have built fine from portage. Previously, I could not compile anything from tarballs using gcc-3.2.1-r5 or gcc-3.2.1-r6. I just compiled Ethereal from a tarball with this newly-installed gcc-3.2.1-r1 compiler and it worked!
Back to top
View user's profile Send private message
rommel
Veteran
Veteran


Joined: 19 Apr 2002
Posts: 1145
Location: Williamsburg Virginia

PostPosted: Sat Dec 28, 2002 8:18 am    Post subject: Reply with quote

mmm...i do so love a happy ending....lol
Back to top
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7729
Location: Underworld

PostPosted: Fri Jan 03, 2003 2:02 pm    Post subject: Reply with quote

Moving to Dups, follow-ups to this thread.
_________________
"I'm just very selective about the reality I choose to accept." -- Calvin
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