Installing GEMPAK ON Fedora 42
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.
Update: tried compiling again with the commit for recent systems. Still can't load anything, and the make fails with over 50 Error 2s.
What is the first of the 50 errors you are getting?
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
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.
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.
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.