Skip to content

Problems compiling MET with gcc compiler #1876

Locked Answered by diegocarrio
diegocarrio asked this question in Installation
Discussion options

You must be logged in to vote

Hi @jprestop

I have modified the line 666 of the compile_MET_all_fix.sh in the following way and seems to work:

export CURL_DIR="/usr/lib/x86_64-linux-gnu/"

./configure --prefix=${LIB_DIR} LDFLAGS=-L${LIB_DIR}/lib CPPFLAGS=-I${LIB_DIR}/include LIBS="-L${LIB_DIR}/lib -lhdf5_hl -lhdf5 -lz -lnetcdf" CURL_LIB="-L${CURL_LIB} -lcurl" > configure.log 2>&1

Now, the netcdf libraries seem to finish successfully with the following message:

+-------------------------------------------------------------+
| Congratulations! You have successfully installed netCDF! |
| |
| You can use script "nc-config" to find out the relevant |
| compiler options to build your application. Enter |
| |
| nc-config --help |

Replies: 2 comments 13 replies

Comment options

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

@diegocarrio
Comment options

@jprestop
Comment options

@diegocarrio
Comment options

@diegocarrio
Comment options

Comment options

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

@diegocarrio
Comment options

@jprestop
Comment options

@diegocarrio
Comment options

@jprestop
Comment options

Answer selected by diegocarrio
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