[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20011219: Installing GEMPAK5.6e



James,

The distribution of GEMPAK 5.6 comes with its own Makefiles.
You should not try to borrow from other sources.

If you downloaded the binary distribution, then there is nothing to
build. The executables are already installed in the bin/sol directory
of the tarfile. There are no source files in the binary distribution
tarfile, so you can't build that. It is just the executables and
all the tables necessary to run the software.

If you want to build the distribution, then you have to download the
source code tarfile. Then, after editing the Gemenviron file for
the NAWIPS location, and sourcing Gemenviron, you will be able to run
"make all".

Steve Chiswell
Unidata User Support





>From: James Murakami <address@hidden>
>Organization: Atmospheric Sciences Dept. UCLA
>Keywords: 200112192220.fBJMKWN11887

>This is a multi-part message in MIME format.
>--------------F79C7A7C1FBB70D3A51CDCCF
>Content-Type: text/plain; charset=us-ascii
>Content-Transfer-Encoding: 7bit
>
>Hello.
>
>I'm trying to install GEMPAK5.6e. When I try compiling, the "make.out"
>log reads as follows--
>
>Making all in /home/ldm/5.6e/gempak
>make: Fatal error: Don't know how to make target `all'
>Current working directory /home/ldm/5.6e/gempak
>*** Error code 1
>make: Fatal error: Command failed for target `all'
>
>
>I think the Makefile I have needs alteration (borrowed from one for
>GEMPAK5.4). I tinkered with it for a while but to no avail. Not being a
>programmer doesn't help. So, unless it's something else, can you take a
>look at the Makefile (attached at copy) and recommend changes. Oh, I
>altered the Gemenviron file slightly from the given template (location
>of home and data directories). I'm running GEMPAK on a SUN
>Ultra 1 (solaris 2.6).
>
>Thank you in advance.
>
>James
>
>--------------------------------------
>James Murakami
>Staff Meteorologist/Student Affairs
>Department of Atmospheric Sciences
>University of California, Los Angeles
>405 Hilgard Ave.
>Los Angeles, CA  90095-1565
>
>
>   e-mail:  address@hidden
>telephone:  310-825-2418
>      Fax:  310-206-5219
>---------------------------------------
>
>--------------F79C7A7C1FBB70D3A51CDCCF
>Content-Type: text/plain; charset=us-ascii;
> name="Makefile"
>Content-Transfer-Encoding: 7bit
>Content-Disposition: inline;
> filename="Makefile"
>
>#################################################################
>###################################################################
>#
>#      Makefile for Nawips 5.4
>#      Makefile for Nawips 5.6
>#              Top level
>#              COMET 7/95 D.Himes
>#              Original: Unidata 7/94 P.Bruehl
>#
>####################################################################
>####################################################################
>####################################################################
>#
>#   The following environment variables must be defined before 
>#   invoking this Makefile:
>#
>#   $NAWIPS  - points to the toplevel of the NAWIPS directory tree.
>#   $GEMPAK and $GEMPAKHOME  - points to the toplevel of the gempak part
>#              of the NAWIPS tree.  Usually directly under $NAWIPS.
>#
>#   $NA_OS   - Used in $(NAWIPS)/config/Makeinc.common to decide which
>#              OS specific Makeinc.* to include.  It also cooresponds
>#              to the directories in the NAWIPS tree where the executables
>#              and libraries are installed.
>#
>####################################################################
>#
>#
>include $(CONFIGDIR)/Makeinc.common
>
>SUBDIRS = \
>       gempak \
>       comet 
>
>SUBDIRS_NOMOTIF = \
>       gempak \
>       comet
>
>all :  INSTALLDIRS
>       @case $(HAVEMOTIF) in \
>       NO) \
>       for dir in NODIR $(SUBDIRS_NOMOTIF); do \
>               case $$dir in \
>                       NODIR) ;; \
>                       *) if [ -d $$dir ]; then \
>                               (cd $$dir; echo "Making $@ in `pwd`" ; \
>                               $(MAKE) $(MFLAGS) $@) ; \
>                          else \
>                               echo "Skipping $$dir"; \
>                          fi; \
>                       ;; \
>               esac ; \
>       done \
>       ;; \
>       *) \
>       for dir in NODIR $(SUBDIRS); do \
>               case $$dir in \
>                       NODIR) ;; \
>                       *) if [ -d $$dir ]; then \
>                               (cd $$dir; echo "Making $@ in `pwd`" ; \
>                               $(MAKE) $(MFLAGS) $@) ; \
>                          else \
>                               echo "Skipping $$dir"; \
>                          fi; \
>                       ;; \
>               esac ; \
>       done \
>       ;; \
>       esac
>
>All : all
>
>everything: distclean all install programs_nc programs_gf
>Everything: everything
>
>basic: distclean all install
>
>web: distclean all install programs_gf
>
>programs_nc : INSTALLDIRS
>       @cd gempak;  echo "Making $@ in `pwd`" ; \
>               $(MAKE) $(MFLAGS) $@
>
>programs_gf : INSTALLDIRS
>       @cd gempak;  echo "Making $@ in `pwd`" ; \
>               $(MAKE) $(MFLAGS) $@
>
>install : INSTALLDIRS
>       @case $(HAVEMOTIF) in \
>       NO) \
>       for dir in NODIR $(SUBDIRS_NOMOTIF); do \
>               case $$dir in \
>                       NODIR) ;; \
>                       *) if [ -d $$dir ]; then \
>                               (cd $$dir; echo "Making $@ in `pwd`" ; \
>                               $(MAKE) $(MFLAGS) $@) ; \
>                          else \
>                               echo "Skipping $$dir"; \
>                          fi; \
>                       ;; \
>               esac ; \
>       done \
>       ;; \
>       *) \
>       for dir in NODIR $(SUBDIRS); do \
>               case $$dir in \
>                       NODIR) ;; \
>                       *) if [ -d $$dir ]; then \
>                               (cd $$dir; echo "Making $@ in `pwd`" ; \
>                               $(MAKE) $(MFLAGS) $@) ; \
>                          else \
>                               echo "Skipping $$dir"; \
>                          fi; \
>                       ;; \
>               esac ; \
>       done \
>       ;; \
>       esac
>
>clean:
>       @for dir in NODIR $(SUBDIRS); do \
>               case $$dir in \
>                       NODIR) ;; \
>                       *) if [ -d $$dir ]; then \
>                               (cd $$dir; echo "Making $@ in `pwd`" ; \
>                               $(MAKE) $(MFLAGS) $@) ; \
>                          else \
>                               echo "Skipping $$dir"; \
>                          fi; \
>                       ;; \
>               esac ; \
>       done
>
>links:
>       @cd gempak; $(MAKE) $(MFLAGS) links
>
># nprogs : FORCEnprogs
>#
># FORCEnprogs :
>#      @cd nprogs;  echo "making N programs in `pwd`" ; \
>#              $(MAKE) $(MFLAGS)
>#
>#testprog :
>#      @cd gempak;  echo "making $@ programs in `pwd`" ; \
>#         $(MAKE) $(MFLAGS) $@
>
>#
>#  Create the Installation directories, if they don't exist.
>#
>INSTALLDIRS: $(SCRIPTS_EXE) $(GEMOLB) $(GEMEXE)
># $(UNILIB)
>
>$(GEMOLB): 
>       @echo " Creating $@"
>       @mkdir -p $@
>       @chmod g+s $@
>
>$(GEMEXE):
>       @echo " Creating $@"
>       @mkdir -p $@
>       @chmod g+s $@
>
>$(SCRIPTS_EXE):
>       @echo " Creating $@"
>       @mkdir -p $@
>       @chmod g+s $@
>
>#$(UNILIB):
>#      @echo " Creating $@"
>#      @mkdir -p $@
>#      @chmod g+s $@
>
>distclean: clean
>       @echo  "removing files in $(GEMOLB)"
>       cd $(GEMOLB); $(RM) *.a *.o
>       @if [ -d $(NETCDFHOME) ]; then \
>          echo  "removing files in $(NETCDFHOME)"; \
>          cd $(NETCDFHOME); rm -rf bin include lib man ; \
>       fi
>
>--------------F79C7A7C1FBB70D3A51CDCCF--
>