Unidata / gempak

Analysis and product generation for meteorological data.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cant run build_ubuntu.sh file

Linuxuser1234 opened this issue · comments

when i run the ./setup.sh file i get these options

  • os_type=
  • os_version=
  • tag=
  • [ = dev ]
  • [ = centos]
  • [ = ubuntu]
  • [ = fedora]
    but when i select ubuntu with os_type it gives me a infinite loop i dont know what i did wrong

Did you edit and source Gemenviron first?

@akrherz so what do i need to edit in the Gemenviron folder

Please slow the rate of your posts here and take time to look and understand things. There is no Gemenviron folder. There's a shell environment script for bash and csh/tcsh users. I suspect you are using bash, so edit Gemenviron.profile and review the various variables being set in that file.

is there any setup instructions i don't think the old instructions work anymore

@akrherz ok so when i run tail -f make.out it says make: *** No rule to make target '/subdirs.mk' . Stop.

you need to edit Gemenviron.profile first and then source it into your shell's environment, and then run make. See 57 comment

@akrherz i already edited the Gemenviron.profile i added the gempak directory

/home/awips/Desktop/gempak/gempak

@awipslinuxuser There are a couple of things that stand out to me about your install...

A few comments up you said you set NAWIPS=/home/awips/Desktop/gempak/gempak in Gemenviron.profile, but in your screenshot above you're in the ~/Desktop/GEMPAK7 directory for the gempak user. Based on this you should probably set NAWIPS=/home/gempak/Desktop/GEMPAK7 (Note: I'm not including the gempak subdirectory). You can double check the full path by running pwd while in that GEMPAK7 directory. Also make sure you source that file after you're done editing and before you proceed with the rest of the install.

This raises another question though, the /home/awips/... directory you gave suggests you're attempting to install this as another user. While I think that's possible, it would likely present some issues. It's highly recommended that you install as the gempak user, you can run gempak after install as another user so long as you source the right Gemenviron file for that user's shell.

It's also standard practice, if not required, to make a symlink to your install directory called NAWIPS; this should match the NAWIPS variable you set in Gemenviron. I'm not sure how far you'll get if you don't do this. I can't tell if you have or not, just putting it out there.

I'd recommend going through #57 (comment) and follow those procedures, I can confirm they worked start to finish on a fresh Ubuntu 20.04 LTS install.

The other thing you can try is this: https://github.com/whatheway/GEMPAK Another user made a self installer script for installing Gempak on Ubuntu in an attempt to simplify the process. I have not tested this myself, but at a glance it looks like it should work; it was based on the steps linked above.

Hope this helps.

@akrherz when ever i get the app working and installed will i get a interface like this
download (4)

That looks like nmap2, which is indeed one of the executables provided by GEMPAK.

Hello, good afternoon, I have problems applying the command
make >& make.out
I don't see anything and when applying
tail -f make.out
make: *** /: Is a directory. Stop.