构建 ardour 时遇到问题,有人能帮我解决依赖关系吗?我尝试过重新安装所有内容,但无济于事

构建 ardour 时遇到问题,有人能帮我解决依赖关系吗?我尝试过重新安装所有内容,但无济于事

我在构建 Ardour 时遇到了麻烦。有人能帮我解决依赖关系吗?我尝试重新安装所有东西,但无济于事。

luis@Luis-Macbook:~/Downloads/music/DAW/ardour/ardour$ ./waf configure
Setting top to                           : /home/luis/Downloads/music/DAW/ardour/ardour 
Setting out to                           : /home/luis/Downloads/music/DAW/ardour/ardour/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'                                  : yes 
Checking for 'libpulse'                              : yes 
Checking for 'glib-2.0' >= 2.28                      : yes 
Checking for 'glib-2.0' >= 2.68                      : not found 
Checking for 'gthread-2.0' >= 2.2                    : yes 
Checking for 'glibmm-2.4' >= 2.32.0                  : yes 
Checking for 'sndfile' >= 1.0.18                     : yes 
Checking for 'giomm-2.4' >= 2.2                      : yes 
Checking for 'libcurl' >= 7.0.0                      : yes 
Checking for 'libarchive' >= 3.0.0                   : yes 
Checking for 'liblo' >= 0.26                         : not found 
The configuration failed
(complete log in /home/luis/Downloads/music/DAW/ardour/ardour/build/config.log)

log 
Checking for 'liblo' >= 0.26 ['/usr/bin/pkg-config', 'liblo >= 0.26', '--cflags', '--libs', 'liblo'] 
err: Package liblo was not found in the pkg-config search path. Perhaps you should add the directory containing liblo.pc' 
to the PKG_CONFIG_PATH environment variable No package 'liblo' found Package liblo was not found in the pkg-config search path. 
Perhaps you should add the directory containing liblo.pc' 
to the PKG_CONFIG_PATH environment variable No package 'liblo' found 

Checking for 'glib-2.0' >= 2.68
['/usr/bin/pkg-config', 'glib-2.0 >= 2.68', '--cflags', '--libs', 'glib-2.0']
err: Requested 'glib-2.0 >= 2.68' but version of GLib is 2.56.4
not found

Ubuntu 18.04.4

答案1

嗯,上面说得很清楚

Checking for 'glib-2.0' >= 2.28    : yes 
Checking for 'glib-2.0' >= 2.68    : not found 
...
...
Checking for 'glib-2.0' >= 2.68
['/usr/bin/pkg-config', 'glib-2.0 >= 2.68', '--cflags', '--libs', 'glib-2.0']
err: Requested 'glib-2.0 >= 2.68' but version of GLib is 2.56.4

这与我的 Ubuntu 18.04 LTS 一致:它有 Glib 2.56.4。软件包名称是libglib2.0-2.56.4-0ubuntu0.18.04.8,构建软件所需的 -dev 软件包是libglib2.0-dev-2.56.4-0ubuntu0.18.04.8

但是它需要较新的 Glib 2.68。Ubuntu 18.04 没有这个。由于它坚持使用较新的 Glib,您唯一的选择是升级您的 Ubuntu;不确定使用 libglib2.0 的 PPA 是否有帮助,或者它是否会破坏您已安装的其他软件。

但您可以简单地从标准 18.04 存储库安装“ardour”:

apt search ardour

ardour/bionic 1:5.12.0-3 amd64
  the digital audio workstation

ardour-data/bionic,bionic 1:5.12.0-3 all
  digital audio workstation (data)

ardour-video-timeline/bionic,bionic 1:5.12.0-3 all
  digital audio workstation - video timeline

https://www.howtoinstall.me/ubuntu/18-04/ardour/

sudo apt update
sudo apt install ardour

相关内容