banthar/Go-SDL — Issue #50: Issue with Goinstall
Author: Thranriel
Created: 2011-12-21 13:52:04+00:00
State: open

Hi sorry if this is my fault, but I guess it might help someone else looking here.

I followed the new readme (and the old one) and I have had quite a few issues. I now have it down to one.

My go version is compatible with weekly.2011-12-14 (i know because I installed this version)

I have all the SDL parts and they all work with other languages
GOPATH=/home/me/gocode
GOROOT=/home/me/go
PATH=$PATH:/home/me/go/bin

When I run goinstall github.com/banthar/Go-SDL/sdl I get some permission denied error (not too sure why meh)

so I run sudo -E goinstall github.com/banthar/Go-SDL/sdl
and get
/bin/bash: === cd /home/me/gocode/src/github.com/banthar/Go-SDL/sdl; bash gomake -f- install
8g -I "/home/me/go/pkg/linux_386" -I "/home/me/gocode/pkg/linux_386" -p github.com/banthar/Go-SDL/sdl -o _go_.8 constants.go structs_386.go _obj/sdl.cgo1.go _obj/_cgo_gotypes.go
_obj/_cgo_gotypes.go:13: undefined: os.Error
_obj/_cgo_gotypes.go:13: undefined: os.Errno
make: *** [_go_.8] Error 1
--- exit status 2
goinstall: github.com/banthar/Go-SDL/sdl: install: running bash: exit status 2

Just not too sure what this error means

Thanks

Thranriel