Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cant run build_ubuntu.sh file #96

Open
Linuxuser1234 opened this issue May 3, 2022 · 15 comments
Open

cant run build_ubuntu.sh file #96

Linuxuser1234 opened this issue May 3, 2022 · 15 comments

Comments

@Linuxuser1234
Copy link

Linuxuser1234 commented May 3, 2022

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
@akrherz
Copy link
Collaborator

akrherz commented May 3, 2022

Did you edit and source Gemenviron first?

@Linuxuser1234
Copy link
Author

no

@Linuxuser1234
Copy link
Author

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

@akrherz
Copy link
Collaborator

akrherz commented May 3, 2022

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.

@Linuxuser1234
Copy link
Author

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

@Linuxuser1234
Copy link
Author

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

@akrherz
Copy link
Collaborator

akrherz commented May 3, 2022

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

@Linuxuser1234
Copy link
Author

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

@Linuxuser1234
Copy link
Author

/home/awips/Desktop/gempak/gempak

@Linuxuser1234
Copy link
Author

@akrherz
Screenshot 2022-05-03 140658

@Linuxuser1234
Copy link
Author

@akrherz
Screenshot 2022-05-03 141934

@mzuranski
Copy link
Contributor

@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.

@Linuxuser1234
Copy link
Author

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

@sgdecker
Copy link
Collaborator

sgdecker commented May 5, 2022

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

@matiasmoviedo
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants