From 03435099152774905d2151e857b8e3d94c3d1323 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Wed, 11 Nov 2009 14:51:53 -0800 Subject: [PATCH] point at how to get easy_install on Ubuntu. Fixes #59. Add note about export. R=r https://golang.org/cl/152079 --- doc/install.html | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) 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.