I have a server and I want to install qBittorrent on it, using the webui to control it. I followed the guide in the wiki, and installed all the dependencies (of the debian) that don't require the X server.
I tried to compile it but I got the following error:
Code: Select all
root@server:~/qbittorrent-2.9.7# ./configure --disable-gui
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 use Ubuntu Server 12.04 LTS. I installed Qt4 Core, qt4-qmake, some other Qt4 related packages and libtorrent-rasterbar6.
Now I'm using uTorrent server, but I don't want use it because it is closed-source. I suggest making a qbittorrent-server debian package, with the init.d script included...
Thanks, Davide.