From: Russ Cox Date: Wed, 11 Nov 2009 22:51:53 +0000 (-0800) Subject: point at how to get easy_install on Ubuntu. X-Git-Tag: weekly.2009-11-12~23 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=03435099152774905d2151e857b8e3d94c3d1323;p=gostls13.git point at how to get easy_install on Ubuntu. Fixes #59. Add note about export. R=r https://golang.org/cl/152079 --- diff --git a/doc/install.html b/doc/install.html index d095cff28e..9547b0e60f 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.