Installed ncurses, now how do I get my app to use it?
Ryan Schmidt
ryandesign at macports.org
Sat Apr 26 16:33:20 PDT 2008
On Apr 26, 2008, at 6:02 PM, Timur Tabi wrote:
> I'm trying to cross-compile the Linux kernel. I've gotten pretty
> far, but "make menuconfig" fails with this message:
>
> *** Unable to find the ncurses libraries or the
> *** required header files.
> *** 'make menuconfig' requires the ncurses libraries.
> ***
> *** Install ncurses (ncurses-devel) and try again.
> ***
>
> I have ncurses installed via darwinports:
It's called MacPorts.
> $ sudo port list ncurses
> ncurses @5.6 devel/ncurses
>
> So how do I get the "menuconfig" command to use the version of
> ncurses installed in /opt/local?
>
> I'm sure this is a common problem, but I've searched the Wiki, the
> FAQ, and the mailing list archive and couldn't find any answers.
Try adding -I/opt/local/include to your CPPFLAGS and -L/opt/local/lib
to your LDFLAGS.
More information about the macports-users
mailing list