Can't install qBittorrent 3.0.11 from tar.gz file
- Vous devez vous identifier ou créer un compte pour écrire des commentaires
I downloaded the tar.gz file and tried to install it from Terminal. Then this happened.
# ./configure
Configuring qbittorrent ...
Verifying Qt 4 build environment ... fail
Reason: There was an error compiling 'conf'. See conf.log for details.
Be sure you have a proper Qt 4.0 build environment set up. This means not
just Qt, but also a C++ compiler, a make tool, and any other packages
necessary for compiling C++ programs.
If you are certain everything is installed, then it could be that Qt 4 is not
being recognized or that a different version of Qt is being detected by
mistake (for example, this could happen if $QTDIR is pointing to a Qt 3
installation). At least one of the following conditions must be satisfied:
1) --qtdir is set to the location of Qt
2) $QTDIR is set to the location of Qt
3) QtCore is in the pkg-config database
4) qmake is in the $PATH
This script will use the first one it finds to be true, checked in the above
order. #3 and #4 are the recommended options. #1 and #2 are mainly for
overriding the system configuration.
-------------------
I looked at the config.log file and found this.
/usr/bin/moc-qt4 -DHAVE_MODULES -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4 -I. conf4.cpp -o conf4.moc
make: /usr/bin/moc-qt4: Command not found
make: *** [conf4.moc] Error 127
'''''''''''''''
I don't really understand these messages. Can anyone please help me?
The version of qBittorrent in the Trisquel repositories is 2.9.7, which is outdated. The latest version of qBittorrent is 3.0.11.
If I were you, I would try to intsall the DEB package in the Debian's experimental repository.
If you really want to compile the latest version, install the "libqt4-dev" package (in Trisquel's repository) ans start over the build process.
Generally if configure fails and complains that you're missing whatever, install the whatever-dev package. :)
I installed the required packages and successfully updated qBittorrent. Thanks everyone.
- Vous devez vous identifier ou créer un compte pour écrire des commentaires