Bruno Lustosa wrote:
* Johnh <[EMAIL PROTECTED]> [13-02-2003 21:10]:

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'
Not ncurses missing. Just that make can't find gcc. I got this bug here as well. Well, it seems like a bug at least. Here's what I found
out:

If I log in as a normal user and type "gcc", it works ("no input files").

If I log as root and type "gcc", also works fine.

However, if I log in as normal user, su to root and type gcc, it complains about not finding gcc-config (which IS in path, at /usr/sbin).
I had the same problem. With gentoo, you have to "su -" for bash to
recognize it's a login shell, and pick up the .bash_profile, .bashrc and
etc. I made an alias for my .bashrc that says:

alias su="su -"

so I don't have to remember to do it. You may wish to
ensure that .bash_profile sources /etc/profile also, though that is
setup by default.

Neal


--
[EMAIL PROTECTED] mailing list

Reply via email to