Skip to content

Installation Issue - MET-10.0.0 - zlib.h #1179

Locked Answered by jprestop
spence98 asked this question in Installation
Discussion options

You must be logged in to vote

Hi Michelle.

Could you please try adding the path to the CPPFLAGS variable with "-I"?

So instead of the following:

CPPFLAGS=' -I${MET_NETCDF}/include -I${MET_HDF5}/include -I/raid-08/LS/spence98/software/grib2/g2clib_install/g2clib-1.6.0 -I${MET_GSL}/include -DBLOCK4 -DWITH\
_GRIB2 -DMET_BASE="\"$(pkgdatadir)\""'

You would have the following, replacing <path to zlib.h> with the actual path to zlib.h:

CPPFLAGS='-I<path to zlib> -I${MET_NETCDF}/include -I${MET_HDF5}/include -I/raid-08/LS/spence98/software/grib2/g2clib_install/g2clib-1.6.0 -I${MET_GSL}/include -DBLOCK4 -DWITH\
_GRIB2 -DMET_BASE="\"$(pkgdatadir)\""'

Please give that a try and let us know how it goes.

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@jprestop
Comment options

@spence98
Comment options

@jprestop
Comment options

@spence98
Comment options

@jprestop
Comment options

Answer selected by jprestop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: build process Build process issue
2 participants