<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Jennifer<br>
&nbsp;&nbsp;&nbsp; I'm back at the problem and it appears that there are others also
now onto/in it.<br>
&nbsp;&nbsp;&nbsp; I looked into installing the older version and have a suspicion
that it may in the long run lead to more problems.<br>
&nbsp;&nbsp;&nbsp; I tried to build dods version 3.2 with no success (will not
compile) and the folk at opendap are not keen on supporting the old
version.<br>
&nbsp;&nbsp;&nbsp; Now I expect that Patrice's -enable-dynamic-supplibs will only work
with dods 3.2. so building Opendap 3.4 won't help.<br>
&nbsp;&nbsp;&nbsp; This leads me to come to the conclusion that the mucky-muck
solution is the way forward ?<br>
&nbsp;&nbsp;&nbsp; Am I on the right track in believing that with an effective build
of opendap 3.4 I should then have the drivers, or the updated version
thereof that are presently packaged in supplib tar file, from that I
should be able to create an updated supplib and then work through the
changes required in the .configure.<br>
<br>
&nbsp;&nbsp;&nbsp; As I am embarking on a journey of versionitis discovery any support
you can off will be much appreciated.<br>
<br>
&nbsp;&nbsp;&nbsp; Many Thanks<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; Jean Pierre<br>
<br>
<br>
<br>
<br>
Jennifer M. Adams wrote:
<blockquote cite="midDD732F84-7915-4389-AB62-48FD9666BD32@cola.iges.org"
 type="cite">
  <meta http-equiv="Context-Type"
 content="text/html; charset=ISO-8859-1">
Jean Pierre --&nbsp;
  <div>Current public builds of GrADS use DODS version 3.2 and were
built with gcc version 2.9.&nbsp;These versions of the libraries and the
complier are now in retirement, and in many operating systems are dead
and gone. If you can find or install the old version of gcc on your
box, then you can probably build 1.9b4 from source with the linux
supplib tar file we provide.&nbsp;</div>
  <div><br>
  </div>
  <div>
  <div>If you do not have gcc version 2.9, then you must build a more
recent version of DODS (OPenDAP) and then you have to fiddle with the
configure script and/or the Makefile in order to get a build of
gradsdods. I have used DODS 3.4 successfully on linux, but it does
require a bit of mucky-muck. If you can build DODS 3.2, then I would
use Patrice's -enable-dynamic-supplibs mods and I bet it would find the
new version of dods and create a usable makefile.&nbsp;</div>
  <div><br>
  </div>
  <div>Jennifer</div>
  <div><br>
  </div>
  <div><br>
  </div>
  <div><br>
  </div>
  <div><br>
  </div>
  <div><br>
  <div>
  <div>On Oct 18, 2006, at 11:46 AM, Jean Pierre Arabonis wrote:</div>
  <br>
  <blockquote type="cite"> Thanks Patrice for the suggestions, I tried
your tarball without success, same errors came up as before.<br>
    <br>
I have brought across the following:<br>
    <br>
grads-1.9b3-src.tar.gz<br>
grads-1.9b3-supplibs-linuxRH9.tar.gz<br>
    <br>
put them in a directory and tried:<br>
    <br>
&gt;./configure --with-dods
--libdir=/data/source/Grads19b3work/grads-1.9b3/supplibs/lib <br>
    <br>
and I have success with everything in order, then all falls over when I
try make:<br>
    <br>
&gt;make<br>
&nbsp;<br>
    <a
 href="mailto:arabonis@baltic:/data/source/Grads19b3work/grads-1.9b3">arabonis@baltic:/data/source/Grads19b3work/grads-1.9b3</a>&gt;
make<br>
Making all in src<br>
make[1]: Entering directory `/data/source/Grads19b3work/grads-1.9b3/src'<br>
make&nbsp; all-am<br>
make[2]: Entering directory `/data/source/Grads19b3work/grads-1.9b3/src'<br>
gcc -DHAVE_CONFIG_H -I. -I. -I. -I.././supplibs/include
-I/usr/X11R6/include&nbsp;&nbsp;&nbsp; -g -O -c `test -f 'gxdxwd.c' || echo
'./'`gxdxwd.c<br>
gxdxwd.c:25: error: conflicting types for 'calloc'<br>
gxdxwd.c:25: error: conflicting types for 'calloc'<br>
make[2]: *** [gxdxwd.o] Error 1<br>
make[2]: Leaving directory `/data/source/Grads19b3work/grads-1.9b3/src'<br>
make[1]: *** [all] Error 2<br>
make[1]: Leaving directory `/data/source/Grads19b3work/grads-1.9b3/src'<br>
make: *** [all-recursive] Error 1<br>
    <br>
This is now well over my head, anyone out there can tell me what is
going on and if/how to solve it.<br>
    <br>
On the side track I tried the fedora core 1.8 compilation again through
gdb, maybe someone can tell me what is going on as it seems to be the
common problem with all the versions of grads:<br>
    <br>
arabonis@baltic:/data/source/Gradsfedoracore&gt; gdb --quiet gradsdods<br>
Using host libthread_db library "/lib/libthread_db.so.1".<br>
(gdb) run<br>
Starting program: /data/source/Gradsfedoracore/gradsdods<br>
warning: Cannot initialize thread debugging library: unknown thread_db
error '22'<br>
    <br>
Grid Analysis and Display System (GrADS) Version 1.8SL11<br>
Copyright (c) 1988-2001 by Brian Doty<br>
Center for Ocean-Land-Atmosphere Studies<br>
Institute for Global Environment and Society<br>
All Rights Reserved<br>
    <br>
Config: v1.8SL11 32-bit little-endian readline sdf/xdf netcdf
DODS-enabled lats printim<br>
    <br>
Issue 'q config' command for more information.<br>
    <br>
Landscape mode? (no for portrait):&nbsp; p<br>
GX Package Initialization: Size = 11 8.5<br>
ga-&gt; sdfopen <a
 href="http://monsoondata.org:9090/dods/gfs/gfs.2006101800i">http://monsoondata.org:9090/dods/gfs/gfs.2006101800i</a><br>
Scanning self-describing file:&nbsp; <a
 href="http://monsoondata.org:9090/dods/gfs/gfs.2006101800i">http://monsoondata.org:9090/dods/gfs/gfs.2006101800i</a><br>
    <br>
Program received signal SIGSEGV, Segmentation fault.<br>
0x083a16e5 in get_cie_encoding () <br>
(gdb)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
    <br>
    <br>
Many Thanks <br>
&nbsp;&nbsp;&nbsp; Jean Pierre<br>
    <br>
    <br>
    <br>
    <br>
    <br>
Patrice Dumas wrote:
    <blockquote cite="mid20061017192222.GB2478@free.fr" type="cite">
      <pre>On Tue, Oct 17, 2006 at 07:23:37PM +0200, Jean Pierre Arabonis wrote:
  </pre>
      <blockquote type="cite">
        <pre>   My question is is it likely that I will have success in compiling
grads if I trawl the net and find these libraries and install them, or
can someone point me in the right direction to solve this problem.
    </pre>
      </blockquote>
      <pre>Since all the grads prerequisites are packaged for fedora, I can't see
why it shouldn't be possible to install them on slackware, either using
the packaging system or by recompiling (even though I don't know anything
about slackware). In case you want to build against 'system' libraries
(libraries not in the supplib directory) you may be interested in the
grads tarball I distribute here (with only changes in configure with
--dyn-supplib given):
<a
 href="http://www.environnement.ens.fr/perso/dumas/fc-srpms/grads-1.9b4.1.tar.gz">http://www.environnement.ens.fr/perso/dumas/fc-srpms/grads-1.9b4.1.tar.gz</a>


--
Pat

  </pre>
    </blockquote>
    <br>
    <br>
    <pre>--
Jean Pierre Arabonis
<a href="mailto:arabonis@egs.uct.ac.za">arabonis@egs.uct.ac.za</a>
Tel 021 780 1021 cell 084 401 1365
This email is 100% Microsoft Free
    </pre>
  </blockquote>
  </div>
  <br>
  <div> <span>
  <div>Jennifer M. Adams</div>
  <div>IGES/COLA</div>
  <div>4041 Powder Mill Road, Suite 302</div>
  <div>Beltsville, MD 20705</div>
  <div><a href="mailto:jma@cola.iges.org">jma@cola.iges.org</a></div>
  <div><br>
  </div>
  <br>
  </span> </div>
  <br>
  </div>
  </div>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Jean Pierre Arabonis
<a class="moz-txt-link-abbreviated" href="mailto:arabonis@egs.uct.ac.za">arabonis@egs.uct.ac.za</a>
Tel 021 780 1021 cell 084 401 1365
This email is 100% Microsoft Free
</pre>
</body>
</html>