Re: Compiling tmux as non-root user

2013-03-19 Thread Jai Dayal
Okay, got it to compile and run. Just had to add -levent On Tue, Mar 19, 2013 at 3:34 PM, Jai Dayal wrote: > Okay, I am an idiot. Thanks everyone for your patience! > > Basically, for the LIBEVENT_LIBS flag, I was just doing > LIBEVENT_LIBS="/net/blahblah" what I needed to do was just > LIBEV

Re: Compiling tmux as non-root user

2013-03-19 Thread Jai Dayal
Okay, I am an idiot. Thanks everyone for your patience! Basically, for the LIBEVENT_LIBS flag, I was just doing LIBEVENT_LIBS="/net/blahblah" what I needed to do was just LIBEVENT_LIBS="-L/net/blahblah" Now it configures, however, I get a lot of errors when I run make: tty.c:(.text+0xd93): und

Re: Compiling tmux as non-root user

2013-03-19 Thread Jai Dayal
I removed that extraneous $ and it still did not work. :-( Jai On Tue, Mar 19, 2013 at 3:17 PM, Nicholas Marriott < nicholas.marri...@gmail.com> wrote: > did you get it working without that incorrect -L? > > > On Tue, Mar 19, 2013 at 02:08:59PM -0400, Jai Dayal wrote: > >At any rate, shoul

Re: Compiling tmux as non-root user

2013-03-19 Thread Nicholas Marriott
did you get it working without that incorrect -L? On Tue, Mar 19, 2013 at 02:08:59PM -0400, Jai Dayal wrote: >At any rate, should the configure script not be changed so it's a bit >more... configurable?* i.e., many libraries (take ADIOS as an example) let >you specify a location for e

Re: Compiling tmux as non-root user

2013-03-19 Thread Jai Dayal
At any rate, should the configure script not be changed so it's a bit more... configurable? i.e., many libraries (take ADIOS as an example) let you specify a location for each other library on which it is dependent.. i.e., ./configure --prefix=$HOME --with-mxml=$HOME/mxml --with-infinibad=/net/bla

Re: Compiling tmux as non-root user

2013-03-19 Thread Jai Dayal
rpm and yum are disabled on this machine. It's a supercomputer (titan at ORNL) and the login nodes run full linux (in this instance, rhel) where as the compute nodes run Compute Node Linux (i.e., no virtual memory, no shared libraries, etc). At any rate, that doesn't matter it's irrelevant. is t

Re: Compiling tmux as non-root user

2013-03-19 Thread Nicholas Marriott
On Tue, Mar 19, 2013 at 10:02:25AM -0400, Jai Dayal 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 >

Re: Compiling tmux as non-root user

2013-03-19 Thread Nicholas Marriott
It won't matter if you have things installed correctly, you aren't supposed to point things into include/ncurses. Just make sure you /path/to/include/ncurses.h is present and use -I/path/to/include. On Tue, Mar 19, 2013 at 10:40:32AM -0400, Jai Dayal wrote: >Hmm, Okay, I took that out but I

Re: Compiling tmux as non-root user

2013-03-19 Thread Jai Dayal
The login node is RHEL 5.8. Thanks for the quick replies, everyone! On Tue, Mar 19, 2013 at 11:36 AM, Patrick Shanahan wrote: > * Jai Dayal [03-19-13 10:34]: > > as I stated, the sources downloaded and installed successfully. I can't > > use sudo and there is no apt, yum, etc. I am also not a

Re: Compiling tmux as non-root user

2013-03-19 Thread Patrick Shanahan
* Jai Dayal [03-19-13 10:34]: > as I stated, the sources downloaded and installed successfully. I can't > use sudo and there is no apt, yum, etc. I am also not a root user. > > On Tue, Mar 19, 2013 at 10:28 AM, Thiago Padilha wrote: > > > Install development packages for ncurses using your dist

Re: Compiling tmux as non-root user

2013-03-19 Thread Jai Dayal
Hmm, Okay, I took that out but I still get the same problem :-( On Tue, Mar 19, 2013 at 9:11 AM, Paul Hoffman wrote: > On Tue, Mar 19, 2013 at 12:03:47AM -0400, Jai Dayal wrote: > > ./configure --prefix=/net/hu19/skeller/x86_64-5.9 > > CPPFLAGS="-Inet/hu19/skeller/x86_64-5.9/include > > -I$net/h

Re: Compiling tmux as non-root user

2013-03-19 Thread Paul Hoffman
On Tue, Mar 19, 2013 at 12:03:47AM -0400, Jai Dayal wrote: > ./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

Re: Compiling tmux as non-root user

2013-03-19 Thread Jai Dayal
as I stated, the sources downloaded and installed successfully. I can't use sudo and there is no apt, yum, etc. I am also not a root user. On Tue, Mar 19, 2013 at 10:28 AM, Thiago Padilha wrote: > Install development packages for ncurses using your distro package > manager. If you are using a re

Re: Compiling tmux as non-root user

2013-03-19 Thread Thiago Padilha
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 wrote: > Thanks for the reply. Here's what it says

Re: Compiling tmux as non-root user

2013-03-19 Thread Jai Dayal
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 -

Re: Compiling tmux as non-root user

2013-03-19 Thread Nicholas Marriott
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