goofys
goofys copied to clipboard
Is there a clear build step documents?
I want to build goofys, but it hard to build goofys.
My step is
- download go 14.4
- git clone goofys
- mv goofys ${GOPATH}/src/github.com/kahing/
- cd ${GOPATH}/src/github.com/kahing/goofys
- git submodule init
- git submodule update (several minutes dependent on your network)
- make build
For centos, the following can works
wget https://studygolang.com/dl/golang/go1.14.4.linux-amd64.tar.gz
tar -xavf go1.14.4.linux-amd64.tar.gz
mv go /usr/local/
export PATH=$PATH:/usr/local/go/bin
mkdir -p /home/baoloongmao/go/src/github.com/kahing/
cd /home/baoloongmao/go/src/github.com/kahing/
git clone https://github.com/kahing/goofys.git
export GOPATH=/home/baoloongmao/go
export GOOFYS_HOME=/home/baoloongmao/go/src/github.com/kahing/goofys
git submodule init
git submodule update
make build
I have tried the above in centos too, it works.
Not clear on how to build on MacBook Pro though
On macos 11.6.2 I've managed to run make build
successfully with [email protected]