Code: Select all
root@luchang-virtual-machine:~/VirtualBox-5.1.26# ./configure --disable-hardening
Checking for environment: Determined build machine: linux.amd64, target machine: linux.amd64, OK.
Checking for kBuild: found, OK.
Checking for gcc: found version 4.8, OK.
Checking for Open Watcom:
** Open Watcom was not found, using alternative BIOS sources!
Checking for iasl: found version 20140214, OK.
Checking for xslt: found, OK.
Checking for mkisofs: found genisoimage 1.1.11 (Linux), OK.
Checking for pthread: found, OK.
Checking for libxml2: found version 2.9.1, OK.
Checking for libIDL: found version 0.8.14, OK.
Checking for ssl: found version OpenSSL 1.0.1f 6 Jan 2014, OK.
Checking for libcurl: found version 7.35.0, OK.
Checking for libvpx: found version 1.6.1, OK.
Checking for zlib: found version 1.2.8, OK.
Checking for libpng: found version 1.2.50, OK.
Checking for SDL: found version 1.2.15, OK.
Checking for X libraries: found, OK.
Checking for Xcursor: found, OK.
Checking for Xinerama: found, OK.
Checking for Xrandr: found, OK.
Checking for Xmu: found, OK.
Checking for Mesa / GLU: found version 1.4, OK.
Checking for Qt5:
** qt5 not found!
Check /home/luchang/VirtualBox-5.1.26/configure.log for details
Code: Select all
***** Checking Qt5 *****
Package Qt5Core was not found in the pkg-config search path.
Perhaps you should add the directory containing `Qt5Core.pc'
to the PKG_CONFIG_PATH environment variable
No package 'Qt5Core' found
(Qt5 from '/usr/lib/qt5')
compiling the following source file:
#include <QtGlobal>
extern "C" int main(void)
{
#if QT_VERSION >= 0x050302
return 0;
#else
return 1;
#endif
}
using the following command line:
g++ -fPIC -g -O -Wall -o /home/luchang/VirtualBox-5.1.26/.tmp_out /home/luchang/VirtualBox-5.1.26/.tmp_src.cc "-L/usr/lib/qt5/lib -lQt5CoreVBox -lpthread -I/usr/lib/qt5/include -I/usr/lib/qt5/include/QtCore -DQT_SHARED"
/home/luchang/VirtualBox-5.1.26/.tmp_src.cc:1:20: fatal error: QtGlobal: No such file or directory
#include <QtGlobal>
^
compilation terminated.
......(some more error log just like this : " QtGlobal: No such file or directory " )
http://download.qt.io/archive/qt/5.9/5.9.1/
By the way, my qt5 installation directory is /opt/Qt5.9.1/
----------------------------------
How should I do ? Thanks for reading and/or help my question.
-------------------------------------
Sorry for sending to a wrong forum, please move me to "Virtualbox OSE" forum, Thank you !!