gempak icon indicating copy to clipboard operation
gempak copied to clipboard

Installing GEMPAK ON Fedora 42

Open airbusman5514 opened this issue 6 months ago • 6 comments

Does anyone have an updated guide for installation of GEMPAK from source on Fedora 42? I'm trying to follow the guide Unidata has archived, but it seems that just enough has changed that I'm finding it hard to follow along. I'd be trying to install for just myself, so I wouldn't be adding a gempak user.

airbusman5514 avatar Jun 23 '25 17:06 airbusman5514

Update: tried compiling again with the commit for recent systems. Still can't load anything, and the make fails with over 50 Error 2s.

airbusman5514 avatar Jun 25 '25 06:06 airbusman5514

What is the first of the 50 errors you are getting?

sgdecker avatar Jun 25 '25 13:06 sgdecker

make[2]: [Makefile:24: clean] Error 2 (ignored)

I understand there are supposed to be a few of them, but aren't they all supposed to say "ignored?" I get a few that don't say that...

make[2]: *** [Makefile:11: all] Error 2 This one's further down the make.out file

airbusman5514 avatar Jun 25 '25 16:06 airbusman5514

I believe the ignored errors are for things like deleting nonexistent files (because you don't have a previous build yet), but the key line would be a little before the Error 2. There should be a more detailed error message in the make.out file if you look above the make ... Error 2 line. Later errors could just be a side-effect of the first one, so the first non-ignored error would be key to figuring out the problem.

sgdecker avatar Jun 25 '25 19:06 sgdecker

make[3]: *** [Makefile:262: /home/slockhart/gempak-7.19.0.1/os/linux64/lib/libncepBUFR.a(stseq.o)] Error 1 make[3]: Leaving directory '/home/slockhart/gempak-7.19.0.1/extlibs/ncepBUFR/v10.2.3' make[2]: *** [Makefile:11: all] Error 2

This is the first non-ignored Error 2, with the previous two lines above it. I would upload the make.out file here, but Github throws an error when trying to upload; probably has to do with its size of about 28MB.

I should add that I'm not an experienced programmer by any stretch of the word, so I'll do my best to follow your advice.

airbusman5514 avatar Jun 25 '25 20:06 airbusman5514

This shows that the first problem arises when trying to build the libncepBUFR.a library, but the actual error is probably a few lines before that. I'm guessing it's an undefined reference to some other library, and that the fix is to install some Fedora package that provides the missing library.

sgdecker avatar Jun 26 '25 20:06 sgdecker