|
[Sponsors] |
SU installation failed due to insufficient permissions |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 5, 2020, 17:16 |
SU installation failed due to insufficient permissions
|
#1 |
New Member
Wrik Mallik
Join Date: Jun 2020
Posts: 5
Rep Power: 6 |
Hello,
I am having trouble to install SU2 7.05 on Ubuntu20.04 by compiling from the source code. I am trying to follow the instructions on their website. The meson build command with the additional options works well. But then as I try to build install with ninja I am facing a problem. My command: $ ./ninja -C build install ninja: Entering directory `build' [869/870] Installing files. Installing SU2_CFD/src/SU2_CFD to /usr/local/bin Installation failed due to insufficient permissions. Attempting to use polkit to gain elevated privileges... Error getting authority: Error initializing authority: Could not connect: No such file or directory FAILED: meson-install /usr/bin/python3 /home/wrik/SU2/meson.py install --no-rebuild ninja: build stopped: subcommand failed. I am no expert in Linux. Not sure why this is happening. Any help would be appreciated! |
|
June 7, 2020, 11:23 |
|
#2 |
Super Moderator
Tim Albring
Join Date: Sep 2015
Posts: 195
Rep Power: 11 |
You have to choose an installation directory with `--prefix` option when you call meson. Otherwise it tries to install it to /usr/local/bin, which requires root privileges.
__________________
Developer Director @ SU2 Foundation Get involved:
|
|
June 7, 2020, 16:10 |
|
#3 |
New Member
Wrik Mallik
Join Date: Jun 2020
Posts: 5
Rep Power: 6 |
Thanks. This suggestion solved the problem.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] Installation on Ubuntu Subsytem - Failed to fetch | engingreed | OpenFOAM Installation | 6 | June 17, 2021 15:40 |
[swak4Foam] funkyDoCalc with OF2.3 massflow | NiFl | OpenFOAM Community Contributions | 14 | November 25, 2020 04:30 |
[Other] ParaView 5.6 installation problem on Linux Mint | Wowbagger | OpenFOAM Installation | 5 | June 14, 2020 14:16 |
error: connect failed | destroy | FLUENT | 7 | March 18, 2018 15:59 |
grid check failed due to the merged zones | biksham | FLUENT | 0 | February 20, 2008 23:31 |