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

Linux sh installer is broken in 9.1.0 #7256

Closed
jmarrec opened this issue Apr 5, 2019 · 3 comments
Closed

Linux sh installer is broken in 9.1.0 #7256

jmarrec opened this issue Apr 5, 2019 · 3 comments
Assignees

Comments

@jmarrec
Copy link
Contributor

@jmarrec jmarrec commented Apr 5, 2019

Issue overview

The linux .sh install script isn't behaving correctly due to the lack of the extra level (#7148), it's installing everything at /usr/local/ instead of /usr/local/EnergyPlus-9-1-0 like it would have before.

With the official 9.1.0 install script EnergyPlus-9.1.0-08d2e308bb-Linux-x86_64.sh, even if you specify /usr/local/EnergyPlus-9-1-0 (after mkdir it), it's going to mess up a few things during the install, and all the symlinks in /usr/local/bin are broken:

Extracting, please wait...
Unpacking to directory /usr/local/EnergyPlus-9-1-0 was successful.
chmod: cannot access '/usr/local/EnergyPlus-9-1-0/EnergyPlus-9-1-0/PreProcess/IDFVersionUpdater/': No such file or directory
mv: cannot stat '/usr/local/EnergyPlus-9-1-0/EnergyPlus-9-1-0/energyplus.1': No such file or directory
./EnergyPlus-9.1.0-08d2e308bb-Linux-x86_64.sh: 102: ./EnergyPlus-9.1.0-08d2e308bb-Linux-x86_64.sh: cannot create /usr/local/EnergyPlus-9-1-0/EnergyPlus-9-1-0/uninstall.sh: Directory nonexistent
./EnergyPlus-9.1.0-08d2e308bb-Linux-x86_64.sh: 127: ./EnergyPlus-9.1.0-08d2e308bb-Linux-x86_64.sh: cannot create /usr/local/EnergyPlus-9-1-0/EnergyPlus-9-1-0/uninstall.sh: Directory nonexistent
chmod: cannot access '/usr/local/EnergyPlus-9-1-0/EnergyPlus-9-1-0/uninstall.sh': No such file or directory

Details

Some additional details for this issue (if relevant):

  • Platform (Operating system, version): Ubuntu
  • Version of EnergyPlus (if using an intermediate build, include SHA): 9.1.0 official, current develop too
  • Unmethours link or helpdesk ticket number

Checklist

Add to this list or remove from it as applicable. This is a simple templated set of guidelines.

  • Defect file added: N/A
  • Ticket added to Pivotal for defect (development team task)
  • Pull request created (the pull request will have additional tasks related to reviewing changes that fix this defect)
@samuelduchesne
Copy link

@samuelduchesne samuelduchesne commented May 23, 2019

I concur...

@jmarrec jmarrec self-assigned this May 27, 2019
Myoldmopar added a commit that referenced this issue Jun 4, 2019
Fix #7256: Linux sh installer is broken in 9.1.0
takaomoriyama added a commit to IBM/rl-testbed-for-energyplus that referenced this issue Jul 10, 2019
The issue is described in NREL/EnergyPlus#7256
@gopal86
Copy link

@gopal86 gopal86 commented Feb 6, 2020

Hi, I am facing the same issue after installing EnergyPlus 9.1.0 from the sh file . Can someone help me with it?

@jmarrec
Copy link
Contributor Author

@jmarrec jmarrec commented Feb 7, 2020

Just use E+ 9.2 if you can.

For 9.1, Just use the tar.gz file and place it in /usr/local/EnergyPlus-9-1-0 then recreate the symlinks by hand...

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

Successfully merging a pull request may close this issue.

3 participants
You can’t perform that action at this time.