Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build/make/configure: its need to be "qt4-qmake" not "qmake-qt4" (on debian-based) (with solution) #3583

Closed
WaterSibilantFalling opened this issue Aug 6, 2015 · 3 comments
Labels
OS: Linux Issues specific to Linux distributions

Comments

@WaterSibilantFalling
Copy link

when building, ./configure won't run, incorrectly returning the error

checking whether Qt5 should be enabled... no
checking for /qmake... no
checking for /qmake-qt4... no
checking for Qt4 qmake >= 4.8.0... not found
configure: error: Could not find qmake

when qt4-qmake is installed.

The cause is that it is incorrectly looking for "qmake-qt4" instead of "qt4-qmake"

Linux 3.16.0-4-686-pae #1 SMP Debian 3.16.7-ckt11-1 (2015-05-24) i686 GNU/Linux
qbittorrent-3.2.3.tar.gz

maybe
configure.ac:$QT_QMAKE -r [$CONFDIR]/qbittorrent.pro
is the problem?

Note that it is looking for **/**qmake

@sledgehammer999
Copy link
Member

It's looking for the name of the binary. On debian unstable it is named qmake-qt4. (and qmake)
What is your distro ?
Have you installed libt4-dev ?

@sledgehammer999 sledgehammer999 added the OS: Linux Issues specific to Linux distributions label Aug 6, 2015
@WaterSibilantFalling
Copy link
Author

my distro is Debian testing (stretch), up to date.
Linux 3.16.0-4-686-pae #1 SMP Debian 3.16.7-ckt11-1 (2015-05-24) i686 GNU/Linux

I had not installed libqt4-dev. I tar -zxf 'd the tar file, and ran ./configure, oldschool.
The error did not seem to lead to libqt4-dev.

I have qmake installed:

locate qmake | grep bin
/usr/bin/qmake
/usr/bin/qmake-qt4
/usr/lib/i386-linux-gnu/qt4/bin/qmake
/usr/lib/i386-linux-gnu/qt5/bin/qmake
/usr/share/qt4/bin/qmake

I have now found your https://github.com/qbittorrent/qBittorrent/wiki/Compiling-qBittorrent-on-Debian-and-Ubuntu#Compiling_qBittorrent_with_the_GUI page, so following that.

a separate not, libtorrent gives
configure: WARNING: unrecognized options: --with-geoip
when configured as instructed there.

@sledgehammer999
Copy link
Member

configure: WARNING: unrecognized options: --with-geoip

I fixed it. It should be--with-libgeoip

I tar -zxf 'd the tar file, and ran ./configure, oldschool.

Then the problem is qt was installed in a place where qbt couldn't find it.
Anyway, now using my instructions from the wiki you should be able to compile.

@qbittorrent qbittorrent locked and limited conversation to collaborators Feb 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
OS: Linux Issues specific to Linux distributions
Projects
None yet
Development

No branches or pull requests

2 participants