mirror of
https://github.com/minio/minio.git
synced 2025-01-24 13:13:16 -05:00
Mercurial not needed anymore, export GOROOT
This commit is contained in:
parent
6ad9e4e0d4
commit
db49ad5c91
@ -6,11 +6,6 @@ This installation document assumes Ubuntu 12.04 or later on x86-64.
|
|||||||
$ sudo apt-get install git build-essential
|
$ sudo apt-get install git build-essential
|
||||||
```
|
```
|
||||||
|
|
||||||
##### Install Mercurial
|
|
||||||
```sh
|
|
||||||
$ sudo apt-get install mercurial
|
|
||||||
```
|
|
||||||
|
|
||||||
##### Install YASM
|
##### Install YASM
|
||||||
```sh
|
```sh
|
||||||
$ sudo apt-get install yasm
|
$ sudo apt-get install yasm
|
||||||
@ -24,6 +19,7 @@ $ wget https://storage.googleapis.com/golang/go1.4.linux-amd64.tar.gz
|
|||||||
$ mkdir -p ${HOME}/local
|
$ mkdir -p ${HOME}/local
|
||||||
$ tar -C ${HOME}/local -xzf go1.4.linux-amd64.tar.gz
|
$ tar -C ${HOME}/local -xzf go1.4.linux-amd64.tar.gz
|
||||||
$ export PATH=$PATH:${HOME}/local/go/bin
|
$ export PATH=$PATH:${HOME}/local/go/bin
|
||||||
|
$ export GOROOT=${HOME}/local/go
|
||||||
$ mkdir -p $HOME/mygo
|
$ mkdir -p $HOME/mygo
|
||||||
$ export GOPATH=$HOME/mygo
|
$ export GOPATH=$HOME/mygo
|
||||||
$ export PATH=$PATH:$GOPATH/bin
|
$ export PATH=$PATH:$GOPATH/bin
|
||||||
|
@ -10,11 +10,6 @@ if [ $? -ne 0 ]; then
|
|||||||
MISSING="${MISSING} git"
|
MISSING="${MISSING} git"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
env hg --version > /dev/null 2>&1
|
|
||||||
if [ $? -ne 0 ]; then
|
|
||||||
MISSING="${MISSING} mercurial"
|
|
||||||
fi
|
|
||||||
|
|
||||||
env gcc --version > /dev/null 2>&1
|
env gcc --version > /dev/null 2>&1
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
MISSING="${MISSING} build-essential"
|
MISSING="${MISSING} build-essential"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user