Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7731147
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T06:24:30+00:00 2026-06-01T06:24:30+00:00

I am trying to build Vim from the source packages, under Cygwin, to enable

  • 0

I am trying to build Vim from the source packages, under Cygwin, to enable Python support. I am following the instructions given here, but I’m hitting this error when I run the configure script:

checking --with-tlib argument... empty: automatic terminal library selection
checking for tgetent in -lncurses... no
checking for tgetent in -ltermlib... no
checking for tgetent in -ltermcap... no
checking for tgetent in -lcurses... no
no terminal library found
checking for tgetent()... configure: error: NOT FOUND!
      You need to install a terminal library; for example ncurses.
      Or specify the name of the library with --with-tlib.

The Vim source package gets downloaded as /usr/src/vim-7.3.tar.gz, which I extract and then attempt to build using:

./configure --prefix=/usr/local --enable-multibyte --without-x --enable-gui=no --enable-pythoninterp

The prefix option was suggested in this SO post, where the OP is having the exact same problem. However, I installed the ncurses Cygwin package (and also ncursesw), as well as their library equivalents, so I’m not sure what’s going wrong for me (i.e., why the configure script can’t find them). I’ve tried explicitly setting the --with-tlib argument (e.g., --with-tlib=/bin/cygncurses-10.dll, ncurses, libncurses10 and libncurses), but it fails in the same place with something like:

checking for linking with libncurses10 library... configure: error: FAILED

The ncurses packages I have installed are:

  • libncursesw10 (5.7-18)
  • libncurses10 (5.7-18)
  • libncurses9 (5.7-16)
  • libncurses8 (5.5-10)
  • ncurses (5.7-18)
  • ncursesw (5.7-18)

All suggestions welcome!!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T06:24:31+00:00Added an answer on June 1, 2026 at 6:24 am

    I think you’re missing a required package. Lengthy explanation follows; jump to the end for the answer.

    I ran the exact same ./configure ... command on my own system (Windows 7, Cygwin). Part of its output was:

    checking for tgetent in -lncurses... yes
    

    which indicates that I don’t have the same problem you have.

    The configure script writes a more verbose log to src/auto/config.log. On my system, that shows:

    configure:9777: checking for tgetent in -lncurses
    configure:9802: gcc -o conftest.exe -g -O2   -L/usr/local/lib conftest.c -lncurses  -lelf   >&5
    configure:9802: $? = 0
    configure:9812: result: yes
    

    The -lncurses option tells the linker to look at /usr/lib/libncurses.foo, where .foo can be .a, or .so, or .dll, depending on the system and whether you’re doing dynamic linking. On Cygwin, the cygcheck command can tell you which package owns a specified file or files. On my system:

    $ ls /usr/lib/libncurses.*
    /usr/lib/libncurses.a  /usr/lib/libncurses.dll.a  /usr/lib/libncurses.la
    $ cygcheck -f /usr/lib/libncurses.*
    libncurses-devel-5.7-18
    libncurses-devel-5.7-18
    libncurses-devel-5.7-18
    

    I believe that installing libncurses-devel (via the Cygwin setup.exe) should fix your problem.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to compile vim from source with python interpreter on Ubuntu. I
Trying to build the following simple example #include <boost/python.hpp> using namespace boost::python; tuple head_and_tail(object
I'm trying build a method which returns the shortest path from one node to
Trying to build sslsniff on a RHEL 5.2 system here. When compiling sslsniff on
Trying to build Xuggler under Windows. Xuggler is core native code functions wrapped into
I am trying build a DataTable one row at a time using the following
I have a std::vector< tr1::shared_ptr<mapObject> > that I'm trying build from data contained in
Trying to build dynamic output from json and using jq/template tmpl display rows/columns. Somehow
I`m trying to build a application using the Fragment/Tabs and Pager from the android
I'm trying to copy text from my vim search term. I spend a fair

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.