Statically compiled (portable) tmux 2.x

250 views
Skip to first unread message

Justin Garrison

unread,
Dec 28, 2015, 6:14:35 PM12/28/15
to tmux-...@googlegroups.com
I am trying to compile tmux 2.0 statically for use on multiple computers with different OSs. I have compiled 1.9 statically in the past without problems by following examples/scripts such as https://gist.github.com/brandondrew/3915551
However, with tmux 2.0 I get the error "open terminal failed: can't find terminfo database" when trying to run it (fedora 23)
Is there a more official way to compile tmux without external libraries or something I can do to fix the error I'm getting?

--
Justin Garrison
justingarrison.com

Helmut K. C. Tessarek

unread,
Dec 28, 2015, 6:20:54 PM12/28/15
to Justin Garrison, tmux-...@googlegroups.com
Try to add the terminfo in the configure step.

See an example here: https://gist.github.com/tessus/5e118d44261a6ab2f198
> justingarrison.com <http://justingarrison.com>
>
> --
> You received this message because you are subscribed to the Google Groups "tmux-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to tmux-users+...@googlegroups.com <mailto:tmux-users+...@googlegroups.com>.
> To post to this group, send email to tmux-...@googlegroups.com <mailto:tmux-...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.

--
regards Helmut K. C. Tessarek
lookup http://sks.pkqs.net for KeyID 0xC11F128D

/*
Thou shalt not follow the NULL pointer for chaos and madness
await thee at its end.
*/

Nicholas Marriott

unread,
Dec 28, 2015, 6:22:08 PM12/28/15
to Justin Garrison, tmux-...@googlegroups.com
H

Seems most likely the ncurses linked into tmux from the box you built on
on is looking in the wrong place for the box you are running it on.



On Mon, Dec 28, 2015 at 03:14:15PM -0800, Justin Garrison wrote:
> I am trying to compile tmux 2.0 statically for use on multiple computers
> with different OSs. I have compiled 1.9 statically in the past without
> problems by following examples/scripts such
> as**[1]https://gist.github.com/brandondrew/3915551
> However, with tmux 2.0 I get the error "open terminal failed: can't find
> terminfo database" when trying to run it (fedora 23)
> Is there a more official way to compile tmux without external libraries or
> something I can do to fix the error I'm getting?
> --
> Justin Garrison
> [2]justingarrison.com
>
> --
> You received this message because you are subscribed to the Google Groups
> "tmux-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [3]tmux-users+...@googlegroups.com.
> To post to this group, send email to [4]tmux-...@googlegroups.com.
> For more options, visit [5]https://groups.google.com/d/optout.
>
> References
>
> Visible links
> 1. https://gist.github.com/brandondrew/3915551
> 2. http://justingarrison.com/
> 3. mailto:tmux-users+...@googlegroups.com
> 4. mailto:tmux-...@googlegroups.com
> 5. https://groups.google.com/d/optout
Reply all
Reply to author
Forward
0 new messages