CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > SU2 > SU2 Installation

SU installation failed due to insufficient permissions

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 5, 2020, 17:16
Default SU installation failed due to insufficient permissions
  #1
New Member
 
Wrik Mallik
Join Date: Jun 2020
Posts: 5
Rep Power: 6
WMallik is on a distinguished road
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!
WMallik is offline   Reply With Quote

Old   June 7, 2020, 11:23
Default
  #2
Super Moderator
 
Tim Albring
Join Date: Sep 2015
Posts: 195
Rep Power: 11
talbring is on a distinguished road
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:
talbring is offline   Reply With Quote

Old   June 7, 2020, 16:10
Default
  #3
New Member
 
Wrik Mallik
Join Date: Jun 2020
Posts: 5
Rep Power: 6
WMallik is on a distinguished road
Thanks. This suggestion solved the problem.
WMallik is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 02:27.