Cygwin — configure: error: Missing (n)curses library #480
Comments
zi-l commented Aug 25, 2020
issue
Error configure: error: Missing (n)curses library following command ./configure
however, ncurses is installed.
The text was updated successfully, but these errors were encountered:
zi-l commented Aug 25, 2020 •
there’s a workaround found:
download ncurses (currently v6.2), and build from source
wdoekes commented Sep 16, 2020
Have you tried the latest SIPp?
I just drafted a v3.6.1 that may have already fixed things for you:
https://github.com/SIPp/sipp/releases/tag/v3.6.1
NOTE: Please download sipp-3.6.1.tar.gz from link below instead of Source code (tar.gz). They are both source code, but the latter one is a snapshot of the git v3.6.1 tag and lacks version.h and sipp.1.
Note that 3.6.1 requires CMake.
zi-l commented Sep 21, 2020 •
@wdoekes
I’m not sure whether it is fixed or not.
I did not specify prefix when I installed ncurses , so I remove ncurses via:
- reinstall ncurses by specifying a prefix ,
- then remove the file in the environment that can be found in the prefix .
Then install sipp-3.6.1 via command
I have to restore curses.h ncurses_dll.h unctrl.h libncurses.a that I deleted to avoid errors below.
Finally done.
Testing is fine ./sipp -sn uac 127.0.0.1
Configure error missing libraries libncurses
I’m trying to install samtools 1.3 on my ubuntu instance. When I try «make» it get the following error
I have previously installed samtools using «apt-get» pre-compiled binary, but that is such an old version, I would like to get the latest version of samtools 1.3
Could anyone help me figure out how to fix this problem ?
Here are the steps I followed to fix it. Hope this is helpful to others
you’re missing the ncurses library. install ncurses
You could also try bioconda (https://bioconda.github.io). Once you have conda installed,
I am also having the same issue. I installed libncurses by giving this command
sudo apt-get install libncurses5-dev libncursesw5-dev
and this is the output of above command
Output of above command
$ sudo apt-get install libncurses5-dev libncursesw5-dev
Reading package lists. Done
Building dependency tree
Reading state information. Done
libncurses5-dev is already the newest version.
libncursesw5-dev is already the newest version.
The following packages were automatically installed and are no longer required:
Use ‘apt-get autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded
but when i again changed the directory to samtools and given the command for configuring the same issue was there.
$ cd samtools-1.3.1 ammar@ammar-HP-15-Notebook-PC:
checking for gcc. gcc
checking whether the C compiler works. yes
checking for C compiler default output file name. a.out
checking for suffix of executables.
checking whether we are cross compiling. no
checking for suffix of object files. o
checking whether we are using the GNU C compiler. yes
checking whether gcc accepts -g. yes
checking for gcc option to accept ISO C89. none needed
checking for special C compiler options needed for large files. no
checking for _FILE_OFFSET_BITS value needed for large files. no
checking location of HTSlib source tree. htslib-1.3.1
./configure: line 3086: AX_WITH_CURSES: command not found
configure: error: curses development files not found
The ‘samtools tview’ command uses the curses text user interface library. Building samtools with tview requires curses/ncurses/etc development files to be installed on the build machine; you may need to ensure a package such as libncurses5-dev (on Debian or Ubuntu Linux) or ncurses-devel (on RPM-based Linux distributions) is installed.
FAILED. Either configure —without-curses or resolve this error to build samtools successfully.
[error] configure: error: ssl library missing #1129
Comments
asfo commented May 28, 2018 •
Hi, I’m trying to run GoAccess with HTTPS but I can’t even compile it in a Docker container because it shows the error:
configure: error: ssl library missing
I already have the libssl-dev installed but when I try to compile my container it prints that error.
If I remove it, it compiles correctly but I can’t use this without SSL support.
PS: I’m using the 1.2 version
Thanks for your support.
The text was updated successfully, but these errors were encountered:
allinurl commented May 29, 2018
Did you follow this instructions or did you build your custom image? Those instructions should give you an image with ssl built-in.
asfo commented May 29, 2018
Since I’m running GoAccess inside my own container related to Nginx, I didn’t at the beginning.
If I’m not wrong, if I’m running a container based on Ubuntu, I can use the instructions for Ubuntu, because it should actually loads and compile the same as if was not inside a container.
Anyways, I was fighting with that so I tried to run it outside of the container and install it at the server-level, but didn’t works also, same issue.
I just read the Dockerfile from those instructions and tried to add them inside my Nginx container again, didn’t worked.
So, I tried to add the volume in my docker-compose from my Nginx container so the access and error logs are outside of the containers also and I tried to add this to my docker-compose so I can use the same Dockerfile as those instructions and keep reading the logs from outside the container based on a volume, didn’t work also.
I just can’t compile the GoAccess with —with-openssl flag.
Finally, this is an extra question because I actually can run this without SSL for now, but, is there a way to start the container with the goaccess using docker-compose and an entrypoint.sh?.
Because when I run this without —with-openssl flag, I can run it inside the container which is actually doing at this moment so we use the -c flag to show it in console, but, if I run in this way:
configure: error: *** Missing development libraries for ncursesw #102
Comments
solarcellsky commented Apr 18, 2014
sudo ./configure —enable-geoip —enable-utf8
Password:
checking for a BSD-compatible install. /usr/bin/install -c
checking whether build environment is sane. yes
checking for a thread-safe mkdir -p. ./install-sh -c -d
checking for gawk. gawk
checking whether make sets $(MAKE). yes
checking whether make supports nested variables. yes
checking for gcc. gcc
checking whether the C compiler works. yes
checking for C compiler default output file name. a.out
checking for suffix of executables.
checking whether we are cross compiling. no
checking for suffix of object files. o
checking whether we are using the GNU C compiler. yes
checking whether gcc accepts -g. yes
checking for gcc option to accept ISO C89. none needed
checking whether gcc understands -c and -o together. yes
checking for style of include used by make. GNU
checking dependency style of gcc. gcc3
checking for pthread_create in -lpthread. yes
checking for GeoIP_new in -lGeoIP. yes
checking for mvaddwstr in -lncursesw. no
configure: error: *** Missing development libraries for ncursesw
The text was updated successfully, but these errors were encountered:
allinurl commented Apr 18, 2014
@solarcellsky do you know if ncursesw is in the ports tree? have you tried without —enable-utf8 ?
allinurl commented Apr 21, 2014
just following on this, were you able to install it with wide-character/UTF-8 support?
You may also want to try using $ brew install goaccess
allinurl commented May 20, 2014
Closing this, feel free to reopen it if necessary.
somandubey commented Aug 29, 2014
No it did not work for me either..
even without —enable-utf8
allinurl commented Sep 2, 2014
Are you getting the same error? Also, are you able to run any other ncurses-based program? You may need to install it through brew.
Vaviloff commented Sep 30, 2014
I’m having the same problem on Ubuntu 14.04 with ncurses-dev installed.
Was able to compile without —enable-utf8
allinurl commented Sep 30, 2014
To use —enable-utf8 you need to install ncursesw . The following should do it in Ubuntu:
Vaviloff commented Oct 1, 2014
Oh, thanks a lot. That solved it!
xokvictor commented Feb 17, 2015
webuniverseio commented Mar 9, 2015
I’m on debian 7, I had to install apt-get install libncurses5-dev to make it work.
Wislow commented Jun 16, 2015
I had same problem, but I figure it out that I didn’t have geoIP Library. So, I found this site and install the library. (My server is centOS)
http://www.spidersoft.com.au/2012/how-to-install-geoip-extension-on-centos/
yum install GeoIP-devel
and after install this library, I commanded,
sudo ./configure —enable-geoip
then Makefile was created (not Makefile.in or Makefile.am), and I could execute the command «make» !
hope somebody get help from this comment!
thanks.
Missing or broken libncurses.so.5 library
Description
This library is needed by some console Windows applications.
Resolution
On CrossOver 17 and greater, the simplest solution to fix this issue is to run:
Or add —show-all to see how CrossOver would fix it on your platform and others.
Alternatively you may try one of the commands below.
- For 32-bit Windows applications
Debian : apt-get install libncurses5:i386
32-bit Fedora >= 13 : yum install ncurses-libs
64-bit Fedora >= 13 : yum install ncurses-libs.i686 ncurses-libs.x86_64
32-bit Fedora >= 24 : dnf install —best ncurses-compat-libs
64-bit Fedora >= 24 : dnf install —best ncurses-compat-libs.i686 ncurses-compat-libs.x86_64
32-bit openSUSE : zypper install libncurses5
64-bit openSUSE : zypper install libncurses5-32bit - For 64-bit Windows applications
Debian : apt-get install libncurses5:amd64
Fedora >= 13 : yum install ncurses-libs
Fedora >= 24 : dnf install —best ncurses-compat-libs
openSUSE : zypper install libncurses5
- cxfix —show-all may have more up-to-date fixes.
- The commands usually also apply to newer versions of the distributions above as well as derived distributions . So for instance a fix for Debian 7 may still be valid for the latest Debian Testing and is typically also applicable to Ubuntu, Linux Mint, Deepin and Pop! OS. Similarly a fix for Fedora likely also works on Red Hat Enterprise Linux, CentOS, etc.
Getting Around
CodeWeavers
We’re rebels. We’re misfits. But mostly, we’re software liberators. And we’re very, very good at what we do. We have to be. Lots of developers work with open source, but only a tiny fraction of those are good enough to get software that was designed for one platform to work on another one. We invented CrossOver software — a unique approach to cross-platform compatibility that does not require dual-boot or another OS license. We launched PortJump to help app and game developers broaden their market beyond Windows® users. And we launched ExecMode to help organizations solve really ugly technical challenges.
Please upgrade your browser to use our website.