I had the exact same problem recently.

I assume you are using the su command to get root privileges to do the
compile.

Instead use the command su -

This should work.

As to why, I cannot fully explain it, but the 1st version doesn't get
you the full root environment.  (Yeah, I know it used to work, same
here)

HTH

John H

On Tue, 2003-03-25 at 02:23, Jason Nielsen wrote:
> Hi all,
> 
>       Was trying to rebuild my kernel and I get the following message
> when I 'make menuconfig':
> 
> /bin/sh: line 1: gcc: command not found
> 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.19-gentoo-r10/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.19-gentoo-r10/scripts/lxdialog'
> make: *** [menuconfig] Error 2
> 
> 
> Now I re-emerge ncurses and the error is still the same.  Weird, the gcc
> not found is also rather frightening!  So next I try make 'xconfig' and 
> get the following:
> 
> /bin/sh: line 1: gcc: command not found
> rm -f include/asm
> ( cd include ; ln -sf asm-i386 asm)
> make -C scripts kconfig.tk
> make[1]: Entering directory `/usr/src/linux-2.4.19-gentoo-r10/scripts'
> gcc -Wall -Wstrict-prototypes -Os -fomit-frame-pointer -c -o tkparse.o
> tkparse.c
> make[1]: gcc: Command not found
> make[1]: *** [tkparse.o] Error 127
> make[1]: Leaving directory `/usr/src/linux-2.4.19-gentoo-r10/scripts'
> make: *** [xconfig] Error 2
> 
> Hmmm.. gcc command not found again!  A 'make config' works so if worse
> comes to worse ;-)!  Any input? TIA.
> 
> Jason
> 
> 
> 
> --
> [EMAIL PROTECTED] mailing list
-- 
John H <[EMAIL PROTECTED]>


--
[EMAIL PROTECTED] mailing list

Reply via email to