我在构建 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
嗯,说的很清楚
这与我的 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”:
https://www.howtoinstall.me/ubuntu/18-04/ardour/