Giter Site home page Giter Site logo

Comments (2)

innovia avatar innovia commented on August 25, 2024 3

my mistake, I've used 1.7.4 which is the distro version

This is how i solved it

docker run -it debian:stretch bash
apt-get update && apt-get install wget  git -y
wget https://dl.google.com/go/go1.10.3.linux-amd64.tar.gz
tar -xvf go1.10.3.linux-amd64.tar.gz
mv go /usr/local
export GOROOT=/usr/local/go
export GOPATH=/root/go
export PATH=$GOPATH/bin:$GOROOT/bin:$PATH

$ go version
go version go1.10.3 linux/amd64


go get -u github.com/peakgames/s5cmd

$ s5cmd -version
s5cmd version v0.6.0

And for the local build:

apt-get install build-essential -y
cd ${GOPATH}/src/github.com/peakgames/s5cmd
$ make
find . ! -path "*/vendor/*" -type f -name '*.go' -exec /usr/local/go/bin/gofmt -l -s -w {} \;
/usr/local/go/bin/go build  -ldflags "" .

the only thing that is missing in the make:
go install

from s5cmd.

aykutfarsak avatar aykutfarsak commented on August 25, 2024

Hi @innovia, you can run make command on project root directory ({GOPATH}/src/github.com/peakgames/s5cmd) to build the binary.

Also, we will provide extra instructions about building as you suggested, thanks 👍

from s5cmd.

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.