Try: CFLAGS="-I/path/to/libevent/include" LDFLAGS="-L/path/to/libevent/lib" ./configure
If it doesn't work send me the config.log. On Tue, Sep 23, 2014 at 01:06:10PM -0400, Jai Dayal wrote: > For the life of me, I don't think the configure script is correct that's > shipped with tmux. > > I just downloaded tmux-1.9a. > > I have [1]libevent-2.0.21-stable.tar.gz installed in**** (both in > /include and /lib). ncurses headers are in ~/x86_64-6.4/include/ncurses > > I've tried setting all kinds of parameters for LDFLAGS, LIBEVENT_CFLAGS, > LIBEVENT_LIBS, CPPFLAGS, CFLAGS... nothing works. > > I don't have sudo access on this machine, so using "yum" is out of the > question. > > What gives? When I type make, I get a whole slew of errors related to > linking to libevent > > client.o: In function `client_update_event': > client.c:(.text+0x6a): undefined reference to `event_del' > client.c:(.text+0x95): undefined reference to `event_set' > client.o: In function `client_dispatch_wait': > client.c:(.text+0x649): undefined reference to `event_del' > client.c:(.text+0x6eb): undefined reference to `event_add' > client.o: In function `client_stdin_callback': > client.c:(.text+0x906): undefined reference to `event_del' > client.o: In function `client_signal': > client.c:(.text+0x9c3): undefined reference to `event_loopexit' > client.o: In function `client_main': > client.c:(.text+0xfd0): undefined reference to `event_set' > client.c:(.text+0xff2): undefined reference to `event_set' > client.c:(.text+0x10a4): undefined reference to `event_dispatch' > client.o: In function `client_update_event': > client.c:(.text+0xa5): undefined reference to `event_add' > client.o: In function `client_callback': > > I've even explicitly made (during ./configure) LIBEVENT_LIBS and > LIBEVENT_CFLAGS point to ~/x86_64-6.4/lib and ~/x86_64-6.4/include > respectively, but it refuses to find them....... > > Jai > > References > > Visible links > 1. > https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz > ------------------------------------------------------------------------------ > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk > _______________________________________________ > tmux-users mailing list > tmux-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/tmux-users ------------------------------------------------------------------------------ Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users