Build Grads with dods 1.9.0-rc1 on Suse 10.3

Steven Weiss sweiss at IAFRICA.COM
Sat Feb 23 13:08:35 EST 2008


Hi,

I've been trying to build Grads from Sources and downloaded the sources for
both Grads 1.9 and the supplibs at sourceforge. 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.

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.



More information about the gradsusr mailing list