开发者

Fail to install mysql on cygwin, No curses/termcap library found

开发者 https://www.devze.com 2022-12-25 05:06 出处:网络
Fail to install mysql on cygwin. When do .开发者_如何学C/configure, experienced following error:

Fail to install mysql on cygwin.

When do .开发者_如何学C/configure, experienced following error:

checking for termcap functions library... configure: error: No curses/termcap library found

any idea?


I ran into the same issue.

Run cygwin setup (http://www.cygwin.com/setup.exe) and then in the dialog search for libncurses. Choose the appropriate one and install it. Also search for libtermcap and install it.

That should fix this.


I think the problem is that you don't have the libncurses package installed in your Cygwin setup.


In my case I also got the same missing library error, but the cause was different. I did install cygwin and the libraries, but on the same laptop I already had Perl for Windows installed. Via the PATH the gcc compiler was found in

c:\perl\... instead  of in c:\cygwin\...

This mashed things up. Quick and dirty solution was to rename c:\perl keeping PATH the same.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号