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

Problem while building ghostunnel #89

Closed
rohgoyal opened this issue Jul 25, 2016 · 5 comments
Closed

Problem while building ghostunnel #89

rohgoyal opened this issue Jul 25, 2016 · 5 comments

Comments

@rohgoyal
Copy link

rohgoyal commented Jul 25, 2016

Hi, I am trying to install ghostunnel on Windows 7. Can you please help me resolve this error? I am new to golang and doesnt understand what exactly it means?

C:\ghostunnel>go install github.com/square/ghostunnel
github.com/square/ghostunnel/vendor/github.com/kavu/go_reuseport
src\github.com\square\ghostunnel\vendor\github.com\kavu\go_reuseport\reuseport.go:25: undefined: maxListenerBacklog
src\github.com\square\ghostunnel\vendor\github.com\kavu\go_reuseport\reuseport.go:68: cannot assign syscall.Handle to fd (type int) in multiple assignment
src\github.com\square\ghostunnel\vendor\github.com\kavu\go_reuseport\reuseport.go:74: cannot use fd (type int) as type syscall.Handle in argument to syscall.Close
src\github.com\square\ghostunnel\vendor\github.com\kavu\go_reuseport\reuseport.go:78: cannot use fd (type int) as type syscall.Handle in argument to syscall.SetsockoptInt
src\github.com\square\ghostunnel\vendor\github.com\kavu\go_reuseport\reuseport.go:82: undefined: reusePort
src\github.com\square\ghostunnel\vendor\github.com\kavu\go_reuseport\reuseport.go:82: cannot use fd (type int) as type syscall.Handle in argument to syscall.SetsockoptInt
src\github.com\square\ghostunnel\vendor\github.com\kavu\go_reuseport\reuseport.go:86: cannot use fd (type int) as type syscall.Handle in argument to syscall.Bind
src\github.com\square\ghostunnel\vendor\github.com\kavu\go_reuseport\reuseport.go:91: cannot use fd (type int) as type syscall.Handle in argument to syscall.Listen

Cheers!
Rohit Goyal

@csstaub
Copy link
Member

csstaub commented Jul 30, 2016

Windows is not a supported platform. Ghostunnel depends on SO_REUSEPORT (via kavu/go_reuseport) and as such only works on Darwin, *BSD, and Linux right now.

@csstaub csstaub closed this as completed Jul 30, 2016
@benalexau
Copy link

Is Windows still unsupported now that kavu/go_reuseport#22 has been merged?

@csstaub
Copy link
Member

csstaub commented Mar 15, 2017

I don't have any Windows machines to test on, but if kavu/go_reuseport works on Windows now then ghostunnel should theoretically also work.

@csstaub
Copy link
Member

csstaub commented Sep 25, 2017

I updated all the vendored deps in the v1.1.2 release, so ghostunnel should in theory run on Windows now. Please file an issue if you still encounter problems.

@csstaub
Copy link
Member

csstaub commented Sep 26, 2017

Nvm that, there's other issues preventing it from working on Windows; namely that the syslog package is not available on Windows.

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

3 participants