View previous topic :: View next topic |
Author |
Message |
rommel Veteran
Joined: 19 Apr 2002 Posts: 1145 Location: Williamsburg Virginia
|
Posted: Fri Dec 27, 2002 7:38 pm Post subject: make menuconfig fails |
|
|
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 |
|
|
rommel Veteran
Joined: 19 Apr 2002 Posts: 1145 Location: Williamsburg Virginia
|
Posted: Sat Dec 28, 2002 2:04 am Post subject: |
|
|
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 |
|
|
pilla Bodhisattva
Joined: 07 Aug 2002 Posts: 7729 Location: Underworld
|
Posted: Sat Dec 28, 2002 2:37 am Post subject: |
|
|
Are you using gcc-3.2.1-rc6? _________________ "I'm just very selective about the reality I choose to accept." -- Calvin |
|
Back to top |
|
|
rommel Veteran
Joined: 19 Apr 2002 Posts: 1145 Location: Williamsburg Virginia
|
Posted: Sat Dec 28, 2002 3:55 am Post subject: |
|
|
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 |
|
|
pilla Bodhisattva
Joined: 07 Aug 2002 Posts: 7729 Location: Underworld
|
Posted: Sat Dec 28, 2002 4:14 am Post subject: |
|
|
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 |
|
|
ChazeFroy n00b
Joined: 26 Sep 2002 Posts: 27
|
Posted: Sat Dec 28, 2002 4:58 am Post subject: |
|
|
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 |
|
|
ChazeFroy n00b
Joined: 26 Sep 2002 Posts: 27
|
Posted: Sat Dec 28, 2002 5:50 am Post subject: |
|
|
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 |
|
|
rommel Veteran
Joined: 19 Apr 2002 Posts: 1145 Location: Williamsburg Virginia
|
Posted: Sat Dec 28, 2002 5:58 am Post subject: |
|
|
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 |
|
|
ChazeFroy n00b
Joined: 26 Sep 2002 Posts: 27
|
Posted: Sat Dec 28, 2002 6:10 am Post subject: |
|
|
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 |
|
|
ChazeFroy n00b
Joined: 26 Sep 2002 Posts: 27
|
Posted: Sat Dec 28, 2002 6:56 am Post subject: |
|
|
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 |
|
|
rommel Veteran
Joined: 19 Apr 2002 Posts: 1145 Location: Williamsburg Virginia
|
Posted: Sat Dec 28, 2002 8:18 am Post subject: |
|
|
mmm...i do so love a happy ending....lol |
|
Back to top |
|
|
pilla Bodhisattva
Joined: 07 Aug 2002 Posts: 7729 Location: Underworld
|
Posted: Fri Jan 03, 2003 2:02 pm Post subject: |
|
|
Moving to Dups, follow-ups to this thread. _________________ "I'm just very selective about the reality I choose to accept." -- Calvin |
|
Back to top |
|
|
|