VirtualBox

Opened 7 years ago

Last modified 7 years ago

#16848 closed defect

Compiling from source broken in latest svn on Ubuntu 16.04.2 LTS (configure failed: ** qt5 not found!) — at Initial Version

Reported by: hunterbr Owned by:
Component: other Version: VirtualBox 5.1.22
Keywords: Cc:
Guest type: all Host type: Linux

Description

Hi Guys,

latest ./configure script is totally broken on Ubuntu Server 16.04.02LTS. Last time I compiled the source in ~April on this box (Vbox 5.1.51 r66518/Qt5.5.1) and it worked fine. Pls find below details, ping me via email hunterbr@… for more details. Looked into it now for 2-3 hours but can't find an easy fix, any help is highly welcome.

Installed packages: subversion build-essential bcc iasl xsltproc uuid-dev zlib1g-dev libidl-dev libsdl1.2-dev libxcursor-dev libasound2-dev libstdc++5 libpulse-dev libxml2-dev libxslt1-dev pyqt5-dev-tools libqt5opengl5-dev qtbase5-dev-tools libcap-dev libxmu-dev mesa-common-dev libglu1-mesa-dev linux-libc-dev libcurl4-openssl-dev libpam0g-dev libxrandr-dev libxinerama-dev libqt5opengl5-dev makeself libdevmapper-dev default-jdk texlive-latex-base texlive-latex-extra texlive-latex-recommended texlive-fonts-extra texlive-fonts-recommended lib32ncurses5 lib32z1 libc6-dev-i386 lib32gcc1 gcc-multilib lib32stdc++6 g++-multilib genisoimage libvpx-dev qt5-default qttools5-dev-tools libqt5x11extras5-dev libssl-dev python-all-dev xfce4 xfce4-goodies firefox vim

Check out: sudo svn co http://www.virtualbox.org/svn/vbox/trunk vbox

./configure Checking for environment: Determined build machine: linux.amd64, target machine: linux.amd64, OK. Checking for kBuild: found, OK. Checking for gcc: found version 5.4.0, OK. Checking for Open Watcom:

Open Watcom was not found!

Checking for iasl: found version 20160108, 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.3, OK. Checking for libIDL: found version 0.8.14, OK. Checking for ssl: found version OpenSSL 1.0.2g 1 Mar 2016, OK. Checking for libcurl: found version 7.47.0, OK. Checking for libvpx: found version 1.5.0, OK. Checking for zlib: found version 1.2.8, OK. Checking for libpng: found version 1.2.54, 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/talos/source/vbox/configure.log for details

cat configure.log: * Checking Qt5 * (Qt5 from pkg-config) compiling the following source file: #include <QtGlobal> extern "C" int main(void) { #if QT_VERSION >= 329216

return 0;

#else

return 1;

#endif } using the following command line: g++ -fPIC -g -O -Wall -o /home/talos/source/vbox/.tmp_out /home/talos/source/vbox/.tmp_src.cc "-L/usr/lib/x86_64-linux-gnu -lQt5Core -lpthread -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5" executing the binary (LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu)

(Qt5 from '/usr/lib/qt5') compiling the following source file: #include <QtGlobal> extern "C" int main(void) { #if QT_VERSION >= 329216

return 0;

#else

return 1;

#endif } using the following command line: g++ -fPIC -g -O -Wall -o /home/talos/source/vbox/.tmp_out /home/talos/source/vbox/.tmp_src.cc "-L/usr/lib/qt5/lib -lQt5CoreVBox -lpthread -I/usr/lib/qt5/include -I/usr/lib/qt5/include/QtCore -DQT_SHARED" /home/talos/source/vbox/.tmp_src.cc:1:20: fatal error: QtGlobal: No such file or directory compilation terminated.

compiling the following source file: #include <QtGlobal> extern "C" int main(void) { #if QT_VERSION >= 329216

return 0;

#else

return 1;

#endif } using the following command line: g++ -fPIC -g -O -Wall -o /home/talos/source/vbox/.tmp_out /home/talos/source/vbox/.tmp_src.cc "-L/usr/lib/qt5/lib -lQt5Core -lpthread -I/usr/lib/qt5/include -I/usr/lib/qt5/include/QtCore -DQT_SHARED" /home/talos/source/vbox/.tmp_src.cc:1:20: fatal error: QtGlobal: No such file or directory compilation terminated.

(Qt5 from '/usr/share/qt5') compiling the following source file: #include <QtGlobal> extern "C" int main(void) { #if QT_VERSION >= 329216

return 0;

#else

return 1;

#endif } using the following command line: g++ -fPIC -g -O -Wall -o /home/talos/source/vbox/.tmp_out /home/talos/source/vbox/.tmp_src.cc "-L/usr/share/qt5/lib -lQt5CoreVBox -lpthread -I/usr/share/qt5/include -I/usr/share/qt5/include/QtCore -DQT_SHARED" /home/talos/source/vbox/.tmp_src.cc:1:20: fatal error: QtGlobal: No such file or directory compilation terminated.

compiling the following source file: #include <QtGlobal> extern "C" int main(void) { #if QT_VERSION >= 329216

return 0;

#else

return 1;

#endif } using the following command line: g++ -fPIC -g -O -Wall -o /home/talos/source/vbox/.tmp_out /home/talos/source/vbox/.tmp_src.cc "-L/usr/share/qt5/lib -lQt5Core -lpthread -I/usr/share/qt5/include -I/usr/share/qt5/include/QtCore -DQT_SHARED" /home/talos/source/vbox/.tmp_src.cc:1:20: fatal error: QtGlobal: No such file or directory compilation terminated.

(Qt5 from '/usr/lib64/qt5') compiling the following source file: #include <QtGlobal> extern "C" int main(void) { #if QT_VERSION >= 329216

return 0;

#else

return 1;

#endif } using the following command line: g++ -fPIC -g -O -Wall -o /home/talos/source/vbox/.tmp_out /home/talos/source/vbox/.tmp_src.cc "-L/usr/lib64/qt5/lib -lQt5CoreVBox -lpthread -I/usr/lib64/qt5/include -I/usr/lib64/qt5/include/QtCore -DQT_SHARED" /home/talos/source/vbox/.tmp_src.cc:1:20: fatal error: QtGlobal: No such file or directory compilation terminated.

compiling the following source file: #include <QtGlobal> extern "C" int main(void) { #if QT_VERSION >= 329216

return 0;

#else

return 1;

#endif } using the following command line: g++ -fPIC -g -O -Wall -o /home/talos/source/vbox/.tmp_out /home/talos/source/vbox/.tmp_src.cc "-L/usr/lib64/qt5/lib -lQt5Core -lpthread -I/usr/lib64/qt5/include -I/usr/lib64/qt5/include/QtCore -DQT_SHARED" /home/talos/source/vbox/.tmp_src.cc:1:20: fatal error: QtGlobal: No such file or directory compilation terminated.

(Qt5 from '/usr') compiling the following source file: #include <QtGlobal> extern "C" int main(void) { #if QT_VERSION >= 329216

return 0;

#else

return 1;

#endif } using the following command line: g++ -fPIC -g -O -Wall -o /home/talos/source/vbox/.tmp_out /home/talos/source/vbox/.tmp_src.cc "-L/usr/lib -lQt5CoreVBox -lpthread -I/usr/include -I/usr/include/QtCore -DQT_SHARED" /home/talos/source/vbox/.tmp_src.cc:1:20: fatal error: QtGlobal: No such file or directory compilation terminated.

compiling the following source file: #include <QtGlobal> extern "C" int main(void) { #if QT_VERSION >= 329216

return 0;

#else

return 1;

#endif } using the following command line: g++ -fPIC -g -O -Wall -o /home/talos/source/vbox/.tmp_out /home/talos/source/vbox/.tmp_src.cc "-L/usr/lib -lQt5Core -lpthread -I/usr/include -I/usr/include/QtCore -DQT_SHARED" /home/talos/source/vbox/.tmp_src.cc:1:20: fatal error: QtGlobal: No such file or directory compilation terminated.

(Qt5 from '/usr/local') compiling the following source file: #include <QtGlobal> extern "C" int main(void) { #if QT_VERSION >= 329216

return 0;

#else

return 1;

#endif } using the following command line: g++ -fPIC -g -O -Wall -o /home/talos/source/vbox/.tmp_out /home/talos/source/vbox/.tmp_src.cc "-L/usr/local/lib -lQt5CoreVBox -lpthread -I/usr/local/include -I/usr/local/include/QtCore -DQT_SHARED" /home/talos/source/vbox/.tmp_src.cc:1:20: fatal error: QtGlobal: No such file or directory compilation terminated.

compiling the following source file: #include <QtGlobal> extern "C" int main(void) { #if QT_VERSION >= 329216

return 0;

#else

return 1;

#endif } using the following command line: g++ -fPIC -g -O -Wall -o /home/talos/source/vbox/.tmp_out /home/talos/source/vbox/.tmp_src.cc "-L/usr/local/lib -lQt5Core -lpthread -I/usr/local/include -I/usr/local/include/QtCore -DQT_SHARED" /home/talos/source/vbox/.tmp_src.cc:1:20: fatal error: QtGlobal: No such file or directory compilation terminated.

(Qt5 from '/home/talos/source/vbox/tools/linux.amd64/qt/v5.*') compiling the following source file: #include <QtGlobal> extern "C" int main(void) { #if QT_VERSION >= 329216

return 0;

#else

return 1;

#endif } using the following command line: g++ -fPIC -g -O -Wall -o /home/talos/source/vbox/.tmp_out /home/talos/source/vbox/.tmp_src.cc "-L/home/talos/source/vbox/tools/linux.amd64/qt/v5.*/lib -lQt5CoreVBox -lpthread -I/home/talos/source/vbox/tools/linux.amd64/qt/v5.*/include -I/home/talos/source/vbox/tools/linux.amd64/qt/v5.*/include/QtCore -DQT_SHARED" /home/talos/source/vbox/.tmp_src.cc:1:20: fatal error: QtGlobal: No such file or directory compilation terminated.

compiling the following source file: #include <QtGlobal> extern "C" int main(void) { #if QT_VERSION >= 329216

return 0;

#else

return 1;

#endif } using the following command line: g++ -fPIC -g -O -Wall -o /home/talos/source/vbox/.tmp_out /home/talos/source/vbox/.tmp_src.cc "-L/home/talos/source/vbox/tools/linux.amd64/qt/v5.*/lib -lQt5Core -lpthread -I/home/talos/source/vbox/tools/linux.amd64/qt/v5.*/include -I/home/talos/source/vbox/tools/linux.amd64/qt/v5.*/include/QtCore -DQT_SHARED" /home/talos/source/vbox/.tmp_src.cc:1:20: fatal error: QtGlobal: No such file or directory compilation terminated.

qt5 not found!

Change History (0)

Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette