mirror of
https://github.com/asciinema/asciinema.git
synced 2026-04-25 07:55:51 +03:00
[GH-ISSUE #144] Build on OpenBSD: undefined: Termios #109
Labels
No labels
bug
compatibility
feature request
fit for beginners
help wanted
hosting
idea
improvement
packaging
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/asciinema#109
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ligurio on GitHub (Feb 7, 2016).
Original GitHub issue: https://github.com/asciinema/asciinema/issues/144
5.8 GENERIC.MP#1236
$ go get github.com/asciinema/asciinema
github.com/asciinema/asciinema/Godeps/_workspace/src/github.com/creack/termios/raw
source/go/src/github.com/asciinema/asciinema/Godeps/_workspace/src/github.com/creack/termios/raw/raw.go:10: undefined: Termios
source/go/src/github.com/asciinema/asciinema/Godeps/_workspace/src/github.com/creack/termios/raw/raw.go:11: undefined: setTermios
source/go/src/github.com/asciinema/asciinema/Godeps/_workspace/src/github.com/creack/termios/raw/raw.go:18: undefined: Termios
source/go/src/github.com/asciinema/asciinema/Godeps/_workspace/src/github.com/creack/termios/raw/raw.go:19: undefined: Termios
source/go/src/github.com/asciinema/asciinema/Godeps/_workspace/src/github.com/creack/termios/raw/raw.go:20: undefined: getTermios
source/go/src/github.com/asciinema/asciinema/Godeps/_workspace/src/github.com/creack/termios/raw/raw.go:36: undefined: Termios
source/go/src/github.com/asciinema/asciinema/Godeps/_workspace/src/github.com/creack/termios/raw/raw.go:49: undefined: Termios
github.com/asciinema/asciinema/util
source/go/src/github.com/asciinema/asciinema/util/copy.go:34: undefined: FD_SET
source/go/src/github.com/asciinema/asciinema/util/copy.go:35: undefined: FD_SET
source/go/src/github.com/asciinema/asciinema/util/copy.go:37: undefined: Select
source/go/src/github.com/asciinema/asciinema/util/copy.go:47: undefined: FD_ISSET
source/go/src/github.com/asciinema/asciinema/util/copy.go:72: undefined: FD_ISSET
$
@aerth commented on GitHub (Feb 12, 2016):
Similar error building on netbsd 😢
@ku1ik commented on GitHub (Feb 13, 2016):
Looks like
creack/termioslib doesn't support OpenBSD and NetBSD....@ku1ik commented on GitHub (Feb 21, 2016):
I'm not really familiar with *BSD systems but if anyone can look at this I'd be happy to accept a PR!
@ligurio commented on GitHub (May 31, 2016):
These patches fix creack/termios and asciinema for OpenBSD:
But in rest we have a problem with undefined syscall.Termios:
and I don't know how to resolve it.
@ku1ik commented on GitHub (Jul 13, 2016):
@ligurio Thanks for the patches! I don't know how to resolve the last problem either.
Anyway, I just released v1.3.0. It solves this problem (and many others!) because it's implemented in Python (it's based on v0.9.8 codebase) so it doesn't have a compilation step. Can you check it out?
sudo pip3 install asciinema.@ligurio commented on GitHub (Jul 13, 2016):
Works fine. https://asciinema.org/a/79462
@ku1ik commented on GitHub (Jul 13, 2016):
Thanks! I'll update the site to so it says we support OpenBSD now :)
@ligurio commented on GitHub (Jul 13, 2016):
Thank you!