Compiling issues with grib_api
Added by Brendan DeTracey about 6 years ago
Hi,
Feels like forever since I was here. Recently tried compiling 1.9.5 for cygwin but configure fails with grib_api with a few error messages. (Using grib_api instead of eccodes because I am trying to save time :(. Have a deadline tomorrow and thought I would build cdo the same way I have done before. :() . I have attached the cdo config.log
Here are the defines of my grib_api install:
## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "grib_api" #define PACKAGE_TARNAME "grib_api" #define PACKAGE_VERSION " " #define PACKAGE_STRING "grib_api " #define PACKAGE_BUGREPORT "Software.Support@ecmwf.int" #define PACKAGE_URL "" #define STDC_HEADERS 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_DLFCN_H 1 #define LT_OBJDIR ".libs/" #define GRIB_API_MAIN_VERSION 1.28.0 #define GRIB_API_MAJOR_VERSION 1 #define GRIB_API_MINOR_VERSION 28 #define GRIB_API_REVISION_VERSION 0 #define GRIB_ABI_CURRENT 1 #define GRIB_ABI_REVISION 0 #define GRIB_ABI_AGE 0 #define GRIB_PTHREADS 0 #define GRIB_LINUX_PTHREADS 0 #define GRIB_IBMPOWER67_OPT 0 #define IEEE_BE 0 #define IEEE_LE 1 #define IS_BIG_ENDIAN 0 #define GRIB_INLINE inline #define GRIB_MEM_ALIGN 0 #define POSIX_MEMALIGN 1 #define VECTOR 0 #define MANAGE_MEM 0 #define HAVE_FSEEKO 1 #define GRIB_TIMER 0 #define OMP_PACKING 0 #define HAVE_JPEG 1 #define HAVE_LIBJASPER 1 #define HAVE_LIBM 1 #define HAVE_DIRENT_H 1 #define STDC_HEADERS 1 #define HAVE_STDDEF_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_TIME_H 1 #define HAVE_UNISTD_H 1 #define HAVE_MATH_H 1 #define HAVE_STDARG_H 1 #define HAVE_ASSERT_H 1 #define HAVE_CTYPE_H 1 #define HAVE_FCNTL_H 1 #define TIME_WITH_SYS_TIME 1 #define RETSIGTYPE void #define HAVE_VPRINTF 1 #define HAVE_BZERO 1 #define HAVE_GETTIMEOFDAY 1 configure: exit 0
$ grib_info grib_api Version 1.28.0 Default definition files path is used: /usr/local/grib_api/share/grib_api/definitions Definition files path can be changed setting GRIB_DEFINITION_PATH environment variable Default SAMPLES path is used: /usr/local/grib_api/share/grib_api/samples SAMPLES path can be changed setting GRIB_SAMPLES_PATH environment variable
Help!
config.log (107 KB) config.log | cdo config.log |
Replies (6)
RE: Compiling issues with grib_api - Added by Ralf Mueller about 6 years ago
for saving time, you could use the pre-compiled binary for cygwin https://code.mpimet.mpg.de/attachments/18845/cdo-1.9.6rc3-cygwin64-Win10.zip
does it work for you?
RE: Compiling issues with grib_api - Added by Ralf Mueller about 6 years ago
or the latest stable release 1.9.5: https://code.mpimet.mpg.de/attachments/18262/cdo-1.9.5-cygwin64.zip
RE: Compiling issues with grib_api - Added by Brendan DeTracey about 6 years ago
Gah! Damn my grey matter! Sorry Ralph, I think solved this problem myself a couple years back: https://code.mpimet.mpg.de/boards/2/topics/4398
Presently recompiling...
The issue with cygwin prebuilt is that grib support is not compiled in. grib_api and eccodes are not supported cygwin packages.
- When will grib_api support be dropped as a cdo build option?
- Where may I post cdo feature requests?
RE: Compiling issues with grib_api - Added by Ralf Mueller about 6 years ago
Brendan DeTracey wrote:
Gah! Damn my grey matter! Sorry Ralph, I think solved this problem myself a couple years back: https://code.mpimet.mpg.de/boards/2/topics/4398
Presently recompiling...The issue with cygwin prebuilt is that grib support is not compiled in. grib_api and eccodes are not supported cygwin packages.
no, it is build in
- When will grib_api support be dropped as a cdo build option?
eccodes or grib_api are needed for grib2 support. It cannot be dropped as a feature.
- Where may I post cdo feature requests?
we can discuss this here or you create a feature request ticket as an issue here: https://code.mpimet.mpg.de/projects/cdo/issues/new
RE: Compiling issues with grib_api - Added by Brendan DeTracey about 6 years ago
Ralf Mueller wrote:
Brendan DeTracey wrote:
The issue with cygwin prebuilt is that grib support is not compiled in. grib_api and eccodes are not supported cygwin packages.
no, it is build in
Good to know. That must have been tricky to implement.
- When will grib_api support be dropped as a cdo build option?
eccodes or grib_api are needed for grib2 support. It cannot be dropped as a feature.
Okay. I was assuming that grib_api would be phased since it has been supersededplaced with ecCodes by ECMWF.
RE: Compiling issues with grib_api - Added by Ralf Mueller about 6 years ago
it might be phased out, but not so soon. grib_api is still in maintenance mode. from CDO point of view it doesn't matter, because eccodes provides the same API. so it's just an addition building option for CDO.