NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
> Dear sir or mam > > Can you please walk me through on how to install Gempak 7.2.2. on Ubuntu > 14.04 Linux? > > Thank you in advance. Hi Joseph, Apologies for the delay in getting back to you, I've been on PTO for the last few weeks. A big caveat upfront, I do not have an Ubuntu system and so can not personally verify the instructions for installing on such a system, but I know many users have been able to build from source with some small changes to the normal set of instructions. The set of instructions is at http://www.unidata.ucar.edu/software/gempak/doc/install.html About halfway down the page is a short section for Ubuntu: " Ubuntu builds require the compiler flag -fno-stack-protector be added to COPT (C compiler options) and FOPT (fortran compiler options). Ubuntu-specific Makeinc files are provided in $NAWIPS/config/ that include this compiler flag: $NAWIPS/config/Makeinc.linux_gfortran_ubuntu $NAWIPS/config/Makeinc.linux64_gfortran_ubuntu " Basically, in $NAWIPS/config/ you will a number of "Makeinc*" files with compiler- and system-specific names, such as -rw-r--r-- 1 gempak ustaff 58 Dec 11 2013 Makeinc.linux64 -rw-r--r-- 1 gempak ustaff 1044 Dec 11 2013 Makeinc.linux64_g77 -rw-r--r-- 1 gempak ustaff 988 Oct 19 18:36 Makeinc.linux64_gfortran -rw-r--r-- 1 gempak ustaff 997 Sep 30 2014 Makeinc.linux64_gfortran_fedora -rw-r--r-- 1 gempak ustaff 989 Sep 30 2014 Makeinc.linux64_gfortran_ubuntu -rw-r--r-- 1 gempak ustaff 999 Dec 11 2013 Makeinc.linux_g77 -rw-r--r-- 1 gempak ustaff 1020 Sep 30 2014 Makeinc.linux_gfortran -rw-r--r-- 1 gempak ustaff 874 Sep 30 2014 Makeinc.linux_gfortran_fedora -rw-r--r-- 1 gempak ustaff 1028 Sep 30 2014 Makeinc.linux_gfortran_ubuntu The default for 64-bit linux using gfortran, for example, is the file "Makeinc.linux64_gfortran". Notice the additonal files called "_fedora" and "_ubuntu". You will want to copy/move the file Makeinc.linux64_gfortran_ubuntu to Makeinc.linux64_gfortran before you run "make all" in $NAWIPS. (Obviously for 32-bit systems do the above with the files "Makeinc.linux_" instead of "Makeinc.linux64_". The differences between the two files can be seen with the command diff Makeinc.linux64_gfortran Makeinc.linux64_gfortran_ubuntu 11,12c11,12 < COPT = -DUNDERSCORE -D$(OPSYS) $(GEMINC) $(MOTIFINC) $(PYINC) $(WITHPY) -DG_64BIT -O2 -fPIC -g < FOPT = -fno-second-underscore -fno-range-check -fd-lines-as-comments $(GEMINC) $(PYINC) -g #-O --- > COPT = -fno-stack-protector -DUNDERSCORE -D$(OPSYS) $(GEMINC) $(MOTIFINC) > -DG_64BIT -g #-O > FOPT = -fno-stack-protector -fno-second-underscore -fno-range-check > -fd-lines-as-comments $(GEMINC) -g #-O With this _ubuntu file in place of the old "Makeinc.linux64_gfortran" file, you should be able to follow the rest of the instruction ("make all" followed by "make install", or just "make everything"). But again, I have no Ubuntu system myself to check this on, so if you encounter any build errors please let me know about them. Ticket Details =================== Ticket ID: BSP-825279 Department: Support GEMPAK Priority: Critical Status: Open