I don't compile kernels very often.  Once I get my system "nice" I
usually don't fuss with it.  However, just recently, I decided to tweak
my kernel.   Since my last compilation, I have emerged a lot of new
packages.

My typical procedure for kernel compilation is to open a terminal in X,
su, cd to the linux source, and then "make menuconfig"

However, when I did this the other day, I got the following errors:

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-ac2/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-ac2/scripts/lxdialog'
make: ***[menuconfig] Error 2

Well, I do have ncurses installed, but just to be safe, I re-emerged
it.  No difference.

And what's that gcc not found?
gcc works for all my emerges, which I do in an x-terminal


My typical terminal is aterm, but I get the same behaviour in xterm, and
konsole.

By the way, I switched to a text console, and there, "make menuconfig"
worked perfectly.


As I said, I have emerged a lot of packages since my last kernel
compile, but here is what I think may be important for diagnosis

Current versions

portage-2.0.46-r12
gcc-3.2.1-r6  (And it's the only gcc I have)
ncurses-5.3-r1
fluxbox-0.1.14-r1  (my current wm)
xfree-4.2.1-r2  (slightly patched for drm/dri)
kde  3.1 and 3.05a

kernel is ac-sources,  2.4.20-ac2


If necessary, I could go to my emerge.log and list everything  emerged
since my previous kernel compile.

So, any ideas about this?

Thanks.

-- 
Johnh <[EMAIL PROTECTED]>


--
[EMAIL PROTECTED] mailing list

Reply via email to