没有指定目标并且没有找到 makefile。停止

没有指定目标并且没有找到 makefile。停止

我遇到了一个问题,我想安装 qtractor。我在终端中写道

cd /home/hl/Documenten/qtractor-0.6.0

之后我确实写下并输入了:

sh ./configure

这就是我得到的。

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

在此之后我写入并输入 make

no targets specified and no makefile found. stop

答案1

是依赖性问题:您没有安装 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

现在运行:

./configure

之后,输入:

make

最后:

sudo make install

相关内容