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 Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 5, 2020, 16:16
Default SU installation failed due to insufficient permissions
  #1
New Member
 
Wrik Mallik
Join Date: Jun 2020
Posts: 5
Rep Power: 2
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, 10:23
Default
  #2
Super Moderator
 
Tim Albring
Join Date: Sep 2015
Posts: 195
Rep Power: 7
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, 15:10
Default
  #3
New Member
 
Wrik Mallik
Join Date: Jun 2020
Posts: 5
Rep Power: 2
WMallik is on a distinguished road
Thanks. This suggestion solved the problem.
WMallik is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
[swak4Foam] funkyDoCalc with OF2.3 massflow NiFl OpenFOAM Community Contributions 14 November 25, 2020 03:30
[OpenFOAM.org] Installation on Ubuntu Subsytem - Failed to fetch engingreed OpenFOAM Installation 5 October 8, 2020 13:26
[Other] ParaView 5.6 installation problem on Linux Mint Wowbagger OpenFOAM Installation 5 June 14, 2020 13:16
error: connect failed destroy FLUENT 7 March 18, 2018 14:59
grid check failed due to the merged zones biksham FLUENT 0 February 20, 2008 22:31


All times are GMT -4. The time now is 15:21.