Build Grads with dods 1.9.0-rc1 on Suse 10.3

Steven Weiss sweiss at IAFRICA.COM
Sun Feb 24 03:44:02 EST 2008


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
  ----- Original Message ----- 
  From: Arlindo da Silva 
  To: GRADSUSR at LIST.CINECA.IT 
  Sent: Sunday, February 24, 2008 2:48 AM
  Subject: Re: Build Grads with dods 1.9.0-rc1 on Suse 10.3


  On Sat, Feb 23, 2008 at 1:08 PM, Steven Weiss <sweiss at iafrica.com> wrote:

    Hi,

    I've been trying to build Grads from Sources and downloaded the sources for
    both Grads 1.9 and the supplibs at sourceforge. 

  Even when the grads binaries do not work for you the pre-compiled supplibs might. If you built your supplibs did you checked whether all the packages completed succesfully? Do a 

  % ls *.install

  and see if ll packages are accounted for, specially udunits. If not, enter

  make install ALLDIRS=udunits

  and see what is going on (specifying ALLDIRS this way avoid tons of distracting output from other packages.)

    I've followed the
    documentation at opengrads and the build runs fine but only for gradsc. I
    would like to build gradsdods as well but it seems that the problem is with
    udunits.h. This is in my supplibs/src/udunits/lib directory. See below for
    output from the configure script. I have also tried with the "--with-dods"
    option with no success.



  The first unusual thing that I noticed

  checking for supplibs directory... ./supplibs/i686-pc-linux-gnu


  I usually place the supplibs parallel to the grads directory

       ../supplibs/i686-pc-linux-gnu

  (I am not sure if this is a problem...)  Here is another clue:

  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

  Somehow it cannot locate udunits.h. Can you see if you have this include file under

       ./supplibs/i686-pc-linux-gnu/include/udunits

  My guess is that your udunits build failed. 

      Arlindo


   




    Regards
    Steven

    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking whether to enable maintainer-specific portions of Makefiles... no

    Checking for programs
    ------------------
    checking for gawk... (cached) gawk
    checking for gcc... gcc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking for g++... g++
    checking whether we are using the GNU C++ compiler... yes
    checking whether g++ accepts -g... yes
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether ln -s works... yes

    Setting host specific options
    -------------------------
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking for supplibs directory... ./supplibs/i686-pc-linux-gnu

    Checking system libraries, headers, and compiler features
    -----------------------------------------
    checking for cos in -lm... yes
    checking how to run the C preprocessor... gcc -E
    checking for X... libraries , headers
    checking for gethostbyname... yes
    checking for connect... yes
    checking for remove... yes
    checking for shmat... yes
    checking for IceConnectionNumber in -lICE... yes

    checking for grep that handles long lines and -e... /usr/bin/grep
    checking for egrep... /usr/bin/grep -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking malloc.h usability... yes
    checking malloc.h presence... yes
    checking for malloc.h... yes
    checking sys/file.h usability... yes
    checking sys/file.h presence... yes
    checking for sys/file.h... yes
    checking for unistd.h... (cached) yes

    checking for an ANSI C-conforming const... yes
    checking whether byte ordering is bigendian... no
    checking for strtod... yes
    checking for off_t... yes
    checking for special C compiler options needed for large files... no
    checking for _FILE_OFFSET_BITS value needed for large files... 64
    checking for _LARGEFILE_SOURCE value needed for large files... no

    Checking for optional feature support
    ------------------------------------
    checking whether to use dynamic linking... no

    Check GrADS command line editing support...
    checking readline/readline.h usability... yes
    checking readline/readline.h presence... yes
    checking for readline/readline.h... yes
    checking readline/history.h usability... yes
    checking readline/history.h presence... yes
    checking for readline/history.h... yes
    checking for tgetent in -lncurses... yes
    checking for libreadline.a in supplibs... yes
    + Command line editing enabled

    Check GrADS GUI support...
    checking for main in -lXext... yes
    checking for main in -lXt... yes
    checking for main in -lXmu... yes
    checking for main in -lXpm... yes
    checking for libneXtaw.a in supplibs... yes
    checking for libsx.a in supplibs... yes
    + GUI enabled

    Check GrADS printim support...
    checking gd.h usability... yes
    checking gd.h presence... yes
    checking for gd.h... yes
    checking for libz.a in supplibs... yes
    checking for libpng.a in supplibs... yes
    checking for libgd.a in supplibs... yes
    + printim enabled

    checking if wi command has been enabled... no
    - wi disabled

    + LATS enabled

    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
    - gradsnc4 (netCDF-4) 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.9.0-rc1 : Built Sat Feb 23 19:31:27 SAST 2008 for i686-pc-linux-gnu
     +=========================================================================+

     +----------------------------------+
     |                                  |
     | Configuration Summary            |
     |                                  |
     |  + readline enabled              |
     |  + printim enabled               |
     |  + GUI enabled                   |
     |  + LATS enabled                  |
     |  - wi disabled (default)         |
     |                                  |
     | Build Summary                    |
     |                                  |
     |  + gradsc    (classic) enabled   |
     |  - gradsnc   (netCDF-3) disabled |
     |  - gradsnc4  (netCDF-4) disabled |
     |  - gradshdf  (HDF-SDS) disabled  |
     | Build Summary                    |
     |                                  |
     |  + gradsc    (classic) enabled   |
     |  - gradsnc   (netCDF-3) disabled |
     |  - gradsnc4  (netCDF-4) disabled |
     |  - gradshdf  (HDF-SDS) disabled  |
     |  - gradsdods (OPeNDAP) disabled  |
     |                                  |
     |  - Dynamic supplibs 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 pytests/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 specifie
    d.




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


More information about the gradsusr mailing list