Please give exact code for:
./configure [--prefix=prefix]
I do not know how to put the prefix.
The Qjackctl sourceforge page states:
The installation procedure follows the standard for source distributions. In the extracted source directory, just do:
./configure [--prefix=prefix] make
and optionally as root:
[sudo] make install
This procedure will end installing the following files:
prefix/bin/qjackctl prefix/share/applications/qjackctl.desktop prefix/share/icons/hicolor/32x32/apps/qjackctl.png prefix/share/qjackctl/translations/qjackctl_*.qm prefix/share/man/man1/qjackctl.1
Just launch
prefix/bin/qjackctl
and you're off (hopefully). Note that the default installation path prefix is/usr/local
.
I tried it as below, but it fails...
kirby@kirby-Aspire-ES1-433:~/Desktop$ ls
qjackctl-0.5.0 qjackctl-0.5.0.tar.gz
kirby@kirby-Aspire-ES1-433:~/Desktop$ cd qjackctl-0.5.0
kirby@kirby-Aspire-ES1-433:~/Desktop/qjackctl-0.5.0$ ./configure --prefix=/bin/qjackctl
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 pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for g++ major version... 7
checking for qmake-qt5... no
checking for qmake... /usr/bin/qmake
checking for Qt major version... qmake: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qmake': No such file or directory
0
configure: error: qmake-qt5 not found in current PATH. Maybe QT development environment isn't available. (qt5-devel)
kirby@kirby-Aspire-ES1-433:~/Desktop/qjackctl-0.5.0$
How to correct this ?
Installing qt5-default did the trick for me on Ubuntu 18.04:
Edit: On a subsequent install of qjackctl on a clean Ubuntu 18.04 OS, the above was all that was necessary to clear the error. I'm leaving my original caveat below for reference.
One caveat, that was the last thing I tried and it worked. I'm unclear as to whether it alone would satisfy the requirements for installing qjackctl. Here are the other steps that I took prior to this working:
Reinstall qtchooser:
That didn't seem to accomplish much. But then I installed qt4-qmake:
This eliminated the error that read
checking for Qt major version... qmake: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qmake': No such file or directory
but not the PATH error related toqmake-qt5
I then tried installing some build requirements:
...which installed 37.0MB of components, but didn't resolve the error.
I also tried to install build-essential:
...but found that it was already installed and up to date.
Finally, having seen more than one mention of qt5-default (see the beginning of my answer), I tried installing it and the PATH error was resolved.