Error when compiling version 2.6.1?
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/
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DHAVE_MODULES -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/usr/
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:
Can you help with this problem?
Provide an answer of your own, or ask Theatre-X for more information if necessary.