<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Go &#8211; 扫地老僧的Blog</title>
	<atom:link href="https://doyj.com/tag/go/feed/" rel="self" type="application/rss+xml" />
	<link>https://doyj.com</link>
	<description>Laputa - 远方地平线，闪耀着光芒</description>
	<lastBuildDate>Wed, 20 Sep 2017 05:52:37 +0000</lastBuildDate>
	<language>zh-Hans</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.2</generator>
	<item>
		<title>解决GVM中安装go1.9 Compile失败问题</title>
		<link>https://doyj.com/2017/09/20/</link>
					<comments>https://doyj.com/2017/09/20/#respond</comments>
		
		<dc:creator><![CDATA[oldmonk]]></dc:creator>
		<pubDate>Wed, 20 Sep 2017 05:47:58 +0000</pubDate>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Go]]></category>
		<guid isPermaLink="false">http://www.doyj.com/?p=2329</guid>

					<description><![CDATA[用gvm安装go 1.9老失败，出现如下提示 ➜ ~ gvm install go1.9 Updating G &#8230; <a href="https://doyj.com/2017/09/20/" class="more-link">继续阅读<span class="screen-reader-text">解决GVM中安装go1.9 Compile失败问题</span></a... ]]></description>
										<content:encoded><![CDATA[<p>用gvm安装go 1.9老失败，出现如下提示</p>
<blockquote><p>➜ ~ gvm install go1.9<br />
Updating Go source&#8230;<br />
Installing go1.9&#8230;<br />
* Compiling&#8230;<br />
<strong>ERROR: Failed to compile. Check the logs at /Users/monk/.gvm/logs/go-go1.9-compile.log</strong><br />
<strong>ERROR: Failed to use installed version</strong></p></blockquote>
<p>后来在<a href="https://github.com/moovweb/gvm/issues/155#issuecomment-237953449">Github</a>找到了解决方法，就是在安装前执行</p>
<blockquote><p>export GOROOT_BOOTSTRAP=$GOROOT</p></blockquote>
<p>如果GOROOT_BOOTSTRAP没有设置，默认值是$HOME/go, 在当时的环境下这个值是不对的。</p>
]]></content:encoded>
					
					<wfw:commentRss>https://doyj.com/2017/09/20/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
