[SOLVED] Compiling Calcurse with error "Can't find ncurses", but it's there

Hello.
Thanks for your comment.
I just tried some hint I found over at askubuntu.
I set the environment variable:

export LDFLAGS=‘-L/opt/ncurses/lib/’

Doesn’t work yet, but I get some other errors now:


checking for initscr… no
checking for initscr in -lncursesw… no
checking for initscr in -lncurses… yes
checking ncurses/ncurses.h usability… no
checking ncurses/ncurses.h presence… no
checking for ncurses/ncurses.h… no
checking ncurses.h usability… no
checking ncurses.h presence… no
checking for ncurses.h… no
configure: error: Missing ncurses header file

And then I set:

export CPPFLAGS=’-I/opt/ncurses/include/’

And voilá. It compiled.
Thanks for the help.

2 Likes