Open MattMcFarland opened 9 years ago
Same problem that's been around for a while for CentOS6 as well. The above didn't help for me as it insists on compiling it's own libevent and ncurses anyway, but it's not using the correct linking args for tmux. I changed the tmux configure line to this and it works for me now:
./configure CFLAGS="-I$C9_DIR/local/include -I$C9_DIR/local/include/ncurses" CPPFLAGS="-I$C9_DIR/local/include -I$C9_DIR/local/include/ncurses" LDFLAGS="-static-libgcc -L$C9_DIR/local/lib" LIBEVENT_CFLAGS="-I$C9_DIR/local/include" LIBEVENT_LIBS="-static -L$C9_DIR/local/lib -levent" LIBS="-L$C9_DIR/local/lib -lncurses -L$C9_DIR/local/l ib -ltinfo" --prefix="$C9_DIR/local"
Thanks for sharing. So apparently you changed the install.sh file? Maybe you could send a pull request? I think this would help a lot of folks out.
Actually, more worrying is that tmux currently gets installed in /usr/local/bin instead of the user .c9 folder. Although, the prefix is set...
make[1]: Entering directory `/home/gbraad/.c9/tmux-1.9'
/bin/mkdir -p '/usr/local/bin'
/bin/install -c tmux '/usr/local/bin'
/bin/install: cannot create regular file '/usr/local/bin/tmux': Permission denied
make[1]: *** [install-binPROGRAMS] Error 1
make[1]: Leaving directory `/home/gbraad/.c9/tmux-1.9'
make: *** [install-am] Error 2
Note: doesn't occur when tmux is installed from RPM
This is still open?! Have all the C9 developers gone on vacation or something?
Steps to reproduce:
expected: .c9 dir should be full and install should be complete.without switching to root or sudo
result: Error: intall fails because dependencies are not found for curses, livbevent, and sudo was needed to complete install
Fix: The Following command fixed the issue for me:
sudo yum install libevent-devel ncurses-devel glibc-static
This is because of tmux, more details found here: https://groups.google.com/forum/#!topic/iterm2-discuss/wfYur0iSXdQ