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

build problem on windows #44

Open
chennqqi opened this issue Nov 21, 2017 · 3 comments
Open

build problem on windows #44

chennqqi opened this issue Nov 21, 2017 · 3 comments

Comments

@chennqqi
Copy link

unknown field 'Setsid' in struct literal of type syscall.SysProcAttr
unknown field 'Setctty' in struct literal of type syscall.SysProcAttr
unknown field 'Ctty' in struct literal of type syscall.SysProcAttr

github.com\driusan\de\plugins\shell\shell.go

windows golang packakge syscall dosen't contains this field

@donquichotte
Copy link

donquichotte commented Dec 7, 2017

It also does not contain the SIGCHLD and Wait4 system calls.

%GOPATH%\src\github.com\driusan\de\deplumber\main.go:203:20: undefined: syscall.SIGCHLD
%GOPATH%\src\github.com\driusan\de\deplumber\main.go:206:4: undefined: syscall.Wait4

@driusan
Copy link
Owner

driusan commented Dec 7, 2017

Thanks for pointing those out.. I managed to get it to build with GOOS=windows go build, but I don't have access to a windows machine to test it on anymore. Can someone confirm that it actually runs on Windows after 792f4ea ?

@hsoolien
Copy link

It builds and runs but I get:
deplumber not started. Plumbing not available.

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

4 participants