Skip to content

Go Compilation Error  #185

@arrucard

Description

@arrucard

When I run my newly created app I get this:
alucard@alucard-y530:~/gocode$ revel run myapp
~
~ revel! http://robfig.github.com/revel
~
INFO 2013/06/16 22:57:41 revel.go:252: Loaded module static
INFO 2013/06/16 22:57:41 revel.go:252: Loaded module testrunner
INFO 2013/06/16 22:57:44 run.go:57: Running myapp (myapp) in dev mode
INFO 2013/06/16 22:57:46 harness.go:145: Listening on :9000
ERROR 2013/06/16 23:00:23 build.go:79: # github.com/robfig/revel/modules/static/app/controllers
src/github.com/robfig/revel/modules/static/app/controllers/static.go:4: import /home/alucard/gocode/pkg/linux_amd64/github.com/robfig/revel.a: object is [linux amd64 go1.1 (appengine-1.8.1) X:none] expected [linux amd64 go1.1 X:none]

github.com/robfig/revel/modules/testrunner/app
src/github.com/robfig/revel/modules/testrunner/app/plugin.go:5: import /home/alucard/gocode/pkg/linux_amd64/github.com/robfig/revel.a: object is [linux amd64 go1.1 (appengine-1.8.1) X:none] expected [linux amd64 go1.1 X:none]

myapp/app
src/myapp/app/init.go:3: import /home/alucard/gocode/pkg/linux_amd64/github.com/robfig/revel.a: object is [linux amd64 go1.1 (appengine-1.8.1) X:none] expected [linux amd64 go1.1 X:none]

myapp/app/controllers
src/myapp/app/controllers/app.go:3: import /home/alucard/gocode/pkg/linux_amd64/github.com/robfig/revel.a: object is [linux amd64 go1.1 (appengine-1.8.1) X:none] expected [linux amd64 go1.1 X:none]

myapp/tests
src/myapp/tests/apptest.go:3: import /home/alucard/gocode/pkg/linux_amd64/github.com/robfig/revel.a: object is [linux amd64 go1.1 (appengine-1.8.1) X:none] expected [linux amd64 go1.1 X:none]

I have go in 1.1 version.
alucard@alucard-y530:/gocode$ echo $GOROOT
/home/alucard/go
alucard@alucard-y530:
/gocode$ echo $GOPATH
/home/alucard/gocode

Please help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions