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

Issue with Goinstall #50

Closed
andrew-david-smith opened this issue Dec 21, 2011 · 1 comment
Closed

Issue with Goinstall #50

andrew-david-smith opened this issue Dec 21, 2011 · 1 comment

Comments

@andrew-david-smith
Copy link

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

@andrew-david-smith
Copy link
Author

Hmm.. managed to sort it out after a think.

I used this before
hg pull -u
hg update weekly.2011-12-14
sudo ./all.bash

for some reason deleting all the Go files on my PC and then reinstalling by using
hg clone -u weekly.2011-12-14 https://go.googlecode.com/hg/ go
sudo ./all.bash

Now it works. Not sure but hey it works so why complain haha!

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

1 participant