ncurses.h is not found, even though it is on the search path

830

configure scripts produce config.log (in the same folder) files which contain all the details on the tests it ran. They're not particularly easy to read, but open it up and search for "checking ncurses.h usability". Look at what went wrong with the small test program it tried to compile.

My guess is, it doesn't care about $C_INCLUDE_PATH and you'll need to pass it to the build system in a different matter. configure options (eg. --includedir=$HOME/local/include) and $CFLAGS + $CXXFLAGS + $CPPFLAGS (adding -I$HOME/local/include) come to mind.

Share:
830

Related videos on Youtube

Drenai
Author by

Drenai

Updated on September 18, 2022

Comments

  • Drenai
    Drenai over 1 year

    I heard it can be done, but would like to hear if anyone has imported a Flex 3.4/5 project to Flash Builder 4 and kept it working targeting the 3.4/5 sdk and releasing/debugging with Flash Player 9

    • Admin
      Admin almost 12 years
      make sure your two paths you mentioned at the start do not have the inlcude typo on the filesystem.
    • Admin
      Admin almost 12 years
      @lynxlynxlynx i fixed the typo in the question, thanks for pointing out
    • Admin
      Admin almost 10 years
      I found this guide really helpful for statically compiling tmux 1.9 on fedora 19: pyther.net/2014/03/building-tmux-1-9a-statically
  • Drenai
    Drenai over 13 years
    Good man. Just started in a new company, and want to have my facts straight if I ask them to use FB4!
  • behzad.nouri
    behzad.nouri almost 12 years
    I did ./configure CFLAGS=-I/home/w381833/local/include/ncurses CXXFLAGS=-I/home/w381833/local/include/ncurses and I got configure: WARNING: curses.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: curses.h: proceeding with the compiler's result. I think i am doing something wrong or that something is missing in here
  • lynxlynxlynx
    lynxlynxlynx almost 12 years
    add CPPFLAGS=-I/home/w381833/local/include/ncurses (for the preprocessor).
  • behzad.nouri
    behzad.nouri almost 12 years
    perfect, worked like charm, thanks @lynxlynxlynx