Kbuild, be it the kernel's or busybox, assumes that ncurses is available
in /usr or /usr/local, and nowhere else. To override those assumptions if
your ncurses package isn't installed in a "standard" location, you need
a few workarounds, as in manual make variables.
My hand-built ncurses is installed in /opt/ncurses (.../include and .../lib).
For it to be found, I invoke make menuconfig this way:
make menuconfig \
HOST_EXTRACFLAGS='-I/opt/ncurses/include -DKBUILD_NO_NLS
-DCURSES_LOC="<ncurses/ncurses.h>"' \
HOST_LOADLIBES='-L/opt/ncurses/lib -static -lncurses'
Yes, that's HOST_LOADLIBES with an 'E'.
Replace /opt/ncurses with the full path to your ncurses installation.
Feel free to remove -static if you're using glibc and/or don't mind
configuring your dynamic linker so that it knows how to find your
libncurses.so library.
--
Laurent
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox