Skip to content
This repository has been archived by the owner on Apr 6, 2021. It is now read-only.

configure: error: "curses not found" #19

Closed
clemenko opened this issue Feb 28, 2015 · 14 comments
Closed

configure: error: "curses not found" #19

clemenko opened this issue Feb 28, 2015 · 14 comments

Comments

@clemenko
Copy link

configure: error: "curses not found" when installing on centos 7. Is this a known issue?

[root@play c9sdk]# rpm -qa|grep curse
ncurses-libs-5.9-13.20130511.el7.x86_64
ncurses-5.9-13.20130511.el7.x86_64
ncurses-devel-5.9-13.20130511.el7.x86_64
ocaml-curses-1.0.3-17.el7.x86_64
ncurses-base-5.9-13.20130511.el7.noarch
ocaml-curses-devel-1.0.3-17.el7.x86_64
is installed.

@javruben
Copy link

This is not a known issue.
This issue would be best placed in this repo: https://github.com/c9/install/issues

Curses is used to compile tmux. If tmux is installed via a package it is not compiled. May I suggest to install tmux via rpm to prevent this error?

@javruben
Copy link

javruben commented Mar 5, 2015

This is now fixed. See c9/install#24 (comment)

@javruben javruben closed this as completed Mar 5, 2015
@joshuatam
Copy link

Just tried to install, seems I have to install glibc-static too

@redrockzee
Copy link

redrockzee commented Jun 16, 2016

This is not fixed or is broken again. It fails for me on Oracle Linux.

[wwz1@dovaolv01d c9sdk]$ uname -a
Linux dovaolv01d 3.8.13-118.3.1.el6uek.x86_64 #2 SMP Fri Jan 29 16:54:21 PST 2016 x86_64 x86_64 x86_64 GNU/Linux

@ajaygh
Copy link

ajaygh commented Jun 17, 2016

simply install ncurses-dev on ubuntu by sudo apt-get install ncurses-dev

@ordinaryparksee
Copy link

I solved by installing glibc-static

@mengdodo
Copy link

楼上的完美解决了我的问题,thanks,我的环境是centos6.5

@xluohome
Copy link

yum install glibc-static

@ygeo
Copy link

ygeo commented May 9, 2017

 # if you are on GentOs or RH
 sudo yum install ncurses-devel

@MyKings
Copy link

MyKings commented Jul 5, 2017

$ sudo yum install glibc-static ncurses-devel

@leipzig
Copy link

leipzig commented Aug 16, 2017

sudo yum install tmux.x86_64 on rhel7

@pjbrunet
Copy link

CentOS 6 here, thanks @MyKings that's what I needed.

@sammysosa12
Copy link

have anyone tried this on kali linux im having a hard time getting ncurses on there . has anyone have this problem?

@jppgks
Copy link

jppgks commented Feb 8, 2019

Or, build ncurses from source when you don't have root access (using --prefix to specify an install directory other than /usr/local/bin)

  1. Install ncurses
# Download & extract source (anywhere)
wget https://ftp.gnu.org/pub/gnu/ncurses/ncurses-6.1.tar.gz
tar -xvf ncurses-6.1.tar.gz
cd ncurses-6.1
# Install
./configure --prefix=$WORKSPACE
make
make install
  1. Set CFLAGS to include ncurses directory when building another program.
./configure --prefix=$WORKSPACE \
  CFLAGS="-I$WORKSPACE/include -I$WORKSPACE/include/ncurses" \
  LDFLAGS="-L$WORKSPACE/lib"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests