Okay, got it to compile and run.  Just had to add -levent

On Tue, Mar 19, 2013 at 3:34 PM, Jai Dayal <dayals...@gmail.com> 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
> LIBEVENT_LIBS="-L/net/blahblah"
>
> Now it configures, however, I get a lot of errors when I run make:
>
> tty.c:(.text+0xd93): undefined reference to `bufferevent_write'
> window-copy.o: In function `window_copy_init':
> window-copy.c:(.text+0x108): undefined reference to `bufferevent_disable'
> window-copy.o: In function `window_copy_free':
> window-copy.c:(.text+0x3ab): undefined reference to `bufferevent_enable'
> window.o: In function `window_destroy':
> window.c:(.text+0x2fef): undefined reference to `event_initialized'
> window.c:(.text+0x3000): undefined reference to `event_del'
> window.o: In function `window_pane_destroy':
> window.c:(.text+0x3bfe): undefined reference to `event_initialized'
> window.c:(.text+0x3c0f): undefined reference to `event_del'
> window.c:(.text+0x3c2e): undefined reference to `bufferevent_free'
> window.c:(.text+0x3c95): undefined reference to `bufferevent_free'
> window.o: In function `window_pane_spawn':
> window.c:(.text+0x3d32): undefined reference to `bufferevent_free'
> window.c:(.text+0x4144): undefined reference to `bufferevent_new'
> window.c:(.text+0x4167): undefined reference to `bufferevent_enable'
> window.o: In function `window_pane_timer_start':
> window.c:(.text+0x41a2): undefined reference to `event_del'
> window.c:(.text+0x41c5): undefined reference to `event_set'
> window.c:(.text+0x41d6): undefined reference to `event_add'
> window.o: In function `window_pane_read_callback':
> window.c:(.text+0x42f0): undefined reference to `evbuffer_get_length'
> window.c:(.text+0x433f): undefined reference to `evbuffer_pullup'
> window.c:(.text+0x435b): undefined reference to `bufferevent_write'
> window.c:(.text+0x437b): undefined reference to `evbuffer_get_length'
> osdep-linux.o: In function `osdep_event_init':
> osdep-linux.c:(.text+0x18e): undefined reference to `event_init'
>
> collect2: ld returned 1 exit status
>
>
> That's just the tail end of it..
>
> Jai
>
> On Tue, Mar 19, 2013 at 3:25 PM, Feanil Patel <fea...@gmail.com> wrote:
>
>> Can you send back the error you're getting?  Is it the same?  If it is
>> what does the configure log say.  It is pretty verbose about what test
>> actually fails.
>> On Mar 19, 2013 3:21 PM, "Jai Dayal" <dayals...@gmail.com> wrote:
>>
>>>  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, 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/blahblahblah
>>>> >
>>>> >    On Tue, Mar 19, 2013 at 2:05 PM, Jai Dayal <[1]dayals...@gmail.com>
>>>> wrote:
>>>> >
>>>> >      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 there no way to install tmux without being a root user?
>>>> >
>>>> >      On Tue, Mar 19, 2013 at 1:05 PM, Patrick Shanahan <[2]
>>>> p...@opensuse.org>
>>>> >      wrote:
>>>> >
>>>> >        * Jai Dayal <[3]dayals...@gmail.com> [03-19-13 11:59]:
>>>> >        > The login node is RHEL 5.8.
>>>> >        >
>>>> >        > Thanks for the quick replies, everyone!
>>>> >        >
>>>> >        > On Tue, Mar 19, 2013 at 11:36 AM, Patrick Shanahan
>>>> >        <[4]p...@opensuse.org>wrote:
>>>> >        >
>>>> >        > > * Jai Dayal <[5]dayals...@gmail.com> [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
>>>> >        <[6]tpadilh...@gmail.com
>>>> >        > > >wrote:
>>>> >        > > >
>>>> >        > > > > 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
>>>> >        <[7]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
>>>> >        > > > > > <[8]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:
>>>> >        > > > > >> > [9]http://p.sf.net/sfu/appdyn_d2d_mar
>>>> >        > > > > >>
>>>> >        > > > > >> > _______________________________________________
>>>> >        > > > > >> > tmux-users mailing list
>>>> >        > > > > >> > [10]tmux-users@lists.sourceforge.net
>>>> >        > > > > >> >
>>>> >        [11]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:
>>>> >        > > > > > [12]http://p.sf.net/sfu/appdyn_d2d_mar
>>>> >        > > > > > _______________________________________________
>>>> >        > > > > > tmux-users mailing list
>>>> >        > > > > > [13]tmux-users@lists.sourceforge.net
>>>> >        > > > > > [14]
>>>> https://lists.sourceforge.net/lists/listinfo/tmux-users
>>>> >        > > > > >
>>>> >        > > > >
>>>> >        > >
>>>> >        > > What distro are you using?
>>>> >        > >
>>>> >        > > --
>>>> >        > > (paka)Patrick Shanahan * * * Plainfield, Indiana, USA * *
>>>> *HOG #
>>>> >        US1244711
>>>> >        > > [15]http://wahoo.no-ip.org * * * *Photo Album:
>>>> >        [16]http://wahoo.no-ip.org/gallery2
>>>> >        > > [17]http://en.opensuse.org * * * * * * * * * * * * *
>>>> openSUSE
>>>> >        Community Member
>>>> >        > > Registered Linux User #207535 * * * * * * * * * *@
>>>> >        [18]http://linuxcounter.net
>>>> >        > >
>>>> >        > >
>>>> >        > >
>>>> >
>>>>  
>>>> ------------------------------------------------------------------------------
>>>> >        > > Everyone hates slow websites. So do we.
>>>> >        > > Make your web apps faster with AppDynamics
>>>> >        > > Download AppDynamics Lite for free today:
>>>> >        > > [19]http://p.sf.net/sfu/appdyn_d2d_mar
>>>> >        > > _______________________________________________
>>>> >        > > tmux-users mailing list
>>>> >        > > [20]tmux-users@lists.sourceforge.net
>>>> >        > > [21]
>>>> https://lists.sourceforge.net/lists/listinfo/tmux-users
>>>> >        > >
>>>> >
>>>> >        Login node??? *"The login node is RHEL 5.8"
>>>> >
>>>> >        Are you running red-hat 5.8 ???
>>>> >        ie: using rpm
>>>> >
>>>> >        if so, you *do* have yum as that is red-hat's package manager!
>>>> >        --
>>>> >        (paka)Patrick Shanahan * * * Plainfield, Indiana, USA * * *HOG
>>>> #
>>>> >        US1244711
>>>> >        [22]http://wahoo.no-ip.org * * * *Photo Album:
>>>> >        [23]http://wahoo.no-ip.org/gallery2
>>>> >        [24]http://en.opensuse.org * * * * * * * * * * * * * openSUSE
>>>> >        Community Member
>>>> >        Registered Linux User #207535 * * * * * * * * * *@
>>>> >        [25]http://linuxcounter.net
>>>> >
>>>> > References
>>>> >
>>>> >    Visible links
>>>> >    1. mailto:dayals...@gmail.com
>>>> >    2. mailto:p...@opensuse.org
>>>> >    3. mailto:dayals...@gmail.com
>>>> >    4. mailto:p...@opensuse.org
>>>> >    5. mailto:dayals...@gmail.com
>>>> >    6. mailto:tpadilh...@gmail.com
>>>> >    7. mailto:dayals...@gmail.com
>>>> >    8. mailto:nicholas.marri...@gmail.com
>>>> >    9. http://p.sf.net/sfu/appdyn_d2d_mar
>>>> >   10. mailto:tmux-users@lists.sourceforge.net
>>>> >   11. https://lists.sourceforge.net/lists/listinfo/tmux-users
>>>> >   12. http://p.sf.net/sfu/appdyn_d2d_mar
>>>> >   13. mailto:tmux-users@lists.sourceforge.net
>>>> >   14. https://lists.sourceforge.net/lists/listinfo/tmux-users
>>>> >   15. http://wahoo.no-ip.org/
>>>> >   16. http://wahoo.no-ip.org/gallery2
>>>> >   17. http://en.opensuse.org/
>>>> >   18. http://linuxcounter.net/
>>>> >   19. http://p.sf.net/sfu/appdyn_d2d_mar
>>>> >   20. mailto:tmux-users@lists.sourceforge.net
>>>> >   21. https://lists.sourceforge.net/lists/listinfo/tmux-users
>>>> >   22. http://wahoo.no-ip.org/
>>>> >   23. http://wahoo.no-ip.org/gallery2
>>>> >   24. http://en.opensuse.org/
>>>> >   25. http://linuxcounter.net/
>>>>
>>>> >
>>>> ------------------------------------------------------------------------------
>>>> > 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

Reply via email to