Hi folks,
We lost an old version of GEMPAK that we had previously built all of the
_gif programs in. We use GEMPAK to build images for our web server and
would prefer not to deal with X server issues to make our scripts work.
(By the way, if anyone knows how to disable the "AUDIT" event that
happens with a Redhat X.org configuration, please shoot me an email! We
are generating ~15 GB of messages in less than a day.)
Anyway, I found this note from a while ago:
https://www.unidata.ucar.edu/support/help/MailArchives/gempak/msg04409.html
However, the Makefile did not appear to be included in the archive
view. We are also hoping to build gdplot2_gif (or gdplot3_gif), so that
message looked promising at first.
Here is what I tried to do:
[herbster@zephyr GEMPAK6.4.0]$ pwd
/storage/wrf/Web-Devel/WebTools/GEMPAK6.4.0
[herbster@zephyr GEMPAK6.4.0]$ cd gempak/source/programs/gd/gdplot2
[herbster@zephyr gdplot2]$ make programs_gif
gfortran -fno-second-underscore -fno-range-check -fd-lines-as-comments
-I/opt/wrf/Web-Devel/WebTools/gempak/gempak/include
-I/opt/wrf/Web-Devel/WebTools/gempak/os/linux64/include -g gdplot2.f
/opt/wrf/Web-Devel/WebTools/gempak/os/linux64/lib/gdplot2.a
/opt/wrf/Web-Devel/WebTools/gempak/os/linux64/lib/sfmap.a
/opt/wrf/Web-Devel/WebTools/gempak/os/linux64/lib/gdstream.a
/opt/wrf/Web-Devel/WebTools/gempak/os/linux64/lib/gdmap.a
/opt/wrf/Web-Devel/WebTools/gempak/os/linux64/lib/ginitp_alt.o
/opt/wrf/Web-Devel/WebTools/gempak/os/linux64/lib/gendp_alt.o
/opt/wrf/Web-Devel/WebTools/gempak/os/linux64/lib/gemlib.a
/opt/wrf/Web-Devel/WebTools/gempak/os/linux64/lib/gplt.a
/opt/wrf/Web-Devel/WebTools/gempak/os/linux64/lib/device.a
/opt/wrf/Web-Devel/WebTools/gempak/os/linux64/lib/gif.a
/opt/wrf/Web-Devel/WebTools/gempak/os/linux64/lib/gn.a
/opt/wrf/Web-Devel/WebTools/gempak/os/linux64/lib/gemlib.a
/opt/wrf/Web-Devel/WebTools/gempak/os/linux64/lib/cgemlib.a
/opt/wrf/Web-Devel/WebTools/gempak/os/linux64/lib/libnetcdf.a
/opt/wrf/Web-Devel/WebTools/gempak/os/linux64/lib/libjasper.a
/opt/wrf/Web-Devel/WebTools/gempak/os/linux64/lib/libpng.a
/opt/wrf/Web-Devel/WebTools/gempak/os/linux64/lib/libz.a
/opt/wrf/Web-Devel/WebTools/gempak/os/linux64/lib/rsl.a
/opt/wrf/Web-Devel/WebTools/gempak/os/linux64/lib/libbz2.a -lm -o
/opt/wrf/Web-Devel/WebTools/gempak/os/linux64/bin/gdplot2_gif
Error: Can't open included file 'MCHPRM.PRM'
make: *** [gdplot2_gif] Error 1
[herbster@zephyr gdplot2]$ grep MCHPRM.PRM ../../../../../find.out
./os/linux64/include/MCHPRM.PRM
It looks like there is something like an environment variable that has
to be set when you start this low in the tree, but I'm out of my league
with that guess. There are no errors up to the point where it fails.
I'd be happy to send pieces if you need them.
I know this is an older version of the program. If this is "ready to
go" in the latest release let me know. The version I have (6.4.0) has
"gpmap_gif" which is why I am using it. (I'd love to have ALL of the
GIF enabled programs if there is a systematic way to make that happen.
Thanks in advance!
Best to all,
Chris Herbster
--
Dr. Christopher G. Herbster
Associate Professor
Director of Science and Technology
for the ERAU Weather Center
Applied Aviation Sciences
Embry-Riddle Aeronautical Univ.
600 S. Clyde Morris Blvd.
Daytona Beach, FL 32114-3900
386.226.6444 Office
386.226.6446 Weather Center
http://wx.erau.edu/
Schedule at: http://wx.erau.edu/faculty/herbster/Schedules/