CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > SU2 > SU2 Installation

Error: FAILED: meson-install(during NInja installation)

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By bigfootedrockmidget

LinkBack Thread Tools Search this Thread Display Modes
Old   December 2, 2021, 13:26
Default Error: FAILED: meson-install(during NInja installation)
New Member
DIvesh Sharma
Join Date: Dec 2021
Posts: 1
Rep Power: 0
Divesh is on a distinguished road
C++ linker for the host machine: /usr/bin/mpicxx ld.bfd 2.34
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program python3 found: YES (/usr/bin/python3)
Found pkg-config: /usr/bin/pkg-config (0.29.1)
Run-time dependency MPI for c found: YES 4.0.3
Run-time dependency MPI for cpp found: YES 4.0.3
Message: Extracting boost ...

configuration....then I got this error!

:~/SU2$ ./ninja -C build install
ninja: Entering directory `build'
[721/722] 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/divesh/SU2/ install --no-rebuild
ninja: build stopped: subcommand failed.

can anyone guide me to solve this?
I am new to python and SU2 both.

Last edited by Divesh; December 3, 2021 at 01:39.
Divesh is offline   Reply With Quote

Old   December 3, 2021, 13:02
Senior Member
Join Date: Dec 2011
Location: Netherlands
Posts: 176
Rep Power: 13
bigfootedrockmidget is on a distinguished road
you are not allowed to install in /usr/local/bin, probably because you run this as a regular user and you need admin rights for global installation. If you install as a regular user, you usually install in your home directory, you give the installation directory to meson by adding --prefix=/home/userdir/su2 to your meson command.
ugurtan666 likes this.
bigfootedrockmidget is offline   Reply With Quote


ninja installation failed

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
Ansys Installation on Docker Container mohsen.shiea ANSYS 10 June 16, 2021 19:31
Ninja and Meson installation for SU2 AeroEnthusiast SU2 Installation 0 March 2, 2021 21:59
[] A smooth installation of foam-3.0-extend on OpenSUSE 13.1 64-bits cookcaptain OpenFOAM Installation 7 May 26, 2015 12:22
CFX11 + Fortran compiler ? Mohan CFX 20 March 30, 2011 19:56
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 19:07

All times are GMT -4. The time now is 16:28.