fragglet / ipxbox

Standalone DOSbox IPX-over-UDP server
GNU General Public License v2.0
69 stars 6 forks source link

go/src/github.com/fragglet/ipxbox/ppp/session.go:365:6: undefined: errors.Is #12

Closed skadarnold closed 2 years ago

skadarnold commented 2 years ago

When following the how to guide and go get github.com/fragglet/ipxbox command. I had ipxbox installed originally but wanted to upgrade to allow PPTP tunneling and this error happens when trying to install.

skadarnold commented 2 years ago

I was able to fix this error and build by using ubuntu 20.04 and go version 1.13.8.

This error seems to occur with ubuntu 18.04 and using go version 1.10.4. I am not sure if using go version 1.13.8 on ubuntu 18.04 would also work, but will try to test at some point.

fragglet commented 2 years ago

Yes, this bug is caused by using a very old version of Go, and is fixed by updating to a newer version. If really necessary I believe you can change that line to:

if err == io.ErrClosedPipe {