WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Tmux doesn't work.  (Read 3605 times)

Offline daniel l.

  • Newbie
  • *
  • Posts: 17
Tmux doesn't work.
« on: March 26, 2019, 07:16:15 PM »
Apparently it needs an older version of libevent (2.0) than the version available in the repos (2.1). I think the solution to this would be to update the version of tmux in the repos, or provide the older libevent.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11619
Re: Tmux doesn't work.
« Reply #1 on: March 26, 2019, 07:44:58 PM »
Hi daniel l.
You need to specify architecture (ARM, x86, x86_64) and version (TC9, TC10, dcore).

Offline daniel l.

  • Newbie
  • *
  • Posts: 17
Re: Tmux doesn't work.
« Reply #2 on: March 26, 2019, 07:58:45 PM »
TC10 on x86. :)

Offline bluescreener

  • Newbie
  • *
  • Posts: 1
Re: Tmux doesn't work.
« Reply #3 on: March 30, 2019, 05:50:55 PM »
Just joined to report a similar issue. :)

I got as far as
Code: (bash) [Select]
ln -s /tmp/tcloop/libevent/usr/local/lib/libevent-2.1.so.6 /usr/lib/libevent-2.0.so.5
Now tmux will not start as it requires the locale to be set.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11619
Re: Tmux doesn't work.
« Reply #4 on: March 31, 2019, 08:18:58 PM »
Hi bluescreener
Now tmux will not start as it requires the locale to be set.

I built version 2.8 of tmux under TC9 and got this error message when I tried to run it:
Code: [Select]
tmux: need UTF-8 locale (LC_CTYPE) but have ANSI_X3.4-1968I solved it as follows:
Install  getlocale.tcz
Run:
Code: [Select]
sudo getlocale.shFrom the menu I selected  en_US_UTF-8/UTF-8  and  en_US/ISO-8859-1  then clicked OK.
When the script finished, ran:
Code: [Select]
tce-load -i mylocale.tczAfter that, tmux was able to start.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11619
Re: Tmux doesn't work.
« Reply #5 on: March 31, 2019, 09:04:48 PM »
Hi daniel l.
Install the following extensions:
compiletc.tcz  sstrip.tcz  squashfs-tools.tcz  submitqc.tcz  libevent-dev.tcz  ncursesw-dev.tcz
Download the file attached to the end of this post. Then run these commands:
Code: [Select]
tar xzvf build-tmux-2.8.tar.gz
cd tmux
The tmux source package is too large for me to attach, so download it into the directory you are now in:
https://github.com/tmux/tmux/releases/download/2.8/tmux-2.8.tar.gz
Then run:
Code: [Select]
./CompileTmux
./PackageTmux
Verify the program runs like this:
Code: [Select]
./tmux-2.8/tmuxIf you get a  UTF-8  error massage, see my previous post.
If all went well:
Copy the  .tcz  and  .tcz.md5.txt  files to your  tce  directory. Use the Apps utility to add  tmux.tcz  and  tmux-doc.tcz  to your onboot.lst file.
Email the two  .tar.gz.bfe  files to  tcesubmit _at_ gmail _dot_ com  with a note stating it's for TC10.
You can now remove the build directory like this:
Code: [Select]
cd ..
sudo rm -rf tmux

The same instructions should also work for x86_64 and ARM.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: Tmux doesn't work.
« Reply #6 on: April 01, 2019, 08:21:28 AM »
updated tmux posted