de icon indicating copy to clipboard operation
de copied to clipboard

build problem on windows

Open chennqqi opened this issue 6 years ago • 3 comments

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

chennqqi avatar Nov 21 '17 02:11 chennqqi

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

donquichotte avatar Dec 07 '17 13:12 donquichotte

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 792f4eaf715b5914fc848c82ecbe3c207d18493a ?

driusan avatar Dec 07 '17 14:12 driusan

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

hsoolien avatar Jan 20 '18 06:01 hsoolien