<?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; envi</title>
	<atom:link href="http://wlx.westgis.ac.cn/tag/envi/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>ubuntu intrepid下安装envi 4.6.1</title>
		<link>http://wlx.westgis.ac.cn/585/</link>
		<comments>http://wlx.westgis.ac.cn/585/#comments</comments>
		<pubDate>Wed, 25 Mar 2009 02:33:10 +0000</pubDate>
		<dc:creator>wlx</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[arch]]></category>
		<category><![CDATA[envi]]></category>
		<category><![CDATA[idl]]></category>
		<category><![CDATA[intrepid]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://wlx.westgis.ac.cn/?p=585</guid>
		<description><![CDATA[方法和原来的相似： tar -zxvf envi_linux.x86.tar.gz cd envi461linux.x86 sudo mkdir /usr/local/itt sudo mv idl708 /usr/local/itt/ sudo mv install /usr/local/itt/ sudo mv license /usr/local/itt/ cd /usr/local/itt sudo ./install 然后拷贝license到/usr/local/itt/license，命名为license.lic，就可以运行envi。 但发现我的机器明明是64位的，怎么是按照32位模式运行的呢？ 仔细查找后发现，是由于idl的启动脚本里用到了/bin/arch命令，而这个命令已经被取消了，参考ubuntu的BUG。 若不想修改脚本的话，就可以建一个/bin/arch的脚本： #!/bin/bash uname -m]]></description>
			<content:encoded><![CDATA[<p>方法和<a href="http://wlx.westgis.ac.cn/255/">原来</a>的相似：</p>
<blockquote><p>tar -zxvf envi_linux.x86.tar.gz<br />
cd envi461linux.x86<br />
sudo mkdir /usr/local/itt<br />
sudo mv idl708 /usr/local/itt/<br />
sudo mv install /usr/local/itt/<br />
sudo mv license /usr/local/itt/<br />
cd /usr/local/itt<br />
sudo ./install
</p></blockquote>
<p>然后拷贝license到/usr/local/itt/license，命名为license.lic，就可以运行envi。<br />
但发现我的机器明明是64位的，怎么是按照32位模式运行的呢？<br />
仔细查找后发现，是由于idl的启动脚本里用到了/bin/arch命令，而这个命令已经被取消了，参考<a href="https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/148511">ubuntu的BUG</a>。<br />
若不想修改脚本的话，就可以建一个/bin/arch的脚本：</p>
<blockquote><p>#!/bin/bash<br />
uname -m
</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://wlx.westgis.ac.cn/585/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>envi 4.3在ubuntu edgy下启动错误的解决</title>
		<link>http://wlx.westgis.ac.cn/293/</link>
		<comments>http://wlx.westgis.ac.cn/293/#comments</comments>
		<pubDate>Thu, 07 Dec 2006 13:05:26 +0000</pubDate>
		<dc:creator>wlx</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[edgy]]></category>
		<category><![CDATA[envi]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[xgl]]></category>

		<guid isPermaLink="false">http://wlxblog.westgis.ac.cn/293/</guid>
		<description><![CDATA[在我的笔记本上安装了ENVI 4.3后一直无法执行，但IDL没有问题。经检查，应该是I915的驱动所导致的问题，不过可以在XGL环境下执行，非常奇怪。 不过现在终于找到了解决办法： LIBGL_ALWAYS_INDIRECT=1 /usr/local/bin/envi 最终是在ITT的forum上找到了答案： Hi there. We came across Tech Tip “OpenGL Direct Hardware Rendering on Linux. Article ID: 3524&#8243; that showed a workaround. Disabling (OpenGL) direct rendering made the trick (at the expense of speed): debian10$ export &#8230; <a href="http://wlx.westgis.ac.cn/293/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>在我的笔记本上<a href="http://wlxblog.westgis.ac.cn/255/">安装了ENVI 4.3</a>后一直无法执行，但IDL没有问题。经检查，应该是I915的驱动所导致的问题，不过可以在XGL环境下执行，非常奇怪。</p>
<p>不过现在终于找到了解决办法：</p>
<blockquote><p>LIBGL_ALWAYS_INDIRECT=1 /usr/local/bin/envi</p></blockquote>
<p>最终是在ITT的forum上找到了<a href="http://www.ittvis.com/forum/message.asp?fmid=2322">答案</a>：</p>
<blockquote><p>Hi there. We came across Tech Tip “OpenGL Direct Hardware Rendering on Linux. Article ID: 3524&#8243; that showed a workaround.<br />
Disabling (OpenGL) direct rendering made the trick (at the expense of speed):<br />
debian10$ export LIBGL_ALWAYS_INDIRECT=1<br />
I still wonder why other software work fine.</p>
<p>Cheers,<br />
Juan P.</p></blockquote>
<p>同时，他还给出了一种解释：</p>
<blockquote><p>Hi there,</p>
<p>After talking to Xorg/DRI/Debian developers, it seems that direct rendering is working ok on my system but a conflict exists between system libGL and IDL&#8217;s own copy of Mesa.<br />
They suggest that the system libGL and IDL&#8217;s own copy of Mesa shouldn&#8217;t be used at the same time, or that IDL should at least make sure their symbols don&#8217;t interfere with each other. They suggested a possible workaround (to start the program with LD_PRELAD=/usr/local/rsi/idl_6.3/bin/bin.linux.x86/libMesaGL6_2.so.1 or some variation thereof), which unfortunately didn&#8217;t work for me.</p>
<p>Cheers,<br />
J.P. Rigol</p></blockquote>
<p>不过这种hack方法在我的机器也不能工作。<br />
在<a href="http://www.ittvis.com/services/techtip.asp?ttid=3524">这个地方</a>给出了更多的说明：</p>
<blockquote><p><strong>Troubleshooting</strong><br />
RSI cannot control driver quality, so you may have trouble with some drivers that might be buggy. Besides obtaining a driver update from the vendor, there are several things you can do to make IDL usable again in the presence of a buggy driver:</p>
<p>    * Read the documentation that came along with your driver software carefully. There may be a number of diagnostic tools or environment variables that you can set to provide some relief.<br />
    * When using an X server based on XFree86, modifying the XFree86 configuration file may solve any problems. Consult the XFree86 documentation for details. Also, the XFree86 server startup log, usually found in /var/log, can provide many clues about the problem.<br />
    * Set the LIBGL_ALWAYS_INDIRECT environment variable. This causes OpenGL to ignore IDL&#8217;s request to use direct rendering and would then avoid any bugs that may exist in the direct path.<br />
    * Configure your IDL session to use software rendering when required or code your IDL application to use software rendering. These details are covered in IDL documentation.<br />
    * As a last resort, remove/rename the gl_driver shared library from your IDL installation (in the binary directory). This will keep IDL from attempting to use direct or indirect hardware rendering. IDL will instead perform all rendering itself and send the results to the X server with “2D” commands.<br />
    * One expert IDL programmer reported in March 2004 on the IDL Newsgroup this promising workaround on a host running Fedora Linux:<br />
      “If you&#8217;re a user of a recent Linux (like Fedora), and you&#8217;ve experienced IDL crashes that post the following fatal error:</p>
<p>            Floating exception</p>
<p>      when attempting to use any of IDL&#8217;s OpenGL 3D stuff (like the Demo->Itools, for example), you might try the following:<br />
            setenv MESA_NO_ASM 1</p>
<p>      This disables some specific ASM code in the Mesa library which was causing these types of crashes for me. I use an ATI Radeon 7500 plus XFree86 4.3.0&#8242;s Radeon drivers. With this environment variable set, IDL&#8217;s 3D hardware rendering seems stable, and definitely executes much faster than the alternative software rendering option.”</p>
</blockquote>
<p>现在就能解释为何在XGL环境下可以使用ENVI了：现在的XGL环境不支持OPENGL直接调用！</p>
]]></content:encoded>
			<wfw:commentRss>http://wlx.westgis.ac.cn/293/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>install envi 4.3 in ubuntu edgy</title>
		<link>http://wlx.westgis.ac.cn/255/</link>
		<comments>http://wlx.westgis.ac.cn/255/#comments</comments>
		<pubDate>Tue, 19 Sep 2006 05:38:37 +0000</pubDate>
		<dc:creator>wlx</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[RS]]></category>
		<category><![CDATA[envi]]></category>
		<category><![CDATA[ubuntu-edgy]]></category>

		<guid isPermaLink="false">http://wlxblog.westgis.ac.cn/255/</guid>
		<description><![CDATA[First download envi 4.3 for linux into my home directory, then: cd tar -zxvf envi_linux.x86.tar.gz sudo mkdir /usr/local/rsi sudo mv idl_6.3 /usr/local/rsi sudo mv install /usr/local/rsi sudo mv license /usr/local/rsi cd /usr/local/rsi sudo ./install In the install process, I choose &#8230; <a href="http://wlx.westgis.ac.cn/255/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>First download envi 4.3 for linux into my home directory, then:</p>
<blockquote><p>cd<br />
tar -zxvf envi_linux.x86.tar.gz<br />
sudo mkdir /usr/local/rsi<br />
sudo mv idl_6.3 /usr/local/rsi<br />
sudo mv install /usr/local/rsi<br />
sudo mv license /usr/local/rsi<br />
cd /usr/local/rsi<br />
sudo ./install
</p></blockquote>
<p>In the install process, I choose the first option(rsi manner), and it creates some directory by ln command(my option). After the installation, I can run envi by typing command “envi” in terminal, maybe I should create a icon menu in the gnome desktop.</p>
]]></content:encoded>
			<wfw:commentRss>http://wlx.westgis.ac.cn/255/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>How to figure out Principal Component Analysis band weightings</title>
		<link>http://wlx.westgis.ac.cn/150/</link>
		<comments>http://wlx.westgis.ac.cn/150/#comments</comments>
		<pubDate>Sat, 14 Jan 2006 18:16:37 +0000</pubDate>
		<dc:creator>wlx</dc:creator>
				<category><![CDATA[RS]]></category>
		<category><![CDATA[envi]]></category>
		<category><![CDATA[pca]]></category>

		<guid isPermaLink="false">http://blog.mygis.org/150/</guid>
		<description><![CDATA[在进行主成分分析时，如何计算原波段对主成分的贡献？ 答案在http://www.rsinc.com/services/techtip.asp?ttid=2807 在ENVI里转悠了半天，也没找到这个方法，google没有得到结果，最后是baidu到的。]]></description>
			<content:encoded><![CDATA[<p>在进行主成分分析时，如何计算原波段对主成分的贡献？<br />
答案在http://www.rsinc.com/services/techtip.asp?ttid=2807<br />
在ENVI里转悠了半天，也没找到这个方法，google没有得到结果，最后是baidu到的。</p>
]]></content:encoded>
			<wfw:commentRss>http://wlx.westgis.ac.cn/150/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>ubuntu breezy安装envi 4.2</title>
		<link>http://wlx.westgis.ac.cn/132/</link>
		<comments>http://wlx.westgis.ac.cn/132/#comments</comments>
		<pubDate>Thu, 24 Nov 2005 04:52:06 +0000</pubDate>
		<dc:creator>wlx</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[RS]]></category>
		<category><![CDATA[breezy]]></category>
		<category><![CDATA[envi]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.mygis.org/132/</guid>
		<description><![CDATA[没有什么要注意的问题。 下载，解压缩到某安装目录，执行install，根据提示操作。 license文件拷贝到对应的idl_6.2目录下。 执行envi_4.2\bin目录下的envi文件，或者可以再作一个菜单项或桌面快捷方式，或加一个link到系统目录中。]]></description>
			<content:encoded><![CDATA[<p>没有什么要注意的问题。<br />
下载，解压缩到某安装目录，执行install，根据提示操作。<br />
license文件拷贝到对应的idl_6.2目录下。<br />
执行envi_4.2\bin目录下的envi文件，或者可以再作一个菜单项或桌面快捷方式，或加一个link到系统目录中。</p>
]]></content:encoded>
			<wfw:commentRss>http://wlx.westgis.ac.cn/132/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

