bug-zile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-zile] Configure can't find Termcap in /usr/local


From: Jeffrey Walton
Subject: [Bug-zile] Configure can't find Termcap in /usr/local
Date: Wed, 7 Feb 2018 00:43:14 -0500

My environment is:

    PKGCONFIG: /usr/local/lib/pkgconfig
     CPPFLAGS: -I/usr/local/include -DNDEBUG
       CFLAGS: -g2 -O2 -march=native -fPIC
     CXXFLAGS: -g2 -O2 -march=native -fPIC
      LDFLAGS: -L/usr/local/lib -Wl,-R,/usr/local/lib -Wl,--enable-new-dtags
       LIBS: -ldl -lpthread

My Configure is:

  $ ./configure --prefix=/usr/local --libdir=/usr/local/lib64
--enable-shared --enable-threads=posix

Make'ing results in:

  ...
  CC       src/term_redisplay.o
  CC       src/term_curses.o
src/term_curses.c:36:4: error: #error "SysV or X/Open-compatible
Curses header file required"
 #  error "SysV or X/Open-compatible Curses header file required"
    ^~~~~
src/term_curses.c:38:10: fatal error: term.h: No such file or directory
 #include <term.h>
          ^~~~~~~~
compilation terminated.

term.h is in /usr/local:

  $ find /usr/local -name term.h
  /usr/local/include/ncursesw/term.h

I was not sure how --with-ncurses and --without-ncursesw interacted,
so I did not use them. It seems like ncursesw is used unless disabled
using --without-ncursesw.

Any ideas?

Thanks in advance.

Jeff



reply via email to

[Prev in Thread] Current Thread [Next in Thread]