Git Product home page Git Product logo

Comments (3)

magiconair avatar magiconair commented on August 15, 2024

I still think your GOPATH is wrong. First set your GOPATH then use go get to download the code. If you want to use git clone then you need to create the entire path yourself.

mkdir ~/gopath
export GOPATH=~/gopath
go get -u github.com/eBay/fabio # will fetch source, compile it and put binary into $GOPATH/bin

with git clone

mkdir -p ~/gopath/src/github.com/eBay
git clone github.com/eBay/fabio ~/gopath/src/github.com/eBay
export GOPATH=~/gopath
go install github.com/eBay/fabio # will compile binary into $GOPATH/bin

That's why you should use go get unless you know what you're doing.

But the main problem is actually go1.3.3. From https://github.com/eBay/fabio#installation:

To install fabio run (you need Go 1.4 or higher)

atomic.Value was introduced with Go 1.4. https://golang.org/doc/go1.4

from fabio.

magiconair avatar magiconair commented on August 15, 2024

However, use Go 1.5 since it has a more predictable garbage collector. Get the binaries for Linux from here: https://golang.org/dl/

from fabio.

magiconair avatar magiconair commented on August 15, 2024

To complete this:

mkdir ~/gopath
export GOPATH=~/gopath
go get -u github.com/eBay/fabio
cd $GOPATH/src/github.com/eBay/fabio
git checkout v1.0.7
go install # will build v1.0.7 in $GOPATH/bin

I've also started putting pre-compiled binaries in the releases section: https://github.com/eBay/fabio/releases

from fabio.

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.