Install development packages for ncurses using your distro package manager. If you are using a recent version of ubuntu or debian enter the following:
sudo apt-get install libncurses5-dev libevent-dev On Tue, Mar 19, 2013 at 11:02 AM, Jai Dayal <dayals...@gmail.com> wrote: > Thanks for the reply. Here's what it says: > > configure:4916: checking for library containing setupterm > configure:4947: gcc -o conftest -I /net/hu19/skeller/x86_64-5.9/include > -I/net/hu19/skeller/x86_64-5.9/include > -I/net/hu19/skeller/x86_64-5.9/include/ncurses -L > /net/hu19/skeller/x86_64-5.9/lib > -L/net/hu19/skeller/x86_64-5.9/include/ncurses conftest.c > /net/hu19/skeller/x86_64-5.9/lib -lrt >&5 > /net/hu19/skeller/x86_64-5.9/lib: file not recognized: Is a directory > collect2: ld returned 1 exit status > configure:4947: $? = 1 > > > configure:4947: gcc -o conftest -I /net/hu19/skeller/x86_64-5.9/include > -I/net/hu19/skeller/x86_64-5.9/include > -I/net/hu19/skeller/x86_64-5.9/include/ncurses -L > /net/hu19/skeller/x86_64-5.9/lib > -L/net/hu19/skeller/x86_64-5.9/include/ncurses conftest.c -lterminfo > /net/hu19/skeller/x86_64-5.9/lib -lrt >&5 > /usr/bin/ld: cannot find -lterminfo > collect2: ld returned 1 exit status > configure:4947: $? = 1 > > configure:4947: gcc -o conftest -I /net/hu19/skeller/x86_64-5.9/include > -I/net/hu19/skeller/x86_64-5.9/include > -I/net/hu19/skeller/x86_64-5.9/include/ncurses > -L /net/hu19/skeller/x86_64-5.9/lib > -L/net/hu19/skeller/x86_64-5.9/include/ncurses conftest.c -lncurses > /net/hu19/skeller/x86_64-5.9/lib -lrt >&5 > /net/hu19/skeller/x86_64-5.9/lib: file not recognized: Is a directory > collect2: ld returned 1 exit status > configure:4947: $? = 1 > > > The last one is where it says ncurses is not found... I am not sure how to > fix it? > > Jai > > > > On Tue, Mar 19, 2013 at 5:31 AM, Nicholas Marriott > <nicholas.marri...@gmail.com> wrote: >> >> >> Look in config.log and see why the test to find curses failed. >> >> >> On Tue, Mar 19, 2013 at 12:03:47AM -0400, Jai Dayal wrote: >> > Hi, >> > * I'm trying to install tmux as a non-root user on a login node for a >> > cluster.* I have to install ncurses and libevent myself.* That's no >> > problem, as they both built and installed fine. >> > >> > libevent is 2.0.21-stable,* ncurses is 5.9.* Both are installed here: >> > net/hu19/skeller/x86_64-5.9* (lib/include/bin...) >> > >> > Here is how I configure tmux: >> > >> > ./configure --prefix=/net/hu19/skeller/x86_64-5.9 >> > CPPFLAGS="-Inet/hu19/skeller/x86_64-5.9/include >> > -I$net/hu19/skeller/x86_64-5.9/include/ncurses" LDFLAGS="-L >> > net/hu19/skeller/x86_64-5.9/lib" >> > LIBEVENT_LIBS="/net/hu19/skeller/x86_64-5.9/lib" LIBEVENT_CFLAGS="-I >> > /net/hu19/skeller/x86_64-5.9/include" >> > >> > However, when configuring tmux, I get: >> > >> > .... >> > .... >> > >> > checking sys/tree.h usability... no >> > checking sys/tree.h presence... no >> > checking for sys/tree.h... no >> > checking term.h usability... yes >> > checking term.h presence... yes >> > checking for term.h... yes >> > checking util.h usability... no >> > checking util.h presence... no >> > checking for util.h... no >> > checking for gcc that whines about -I... yes >> > checking for glibc... yes >> > checking for library containing clock_gettime... -lrt >> > checking for pkg-config... /usr/bin/pkg-config >> > checking pkg-config is at least version 0.9.0... yes >> > checking for LIBEVENT... yes >> > checking for library containing setupterm... no >> > configure: error: "curses not found" >> > >> > Any ideas what I'm doing wrong? >> > >> > Thanks! >> >> > >> > ------------------------------------------------------------------------------ >> > Everyone hates slow websites. So do we. >> > Make your web apps faster with AppDynamics >> > Download AppDynamics Lite for free today: >> > http://p.sf.net/sfu/appdyn_d2d_mar >> >> > _______________________________________________ >> > tmux-users mailing list >> > tmux-users@lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/tmux-users >> > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_mar > _______________________________________________ > tmux-users mailing list > tmux-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/tmux-users > ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users