LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 04-15-2019, 06:57 PM   #1
maoux
LQ Newbie
 
Registered: Apr 2019
Posts: 2

Rep: Reputation: Disabled
Question LFS 8.4 - Qt5 error


Hello,
This is my first time building LFS , and I am trying to install kde on it now that I successfuly installed Xorg7 following BLFS books.
Now trying to install Qt5.
But when I try to configure it, I got this message
Code:
Error: The OpenGL functionality tests failed!
I tried to edit the qmake.conf used by configure (linux-g++) but without success, so I surrender this option.

I tried to reinstall mesa package. without success either. I can't find anything on google after hours of research .. anyone facing this issue or solved it ?

I found on some forum a clue about installing libgl1-mesa-dev and libglu1-mesa-dev, but without apt-get on lfs, I can't figure out how to install this two specific things, I didn't find any link, but it seems to be part of mesa package ?

The command failing is :
Code:
./configure -prefix $QT5PREFIX                        \
            -sysconfdir /etc/xdg                      \
            -confirm-license                          \
            -opensource                               \
            -dbus-linked                              \
            -openssl-linked                           \
            -system-harfbuzz                          \
            -system-sqlite                            \
            -nomake examples                          \
            -no-rpath                                 \
            -skip qtwebengine
The error :
Code:
ERROR: The OpenGL functionality tests failed!
You might need to modify the include and library search paths by editting QMAKE_INCLUDE_OPENGL[_ES2], QMAKE_LIBDIR_OPENGL[_ES2] and QMAKE_LIBS_OPENGL[_ES2
PS: I add that I am building this with virtualbox since the beginning, I tried to install both from my host and lfs system with the same error.
It build correctly if I disable opengl in Qt5 configuration.
The host is an ubuntu 64 bits 16.04.1 amd64 iso and the lfs is a 64 bit system as well booting correctly with linux kernel 4.20.12, it run Xorg7 correctly and open the 3 xterm with the clock.
I didn't notice network problem either.

Thank you very much for reading me, I apology for my poor english and I wish you a good day !
Hugo

Last edited by maoux; 04-15-2019 at 06:59 PM.
 
Old 04-16-2019, 03:53 AM   #2
emmett1
Member
 
Registered: Nov 2017
Location: Malaysia
Distribution: Venom Linux, LFS
Posts: 49

Rep: Reputation: Disabled
Did you build wayland-protocol before Mesa?
 
Old 04-16-2019, 04:30 AM   #3
maoux
LQ Newbie
 
Registered: Apr 2019
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by emmett1 View Post
Did you build wayland-protocol before Mesa?
Yes I did install wayland and wayland-protocols, but thinking about mesa, I might misunderstand the beginning of the installation, I just used this variables
Code:
GALLIUM_DRV="i915,nouveau,r600,radeonsi,svga,swrast,virgl"
DRI_DRIVERS="i965,nouveau"
as it's written in the blfs book. But since I am using virtualbox vm, it might be wrong ? I had struggle to find which drivers I could install to make Xorg7 work, and I did install fbdev drivers and VESA.
I also used another directory to install Xorg7, that is always set in my XORG_PREFIX env variable. I might have to configure it somewhere ?
libGL.so files are located in /usr/X11R6/lib and /usr/xorg7/lib directories.
QT5PREFIX is set correctly as well.
 
Old 05-09-2019, 01:06 AM   #4
Luridis
Member
 
Registered: Mar 2014
Location: Texas
Distribution: LFS 9.0 Custom, Merged Usr, Linux 4.19.x
Posts: 616

Rep: Reputation: 167Reputation: 167
Did you build virtualization support into the kernel?

Code:
<*> Bus options (PCI etc.)  --->[*] Mark VGA/VBE/EFI FB as generic system framebuffer
<*> Device Drivers  --->
    <*> Serial ATA and Parallel ATA drivers (libata)  --->[*] AHCI SATA support[*] ATA SFF support (for legacy IDE and PATA)[*]   ATA BMDMA support[*]     Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support
    <*> Network device support  --->
        <*> Ethernet driver support  --->[*] Intel devices[*]   Intel(R) PRO/1000 Gigabit Ethernet support
    <*> Input device support  --->
        <*> Keyboards  --->[*] AT keyboard
        <*> Mice  --->[*] PS/2 mouse
    <*> Graphics support  --->
        <*> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)  --->[*] Enable legacy fbdev support for your modesetting driver
       <*> Virtio GPU driver
        <*> Frame buffer Devices  --->
            <*> Support for frame buffer devices  --->[*] Enable Firmware EDID[*] Simple framebuffer support
        <*> Console display driver support  --->[*] Framebuffer Console support[*]   Map the console to the primary display device
    <*> Sound card support  --->
        <*> Advanced Linux Sound Architecture  --->
            <*> PCI sound devices  --->[*] Intel/SiS/nVidia/AMD/ALi AC97 Controller
    <*> USB support  --->[*] xHCI HCD (USB 3.0) support[*] EHCI HCD (USB 2.0) support
You might want to enable the GEM video subsystem too, it's needed by QEMU.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
qt5-styleplugins compile error on -current Daedra Slackware 3 03-09-2019 05:44 PM
[SOLVED] Internal Compiler Error trying to compile qt5 and PyQt5 maew Slackware 20 04-03-2017 03:29 AM
[SOLVED] Error installing QT5 from SBo montagdude Slackware 10 05-08-2016 10:57 AM
QT5 won't build, don't understand error message Ook Slackware 2 10-26-2015 02:21 PM
[SOLVED] LFS 6.7 : $LFS/sources and $LFS/tools folders missing prakashsince92 Linux From Scratch 5 12-09-2010 02:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 09:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration