<div dir="ltr">All,<br><div><br></div><div>&nbsp;&nbsp;I&#39;d like to share some of my experience building GrADS v2.0.a3 on Ubuntu, more precisely:</div><div><br></div><div><span class="Apple-style-span" style="border-collapse: collapse; ">- Linux Niteroi 2.6.24-19-generic #1 SMP Fri Jul 11 21:01:46 UTC 2008<br>
x86_64 GNU/Linux<br>- gcc (GCC) 4.2.3 (<span class="nfakPe" style="background-image: initial; background-repeat: initial; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: rgb(255, 255, 136); background-position: initial initial; ">Ubuntu</span>&nbsp;4.2.3-2ubuntu7)</span><br>
</div><div><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></div><div><span class="Apple-style-span" style="border-collapse: collapse;">Using the supplibs-2.0.1, if you &quot;configure --without-gui&quot; &nbsp;and &quot;make&quot; you obtain grads and gradsdap executables as usual . However, they coredump when opening a netcdf file. I was able to trace this problem to the compilation of &quot;gasdf.c&quot;. By default all is compiled with flags &quot;-g -O2&quot;. However, gasdf.c needs to be compiled without the &quot;-O2&quot;. This appears to be an issue associated with gcc 4.2 on x86_64. Jennifer&#39;s Ubuntu build uses gcc 4.1 and does not have this problem.&nbsp;</span></div>
<div><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></div><div><span class="Apple-style-span" style="border-collapse: collapse;">&nbsp;&nbsp;Has anybody else experienced this problem?</span></div><div>
<span class="Apple-style-span" style="border-collapse: collapse;"><br></span></div><div><span class="Apple-style-span" style="border-collapse: collapse;">&nbsp;&nbsp; &nbsp; &nbsp; Arlindo</span></div><div><br></div><div><br><div class="gmail_quote">
On Tue, Sep 9, 2008 at 8:35 PM, Wang Jun <span dir="ltr">&lt;<a href="mailto:daxiawj@gmail.com">daxiawj@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div dir="ltr">Hey, You don&#39;t need to do these things at all. You can just link<br>your /usr/lib/libncurses.so to libtermcap.so.2 and that would be OK!<br><br>Just try. :-)<br><br><div class="gmail_quote">2008/9/10 Ryo Furue <span dir="ltr">&lt;<a href="mailto:furue@hawaii.edu" target="_blank">furue@hawaii.edu</a>&gt;</span><div>
<div></div><div class="Wj3C7c"><br>
<blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex"><div>| I have Grads 2.0a3 installed on a Ubuntu system right now. &nbsp;I used<br>

| the i686 pre-compiled version that is offered on the site but I had<br>
| to make a few tweeks to get around the libtermcap issue.<br>
|<br>
| Heres what I had to do:<br>
| install the following Deb packages:<br>
| ldso_1.9.11-15_i386.deb<br>
| glibc5_5.4.46-15_i386.deb<br>
| termcap-compat_1.2.3_i386.deb<br>
<br>
</div>Another route may be to find RPM packages and convert them to Deb<br>
packages. &nbsp;Suppose you want version 2 of libtermcap. &nbsp;Then search<br>
Google for libtermcap . &nbsp;You&#39;ll find RPM packages containing<br>
libtermcap version 2, such as<br>
<br>
 &nbsp; libtermcap-2.0.8-41.i386.rpm<br>
<br>
Download one of them. &nbsp;Then convert it to a .deb package, like so:<br>
<br>
 &nbsp; $ su -<br>
 &nbsp; # cd /var/tmp<br>
 &nbsp; # alien /your/path/to/libtermcap-2.0.8-41.i386.rpm<br>
<br>
This produces a .deb package like<br>
<br>
 &nbsp; libtermcap_2.0.8-42_i386.deb<br>
<br>
Finally, install it as<br>
<br>
 &nbsp; # dpkg -i libtermcap_2.0.8-42_i386.deb<br>
<br>
If you don&#39;t have the alien command, install it using apt-get,<br>
aptitude, or an equivalent commend.<br>
<br>
This method is helpful when a Deb package is not available.<br>
For example, I don&#39;t think termcap-compat is available<br>
for the current Debian distributions. &nbsp;(I vaguely remember<br>
I used to use it.)<br>
<br>
Hope this helps,<br>
<font color="#888888">Ryo<br>
</font></blockquote></div></div></div><br><br clear="all"><br>-- <br>Regards,<br>Wang Jun<br>
</div>
</blockquote></div><br><br clear="all"><br>-- <br>Arlindo da Silva<br><a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a><br>
</div></div>