Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation error #35

Open
gustavo-hms opened this issue Sep 17, 2020 · 2 comments
Open

Compilation error #35

gustavo-hms opened this issue Sep 17, 2020 · 2 comments

Comments

@gustavo-hms
Copy link

Hi! This project seems to present an interesting usability approach to tldr clients. Congrats!

Unfortunately, I didn't have the opportunity to test it, since I couldn't manage to compile it. It seems to be an error on one of your dependencies. The output of go get github.com/isacikgoz/tldr/cmd/tldr:

# github.com/c-bata/go-prompt/internal/term
go/src/github.com/c-bata/go-prompt/internal/term/raw.go:27:75: cannot use (*syscall.Termios)(&n) (type *syscall.Termios) as type *unix.Termios in argument to termios.Tcsetattr
go/src/github.com/c-bata/go-prompt/internal/term/term.go:22:40: cannot use &saveTermios (type *syscall.Termios) as type *unix.Termios in argument to termios.Tcgetattr
go/src/github.com/c-bata/go-prompt/internal/term/term.go:33:68: cannot use &o (type *syscall.Termios) as type *unix.Termios in argument to termios.Tcsetattr
@isacikgoz
Copy link
Owner

Hey @gustavo-hms, thanks for the feedback I will be looking into this. Can you provide me your system information? OS and architecture would be sufficient. Also, I updated the go-prompt dependency, maybe it could be fixed. But keep in mind that I removed Windows support for v1.0 for now.

@gustavo-hms
Copy link
Author

I'm on Ubuntu Linux 20.04 64 bits.

Well, I've tried once again, running go get -u github.com/isacikgoz/tldr/cmd/tldr. This time, I've got a different error:

code in directory /go/src/github.com/go-git/go-billy/osfs expects import "github.com/go-git/go-billy/v5/osfs"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants