Grads 1.9b4 install from source

Oliver König k.oliver at T-ONLINE.DE
Thu Jun 30 08:35:41 EDT 2005


Hello Eric,
thanks for your suggestion. This is what I did:

buran:/usr/ # tar xvfz udunits-1.11.7.tar.Z
buran:/usr/ # cd udunits-1.11.7/
buran:/usr/udunits-1.11.7 # mv bin/ /usr/local/bin
buran:/usr/udunits-1.11.7 # mv etc/ /usr/local/etc/
buran:/usr/udunits-1.11.7 # mv include/ /usr/local/include
buran:/usr/udunits-1.11.7 # mv lib/ /usr/local/lib
buran:/usr/udunits-1.11.7 # mv man/ /usr/local/man
buran:/usr/udunits-1.11.7 # cd /opt
buran:/opt # tar xvfz grads-src-1.9b4.tar.gz
buran:/opt # ln -s grads-1.9b4 grads
buran:/opt # cd grads
buran:/opt/grads # ./configure --with-readline --with-printim --with-nc
--with-dods --with-hdf
[..]
Checking which GrADS binaries can be built
------------------------------------
checking udunits.h usability... yes
checking udunits.h presence... yes
checking for udunits.h... yes
checking netcdf.h usability... yes
checking netcdf.h presence... yes
checking for netcdf.h... yes
checking for libudunits.a in supplibs... no
- gradsnc (plain netCDF) build disabled

checking for udunits.h... (cached) yes
checking for netcdf.h... (cached) yes
checking for libz.a in supplibs... no
- gradshdf (HDF-SDS/netCDF) build disabled

checking for udunits.h... (cached) yes
checking for netcdf.h... (cached) yes
checking for libz.a in supplibs... no
- gradsdods (OPeNDAP/netCDF) build disabled

  +=========================================================================+
   GrADS 1.9b4 : Built Thu Jun 30 14:27:51 CEST 2005 for i686-pc-linux-gnu
  +=========================================================================+

  +----------------------------------+
  |                                  |
  | Configuration Summary            |
  |                                  |
  |  - readline disabled             |
  |  - printim disabled              |
  |  - GUI disabled                  |
  |  + LATS enabled                  |
  |  - wi disabled (default)         |
  |                                  |
  | Build Summary                    |
  |                                  |
  |  + gradsc    (classic) enabled   |
  |  - gradsnc   (netCDF)  disabled  |
  |  - gradshdf  (HDF-SDS) disabled  |
  |  - gradsdods (OPeNDAP) disabled  |
  |                                  |
  |  - Dynamic linking disabled      |
  |                                  |
  +----------------------------------+

So I am one step further because grads now finds the libudunits stuff except
for libudunits.a in supplibs.
buran:/opt/grads # locate libudunits.a
/usr/local/lib/libudunits.a

So I give it another try similar to what you suggested:
buran:/opt/grads # SUPPLIBS=/usr/local/lib/libudunits.a ./configure
--with-readline --with-printim --with-nc --with-dods --with-hdf
[..]
checking udunits.h usability... no
checking udunits.h presence... no
checking for udunits.h... no
- gradsnc (plain netCDF) build disabled

Now, grads doesn't find any udunits stuff at all.

Please help! Thanks!

Regards,
Oliver

On Wednesday 29 June 2005 22:58, Eric DeWeaver wrote:
> Hi Oliver,
>
> I'm no expert no building grads, but here's a suggestion:
>
>   SUPPLIBS=/usr/local/udunits-1.11.7/include/udunits.h  ./configure
>
> I think options like 'nc' and 'printim' are enabled by default, you
> probably don't need to enable them explicitly.
>
> Building grads was a pretty big challenge for me, and it still
> doesn't work quite right.  I hope things go smoothly for you after
> you resolve the udunits thing.
>
> Good luck,
>
> Eric
>
> On Wed, 29 Jun 2005, Oliver König wrote:
> > Hello,
> > I am trying to install Grads 1.9b4 from source. I have got a Pentium M
> > 1.5 GHz and 512 MB RAM running Suse Linux 9.2. This is what I did:
> >
> >
> > buran:/usr/local # tar xvfz udunits-1.11.7.tar.Z
> > buran:/usr/local # cd /opt/
> > buran:/opt #  wget ftp://grads.iges.org/grads/1.9/grads-src-1.9b4.tar.gz
> > buran:/opt #  tar xvfz grads-src-1.9b4.tar.gz
> > buran:/opt #  cd /opt/grads1.9b4
> > buran:/opt/grads-1.9b4 # ./configure --with-readline --with-printim
> > --with-nc --with-dods --with-hdf
> > [..]
> > Checking which GrADS binaries can be built
> > ------------------------------------
> > checking udunits.h usability... no
> > checking udunits.h presence... no
> > checking for udunits.h... no
> > - gradsnc (plain netCDF) build disabled
> >
> > checking for udunits.h... (cached) no
> > - gradshdf (HDF-SDS/netCDF) build disabled
> >
> > checking for udunits.h... (cached) no
> > - gradsdods (OPeNDAP/netCDF) build disabled
> >
> >
> > +========================================================================
> >=+ GrADS 1.9b4 : Built Wed Jun 29 18:40:19 CEST 2005 for i686-pc-linux-gnu
> > +========================================================================
> >=+
> >
> >   +----------------------------------+
> >
> >   | Configuration Summary            |
> >   |
> >   |  - readline disabled             |
> >   |  - printim disabled              |
> >   |  - GUI disabled                  |
> >   |  + LATS enabled                  |
> >   |  - wi disabled (default)         |
> >   |
> >   | Build Summary                    |
> >   |
> >   |  + gradsc    (classic) enabled   |
> >   |  - gradsnc   (netCDF)  disabled  |
> >   |  - gradshdf  (HDF-SDS) disabled  |
> >   |  - gradsdods (OPeNDAP) disabled  |
> >   |
> >   |  - Dynamic linking disabled      |
> >
> >   +----------------------------------+
> > configure: creating src/VERSION
> > configure: creating src/buildinfo.h
> > configure: creating ./config.status
> > config.status: creating Makefile
> > config.status: creating src/Makefile
> > config.status: creating src/config.h
> > config.status: src/config.h is unchanged
> >
> > Run 'make && make install' to build GrADS.
> > Executables will be installed to bin/ in current dir, unless prefix was
> > specified.
> >
> > buran:/usr/local # locate udunits.h
> > /usr/local/udunits-1.11.7/include/udunits.h
> >
> > What doesn't Grads find udunits.h? What is going wrong? How can I fix
> > this?
> >
> >
> > --
> > Oliver König
> >
> > Windfinder.com
> > Knorrstr. 24 Hinterhaus
> > 24106 Kiel
> > Germany
> > phone +49 431-8008643
> > VoIP +49 1801-7775558229
> > fax +49 431-8008644
> > Mobile +49 177-4933362
> > oliver at windfinder.com
> > www.windfinder.com

--
Oliver König

Windfinder.com
Knorrstr. 24 Hinterhaus
24106 Kiel
Germany
phone +49 431-8008643
VoIP +49 1801-7775558229
fax +49 431-8008644
Mobile +49 177-4933362
oliver at windfinder.com
www.windfinder.com



More information about the gradsusr mailing list