diff --git a/doc/install.html b/doc/install.html index d095cff28e6..9547b0e60f1 100644 --- a/doc/install.html +++ b/doc/install.html @@ -71,8 +71,17 @@ In effect, you are always cross-compiling.

-After setting these variables in your .bashrc, double-check them by -listing your environment. +Set these variables in your .bashrc. For example: +

+ +
+export GOROOT=$HOME/go
+export GOARCH=amd64
+export GOOS=linux
+
+ +

+Double-check them by listing your environment.

@@ -142,6 +151,7 @@ $ sudo easy_install mercurial
 

works on most systems. +(On Ubuntu, you might try apt-get install python-setuptools python-dev first.) If that fails, visit the Mercurial Download page.

Make sure the $GOROOT directory does not exist or is empty.