[gradsusr] trouble compiling gadap-2.0

Martin Ivanov martin.ivanov at ifg.uni-tuebingen.de
Tue Apr 24 05:41:10 EDT 2012


Hello, Sergey,

Thank you very much for the useful hint. I used the gadap from the 
opengrads supplibs and it compiled ok.
I installed the headers in /usr/include and the libraries in /usr/lib64, 
as is the default for my system.
However, when I compile GrADS, it enables OPeNDAP only for grids and 
disables shapefile, although I have shapelib
installed. The output of the configure procedure is attached. Any 
suggestions will be appreciated.

Thank you very much for your assistance.

Best regards,
-- Dr. Martin Ivanov
Eberhard-Karls-Universität Tübingen
Mathematisch-Naturwissenschaftliche Fakultät
Fachbereich Geowissenschaften Water & Earth System Science (WESS)
Keplerstraße 17, 72074
Tübingen, Deutschland Tel. +4970712975023
-------------- next part --------------
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
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 xlc... no
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 ANSI C... none needed
checking for xlc++... no
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/ginstall -c
checking whether ln -s works... yes

Setting host specific options
-------------------------
checking build system type... x86_64-slackware-linux-gnu
checking host system type... x86_64-slackware-linux-gnu
Host machine: x86_64-slackware-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 /usr/lib64, 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 egrep... 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... no
checking for _LARGE_FILES value needed for large files... no
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for fseeko... yes

Checking for optional feature support
------------------------------------
checking for supplibs directory... not found
checking whether to use dynamic linking... yes (Warning: binaries may not be suitable for distribution)

Checking for libraries to support GUI interface ...
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 main in -lXaw... yes
checking for main in -lsx... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for XAW7... yes
checking for main in -lXt... (cached) yes
checking for main in -lXmu... (cached) yes
checking for main in -lXext... (cached) yes
checking for main in -lXpm... (cached) yes
checking for main in -lneXtaw... no
checking for main in -lXaw3d... yes
checking libsx.h usability... no
checking libsx.h presence... no
checking for libsx.h... no
- GUI disabled


Checking in system locations for libraries to support command line editing ...
checking for a readline compatible library... -lreadline -ltermcap
checking readline.h usability... no
checking readline.h presence... no
checking for readline.h... no
checking readline/readline.h usability... yes
checking readline/readline.h presence... yes
checking for readline/readline.h... yes
checking whether readline supports history... yes
checking history.h usability... no
checking history.h presence... no
checking for history.h... no
checking readline/history.h usability... yes
checking readline/history.h presence... yes
checking for readline/history.h... yes
+ Command line editing enabled


Checking in system locations for libraries to support geotiff ...
checking for main in -ltiff... yes
checking for main in -lgeotiff... yes
configure: searching geotiff includes in /usr/include
checking for geotiffio.h with compiler... yes
checking for geotiffio.h with preprocessor... yes
+ geotiff enabled

- shapefile disabled


Checking in system locations for libraries to support printim ...
checking for GD... yes
checking gd.h usability... yes
checking gd.h presence... yes
checking for gd.h... yes
checking for gdImageCreate in -lgd... yes
checking for gdCompareInt... no
+ printim enabled


Checking in system locations for grib2 libraries ...
checking grib2.h usability... yes
checking grib2.h presence... yes
checking for grib2.h... yes
checking for main in -lgrib2c... yes
checking for main in -lpng12... yes
checking for main in -lz... yes
checking for main in -ljasper... yes
+ grib2 enabled


Checking in system locations for libraries to support hdf4 ...
checking udunits.h usability... yes
checking udunits.h presence... yes
checking for udunits.h... yes
checking for utInit in -ludunits... yes
checking for SZ_BufftoBuffCompress in -lsz... yes
checking for deflate in -lz... yes
checking for jpeg_start_compress in -ljpeg... yes
checking for Hopen in -ldf... yes
checking for SDstart in -lmfhdf... yes
checking for mfhdf.h with compiler... yes
checking for mfhdf.h with preprocessor... yes
checking for sd_ncopen... yes
checking hdf4_netcdf.h usability... yes
checking hdf4_netcdf.h presence... yes
checking for hdf4_netcdf.h... yes
checking for netcdf.h with compiler... yes
checking for netcdf.h with preprocessor... yes
+ hdf4 enabled


Checking in system locations for libraries to support hdf5 ...
checking for main in -lsz... yes
checking for compress in -lz... yes
checking for main in -ljpeg... yes
checking for H5Fopen in -lhdf5... yes
checking for hdf5.h with compiler... yes
+ hdf5 enabled

checking for udunits.h... (cached) yes
checking for utInit in -ludunits... (cached) yes
configure: searching netcdf includes in 
checking for netcdf.h with compiler... yes
checking for netcdf.h with preprocessor... yes
+ netcdf-4 enabled


- OPeNDAP for station data disabled

  +=========================================================================+
   GrADS 2.0.1 : Built Tue Apr 24 11:31:34 CEST 2012 for x86_64-slackware-linux-gnu
  +=========================================================================+

  +-------------------------------+
  |                               |
  |  GrADS will be built with:    |
  |                               |
  |  - GUI disabled               |
  |  + readline enabled           |
  |  + geotiff enabled            |
  |  - shapefile disabled         |
  |  + printim enabled            |
  |  + grib2 enabled              |
  |  + hdf4 enabled               |
  |  + hdf5 enabled               |
  |  + netcdf-4 enabled           |
  |  + OPeNDAP enabled            |
  |     for grids only            |
  |                               |
  +-------------------------------+
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


More information about the gradsusr mailing list