我正在尝试在 Ubuntu 17.10 上构建 ardour 5。当我尝试配置它时,它显示pkg -config => No
如何开始pkg -config
工作。我到处搜索,但没有答案,因为这不是一个常见问题。
答案1
更新: 建筑激情 6在Ubuntu 20.04
通过反复试验,这可能包括一些不需要的包:
这是上一个答案中的,但是删除了错误的包:
sudo apt install -y libboost-all-dev gcc g++ pkg-config libasound2-dev libgtk2.0-dev libsndfile1-dev libcurl4-nss-dev libarchive-dev liblo-dev libtag1-dev vamp-plugin-sdk librubberband-dev libfftw3-dev libaubio-dev libxml2-dev lv2-dev libserd-dev libsord-dev libsratom-dev liblilv-dev libgtkmm-2.4-dev
这是我的终端历史记录中安装的所有软件包(可能有一些重叠):
sudo apt-get install -y \
libglibmm-2.4-dev libsndfile1-dev libarchive-dev liblo-dev libtag1-dev \
librubberband-dev libfftw3-dev libaubio-dev libxml2-dev liblrdf0-dev \
libusb-1.0-0-dev libcunit1-dev libwebsocketpp-dev \
libpangomm-1.4-dev libsamplerate0-dev lv2-dev libcunit1-dev libcppunit-dev \
libudev-dev libserd-0-0 libcwiid-dev libxwiimote-dev libserd-0-0 \
libserd-dev libwebsocketpp-dev libwebsockets-dev libsord-dev libsratom-0-0 \
libsratom-0-0 libsratom-dev liblilv-dev liblrdf0 liblrdf0-dev
然后做正常的事情:
./waf configure
./waf
./waf install
答案2
我构建了 Ardour。您需要满足所有先决条件(稍后解释)。您的 PC 上应该已经安装了 Python 2.6。使用以下命令构建它:
./waf configure
./waf
./waf install
它会要求安装一些依赖项,因此请逐一安装它们。列表:(
sudo apt install libboost-all-dev gcc g++ pkg-config libasound2-dev libgtk2.0-dev glibmm-2.4-dev libsndfile1-dev libcurl4-nss-dev libarchive-dev liblo-dev libtag1-dev vamp-plugin-sdk librubberband-dev libfftw3-dev libaubio-dev libxml2-dev libjack-dev liblrdf-dev libsamplerate-dev lv2-dev libserd-dev libsord-dev libsratom-dev liblilv-dev libgtkmm-2.4-dev
一行)