<?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>LiangXu Wang &#187; python</title>
	<atom:link href="http://wlx.westgis.ac.cn/tag/python/feed/" rel="self" type="application/rss+xml" />
	<link>http://wlx.westgis.ac.cn</link>
	<description>technology backup/share</description>
	<lastBuildDate>Sat, 14 Jan 2012 03:56:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Compile &amp; install GRASS 6.4 on ubuntu intrepid</title>
		<link>http://wlx.westgis.ac.cn/520/</link>
		<comments>http://wlx.westgis.ac.cn/520/#comments</comments>
		<pubDate>Sat, 08 Nov 2008 11:46:42 +0000</pubDate>
		<dc:creator>wlx</dc:creator>
				<category><![CDATA[GRASS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[compile]]></category>
		<category><![CDATA[debuild]]></category>
		<category><![CDATA[gdal]]></category>
		<category><![CDATA[intrepid]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://wlx.westgis.ac.cn/?p=520</guid>
		<description><![CDATA[首先，需要自己重新编译GDAL，目前UBUNTU源里的GDAL有BUG。 然后，从svn中下载grass 6.4： svn co https://svn.osgeo.org/grass/grass/branches/develbranch_6 grass-6.4 cd grass-6.4/debian svn://svn.debian.org/pkg-grass/packages/grass/branches/6.4/debian debiangis mv debiangis/* . 目前，这个DEB控制还有点小问题，需要自己作些修改： nano grass.conf 把路径修改为： /usr/lib/grass64/lib 然后修改grass-preview-doc.links，修改为： usr/share/doc/grass-preview-doc/html usr/lib/grass64/docs/html 还需要连接一个so库： locate _gdi_.so 我的机器上有两个地址，一个是python 2.4，一个是python 2.5，我选择了python 2.5的地址，然后作了个连接： sudo ln -s /usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_gdi_.so /usr/loca/lib/libgdi.so 然后就可以编译了： debuild binary 然后就可以安装了，你若不想安装，可以使用我已经编译好的，（添加我自己的源）： http://ubuntu.westgis.ac.cn/ubuntu 然后sudo &#8230; <a href="http://wlx.westgis.ac.cn/520/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>首先，需要自己重新编译GDAL，目前UBUNTU源里的GDAL有BUG。<br />
然后，从svn中下载grass 6.4：</p>
<blockquote><p>svn co https://svn.osgeo.org/grass/grass/branches/develbranch_6 grass-6.4<br />
cd grass-6.4/debian<br />
svn://svn.debian.org/pkg-grass/packages/grass/branches/6.4/debian debiangis<br />
mv debiangis/* .</p></blockquote>
<p>目前，这个DEB控制还有点小问题，需要自己作些修改：</p>
<blockquote><p>nano grass.conf</p></blockquote>
<p>把路径修改为：</p>
<blockquote><p>/usr/lib/grass64/lib</p></blockquote>
<p>然后修改grass-preview-doc.links，修改为：</p>
<blockquote><p>usr/share/doc/grass-preview-doc/html usr/lib/grass64/docs/html</p></blockquote>
<p>还需要连接一个so库：</p>
<blockquote><p>locate _gdi_.so</p></blockquote>
<p>我的机器上有两个地址，一个是python 2.4，一个是python 2.5，我选择了python 2.5的地址，然后作了个连接：</p>
<blockquote><p>sudo ln -s /usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_gdi_.so /usr/loca/lib/libgdi.so</p></blockquote>
<p>然后就可以编译了：</p>
<blockquote><p>debuild binary</p></blockquote>
<p>然后就可以安装了，你若不想安装，可以使用我已经编译好的，（添加我自己的源）：</p>
<blockquote><p><a href="http://ubuntu.westgis.ac.cn/ubuntu/">http://ubuntu.westgis.ac.cn/ubuntu</a></p></blockquote>
<p>然后sudo aptitude install grass-preview就可以了。</p>
<p>如要安装文档：</p>
<blockquote><p>sudo aptitude install grass-preview-doc<br />
sudo mkdir /usr/lib/grass64/docs<br />
sudo ln -s /usr/share/doc/grass-preview-doc/html /usr/lib/grass64/docs/</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://wlx.westgis.ac.cn/520/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

