/usr/bin/env: ‘python’: No such file or directory

In attempting to install Ardour-6.2.0, I’m getting this error message after ./waf configure

donald@soundX:~/Downloads/Ardour-6.2.0$ ./waf configure
/usr/bin/env: ‘python’: No such file or directory

What am I missing?

so I found this:

https://askubuntu.com/questions/942930/usr-bin-env-python-no-such-file-or-directory

and ran this:

donald@soundX:~$ sudo ln -s /usr/bin/python3 /usr/bin/python

then ran ./waf configure and got this message:

donald@soundX:~/Downloads/Ardour-6.2.0$ ./waf configure
Setting top to : /home/donald/Downloads/Ardour-6.2.0
Setting out to : /home/donald/Downloads/Ardour-6.2.0/build
Checking for ‘gcc’ (C compiler) : /usr/bin/gcc
Checking for ‘g++’ (C++ compiler) : /usr/bin/g++

Global Configuration

  • Install prefix : /usr/local
  • Debuggable build : True
  • Build documentation : False

Ardour Configuration

  • Will build against private GTK dependency stack : no
  • Will rely on libintl built into libc : yes
  • Will build against private Ardour dependency stack : no
    Checking for function ‘dlopen’ in dlfcn.h : yes
    Checking for boost library >= 1.56 : too old
    Please install boost version 1.56 or higher.
    The configuration failed
    (complete log in /home/donald/Downloads/Ardour-6.2.0/build/config.log)

I installed libboost-all-dev

and now I get this:

donald@soundX:~/Downloads/Ardour-6.2.0$ ./waf configure
Setting top to : /home/donald/Downloads/Ardour-6.2.0
Setting out to : /home/donald/Downloads/Ardour-6.2.0/build
Checking for ‘gcc’ (C compiler) : /usr/bin/gcc
Checking for ‘g++’ (C++ compiler) : /usr/bin/g++

Global Configuration

  • Install prefix : /usr/local
  • Debuggable build : True
  • Build documentation : False

Ardour Configuration

  • Will build against private GTK dependency stack : no
  • Will rely on libintl built into libc : yes
  • Will build against private Ardour dependency stack : no
    Checking for function ‘dlopen’ in dlfcn.h : yes
    Checking for boost library >= 1.56 : ok
    Checking for program ‘pkg-config’ : /usr/bin/pkg-config
    Checking for ‘alsa’ : not found
    The configuration failed
    (complete log in /home/donald/Downloads/Ardour-6.2.0/build/config.log)

We really don’t do much hand-holding of people’s efforts to build Ardour from scratch. This thread (sadly) is a perfect example of why.

You will have many more libraries (development packages) that you need to install for this to work.

This page provides an overview:

and has a link to this page:

which has a link to this page:

https://nightly.ardour.org/list.php#build_deps

which shows the complete and always-current list of dependencies.

I’m sorry that it seems that hand-holding is needed in my case, or in any case. This is my first post in Ardour, and although I wouldn’t consider myself an expert by any means, I do often ‘build programs from scratch’ and have for the past 25 years starting in Gentoo and then moving to Ubuntu based platforms.

I find that one of the best ways to learn about problems is through our mistakes, which is why I thought posting here would be beneficial to myself, and perhaps others.

I strongly believe in, and have donated to, Linux based and open source music software, including JACK and Ardour. I use Ardour 5.12 now and because of a strange MIDI issue, thought that building the latest version of Ardour ‘may’ solve this.

I thank you for your page links…

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.