Error when compiling version 2.6.1?

Asked by Theatre-X

I get this in my shell:

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.

And then I check the conf file and it says this:

/usr/bin/moc-qt4 -DHAVE_MODULES -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4 -I. conf4.cpp -o conf4.moc
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DHAVE_MODULES -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4 -I. -o conf4.o conf4.cpp
In file included from conf4.cpp:703:
libboost.qcm:8: fatal error: boost/version.hpp: No such file or directory
compilation terminated.
make: *** [conf4.o] Error 1

I'm not too familiar with compiling things in GNUx. Am I missing some sort of dependency?

Question information

Language:
English Edit question
Status:
Answered
For:
qBittorrent Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Christophe Dumez (hydr0g3n) said :
#1

yes, you are missing libboost-dev dependency. the error should be clearer, I will look into that.

Revision history for this message
Christophe Dumez (hydr0g3n) said :
#2

There are also some compilation instructions on our wiki:
http://sourceforge.net/apps/mediawiki/qbittorrent/index.php?title=Debian_/_Ubuntu

Can you help with this problem?

Provide an answer of your own, or ask Theatre-X for more information if necessary.

To post a message you must log in.