Build Grads with dods 1.9.0-rc1 on Suse 10.3

Steven Weiss sweiss at IAFRICA.COM
Sun Feb 24 12:50:11 EST 2008


Hi Arlindo,

See below for details as requested. I have not not tried the pre-compiled versions of supplibs. Actually, I have been working in a windows test environment with grads 1.8 and gradsdods/lats4d. When I wanted to deploy, I downloaded grads-bin-1.8sl11-linux.tar.gz which gave me segmentation faults when trying to do sdfopen. A little homework in the userlist archives indicated that 1.9 is more stable and I decided to build from source thinking this would be the way to go to avoid problems.

Regards
Steven

linux-3vnb:/home/wavescape/grads-1.9.0-rc1 # make -version
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for i686-pc-linux-gnu
linux-3vnb:/home/wavescape/grads-1.9.0-rc1 # gcc --version
gcc (GCC) 4.2.1 (SUSE Linux)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

linux-3vnb:/home/wavescape/grads-1.9.0-rc1 # uname -a
Linux linux-3vnb 2.6.22.5-31-default #1 SMP 2007/09/21 22:29:00 UTC i686 i686 i3
86 GNU/Linux
linux-3vnb:/home/wavescape/grads-1.9.0-rc1 #
  ----- Original Message ----- 
  From: Arlindo da Silva 
  To: GRADSUSR at LIST.CINECA.IT 
  Sent: Sunday, February 24, 2008 6:34 PM
  Subject: Re: Build Grads with dods 1.9.0-rc1 on Suse 10.3


  On Sun, Feb 24, 2008 at 3:44 AM, Steven Weiss <sweiss at iafrica.com> wrote:

    Hi Arlindo,

    OK, udunits did not compile as you suggested. I get the following error below using make make-3.81-66. Any ideas? I'm not that great with Makefiles.

    Regards
    Steven

    linux-3vnb:/home/wavescape/grads-1.9.0-rc1/supplibs/src # make install ALLDIRS=
    udunits
    Building install ...
    make[1]: Entering directory `/home/wavescape/grads-1.9.0-rc1/supplibs/src'
    make[1]: `udunits.config' is up to date.
    make[1]: Leaving directory `/home/wavescape/grads-1.9.0-rc1/supplibs/src'
    make[1]: Entering directory `/home/wavescape/grads-1.9.0-rc1/supplibs/src'
    make[2]: Entering directory `/home/wavescape/grads-1.9.0-rc1/supplibs/src/udunit
    s'
    Makefile:605: *** target pattern contains no `%'.  Stop.
    make[2]: Leaving directory `/home/wavescape/grads-1.9.0-rc1/supplibs/src/udunits
    '
    make[1]: *** [udunits.install] Error 2
    make[1]: Leaving directory `/home/wavescape/grads-1.9.0-rc1/supplibs/src'
    make: *** [install] Error 2

  This is a bit strange. Can you send me the output of

  % make --version
  % gcc --version
  % uname -a

  The version of UDUNITS under the supplibs have been slightly patched as to produce portable GrADS binaries, something we have done for years, so that it finds "udunits.dat" under GADDIR. I have built the supplibs on a large number of platforms, and UDUNITS is never a package that gave me grief. So, I am a bit surprised. My guess is that you have an older version of "make". I have access to a SuSe box, not sure which version it is. Let's first see what you've got.

  There are 2 kinds of users who builds the supplibs from sources: 1) the pre-compiled supplibs don't work for them (I'd like to know when this is the case), and 2) for security reasons or just personal preference, one likes always to build everything from sources, which is why I tried to document the build process. Do you include yourself under 1) or 2)? I guess my question is, have you tried using the pre-compiled i686 supplibs "as is"? Was there a problem?  Is this an option for you? If so, it could save us both time figuring out some particularities of SuSe.

    Arlindo


  -- 
  Arlindo da Silva
  dasilva at alum.mit.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20080224/b87e121d/attachment.html 


More information about the gradsusr mailing list