没有指定目标,也没有找到 makefile。停止

Laf*_*fci 3 command-line

我有一个问题,你去吧,我想安装 qtractor。我在终端写的

cd /home/hl/Documenten/qtractor-0.6.0
Run Code Online (Sandbox Code Playgroud)

之后我确实写了并输入:

sh ./configure
Run Code Online (Sandbox Code Playgroud)

这就是我得到的。

checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking whether gcc needs -traditional... no
checking for Qt library version >= 4.4... no; Qt 4.4 or greater is required
Run Code Online (Sandbox Code Playgroud)

在此之后我写并输入 make

no targets specified and no makefile found. stop
Run Code Online (Sandbox Code Playgroud)

gir*_*ngo 5

是一个依赖问题:你没有安装 qt4 库。

安装所有依赖项:

sudo apt-get install libqt4-dev
sudo apt-get install libjack0
sudo apt-get install libjack-dev
sudo apt-get install libasound2-dev
sudo apt-get install libsndfile1-dev
Run Code Online (Sandbox Code Playgroud)

现在,运行:

./configure
Run Code Online (Sandbox Code Playgroud)

之后,键入:

make
Run Code Online (Sandbox Code Playgroud)

最后:

sudo make install
Run Code Online (Sandbox Code Playgroud)