I'd like to fix issue for tmux when it can't report username via logname
:
logname: no login name
I'm using steps below:
# lets assume all other prerequisites are compiled already
# and staged/installed to $HOME/opt
# libutempter (http://ift.tt/15VAiTW)
# URL : http://ift.tt/1z7FqAt
tar xvfj libutempter-1.1.5.tar.bz2
cd libutempter-1.1.5
vi Makefile
grep 'DESTDIR =' Makefile
---
DESTDIR = /home/xxxxxx/opt
make
make install
# tmux (http://ift.tt/uMygmv)
# URL : git://git.code.sf.net/p/tmux/tmux-code
git clone git://git.code.sf.net/p/tmux/tmux-code tmux
cd tmux
sh autogen.sh
CFLAGS="-I$HOME/opt/include -I$HOME/opt/usr/include -I$HOME/opt/include/ncurses" \
CPPFLAGS="-I$HOME/opt/include -I$HOME/opt/usr/include -I$HOME/opt/include/ncurses" \
LDFLAGS="-L$HOME/opt/lib -L$HOME/opt/include/ncurses -L$HOME/opt/include -L$HOME/opt/usr/lib" \
./configure --enable-static
CPPFLAGS="-I$HOME/opt/include -I$HOME/opt/usr/include -I$HOME/opt/include/ncurses" \
LDFLAGS="-static -L$HOME/opt/include -L$HOME/opt/usr/include -L$HOME/opt/include/ncurses -L$HOME/opt/lib -L$HOME/opt/usr/lib" \
make
But tmux still can't report login name via logname
:(
And i can't install packages (no root access).
UPDATE: Jan 30, updated env vars and flags, ldd reports no shared libs, but tmux still can't show login name via logname :(
Aucun commentaire:
Enregistrer un commentaire