Giter Site home page Giter Site logo

Comments (6)

chrismoos avatar chrismoos commented on June 21, 2024

This error is because you have an older version (ha/doozer release branch) installed, and the code in doozerd is expecting what is in the master branch on doozer.

Right now goinstall uses the release branch if it exists, and so when you try to compile its pulling down an older version of doozer.

If you can checkout ha/doozer locally and install it manually you should be okay. Too bad goinstall doesn't have the ability to specify the branch name...

from doozerd.

imxiaobo avatar imxiaobo commented on June 21, 2024

@chrismoos:
Thank you for your answer, but I'm still quite new to Go and its build system. What do you mean by saying " checkout ha/doozer locally and install it manually"? I did clone the official repo and run the all.sh script but it doesn't help. I guess I should checkout the source and put them inside the Go src/pkg/ dir, am I right?

from doozerd.

chrismoos avatar chrismoos commented on June 21, 2024

Yeah you can clone ha/doozer and put it into $GOROOT/src/pkg/github.com/ha

Something like...

goinstall -clean github.com/ha/doozer && rm -rf $GOROOT/pkg/darwin_amd64/doozer && rm -rf $GOROOT/src/pkg/github.com/ha/doozer

git clone https://github.com/ha/doozer && cd doozer && cp -R . $GOROOT/src/pkg/github.com/ha/doozer

Make sure you have $GOROOT set before running the above.

After you do that do clean.sh and then all.sh in doozerd. You should be good to go.

from doozerd.

imxiaobo avatar imxiaobo commented on June 21, 2024

@chrismoos:
Thanks for your quick reply, finally I've managed to get it compiled!

from doozerd.

hannestyden avatar hannestyden commented on June 21, 2024

These tips also got doozerd to compile for me, also on OS X Lion. Thanks!

It all seems to work properly, though one of the tests fail: https://gist.github.com/1136378

from doozerd.

bmizerany avatar bmizerany commented on June 21, 2024

This should be fixed with the latest Go weekly and ha/doozerd/master. Please reopen if problem persists.

from doozerd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.