Thank you. "./configure --prefix=$HOME CFLAGS="-L $HOME/lib" " worked perfectly.
further info: I should have set LD_LIBRARY_PATH to absolute path. tmux didn't work with libevent 2.* but did with libevent 1.4.* On 29 May 2012 00:57, Martin Laabs <i...@martinlaabs.de> wrote: > Hello, > > just a guess: > > > On 28.05.2012 16:11, fake fake wrote: > >> To install tmux under $HOME/bin, I have installed libevent library >> under $HOME/lib (I do not have root privilege). >> Then set the variable LD_LIBRARY_PATH to $HOME/lib in .cshrc. > > > LD_LIBRARY_PATH only affects the dynamic linker and its search path > when executing a program. You will need this when you execude tmux > afterwards. > > >> But "./configure --prefix=$HOME" in src/tmux returns "configure: > > > With --prefix=... you tell the configure script where you wanna install the > files. Now you have to tell the gcc where to search for the > library/includes. So try to set CFLAGS="-I $HOME/include -L $HOME/lib" > > Best regards, > Martin Laabs > _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"