-
Notifications
You must be signed in to change notification settings - Fork 152
Problem compiling tmux on Arch Linux #31
Comments
I'm having the same problem: anyone got a solution? |
Interesting, it seems to try to install tmux even though you have it installed Maybe there is a bug in version checking at https://github.com/c9/install/blob/master/install.sh#L283. has() {
type "$1" > /dev/null 2>&1
return $?
}
check_tmux_version(){
echo "tmux: $1"
if [ ! -x $1 ]; then
return 1
fi
tmux_version=$($1 -V | sed -e's/[a-z ]//g')
echo "tmux_version: $tmux_version"
if [ ! "$tmux_version" ]; then
return 1
fi
if [ $(python -c "ok = 1 if 1.7<=$tmux_version else 0; print ok") -eq 1 ]; then
return 0
else
return 1
fi
}
echo has "tmux"
echo `tmux -V`
check_tmux_version `which tmux`; to see where it goes wrong |
Terminal output:
|
What is the version of python? |
It has been a while since I made it happened, but I once if thened my way Some extra code is needed to make it properly detect the python version as On Sat, Apr 4, 2015 at 4:27 PM, Harutyun Amirjanyan <
|
Python is version 3.4.3 .
|
EDIT: I installed python2 and tried, and it didn't make a difference. Python3 is the default one though so that may be why. If
~/.c9/debug.log is long so here is the relevant bit:
|
Thanks for the update. I've pushed a fix for this to #43. |
Just now had the same issue happen to me in Arch as well. Same deal with ncurses - already had it installed, but had to jimmy-rig the installer by tarballing the ncurses-5.9 folder after patching with http://pastebin.com/raw/ewxjBXV6 and then run the install script again. Technically gcc5.x's fault, but I did already have the package. |
Error:
UPD:
The text was updated successfully, but these errors were encountered: