WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Compiling QT4.8.2 fails on piCore 8.x  (Read 2546 times)

Offline red

  • Newbie
  • *
  • Posts: 11
Compiling QT4.8.2 fails on piCore 8.x
« on: November 26, 2016, 02:57:53 PM »
Hello,

I have a problem compiling Qt 4.8.2 on piCore 8.x. Here is what i did:

After some while, i got this error:

    Basic XLib functionality test failed!
     You might need to modify the include and library search paths by editing
     QMAKE_INCDIR_X11 and QMAKE_LIBDIR_X11 in /home/tc/qt-everywhere-opensource-src-    4.8.2/mkspecs/linux-g++.

I have these extensions installed:

    libXrender-dev.tcz
    libXrandr-dev.tcz
    libXcursor-dev.tcz
    libXfixes-dev.tcz
    libXinerama-dev.tcz
    fontconfig-dev.tcz
    freetype-dev.tcz
    libXi-dev.tcz
    libXt-dev.tcz
    libXext-dev.tcz
    libX11-dev.tcz
    libSM-dev.tcz
    libICE-dev.tcz
    glib2-dev.tcz
    libpthread-stubs.tcz

What am i missing and/or how this can be fixed?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14849
Re: Compiling QT4.8.2 fails on piCore 8.x
« Reply #1 on: November 26, 2016, 11:43:25 PM »
Perhaps you need xorg-proto and/or util-macros?

Perhaps Xorg 3d is required?

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Compiling QT4.8.2 fails on piCore 8.x
« Reply #2 on: November 26, 2016, 11:51:46 PM »

Perhaps Xorg 3d is required?

Doesn't exists in piCore.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline red

  • Newbie
  • *
  • Posts: 11
Re: Compiling QT4.8.2 fails on piCore 8.x
« Reply #3 on: November 27, 2016, 03:39:00 AM »
Perhaps you need xorg-proto and/or util-macros?

Perhaps Xorg 3d is required?

Installing xorg-proto-dev solved the problem. Thanks!

Offline red

  • Newbie
  • *
  • Posts: 11
Re: Compiling QT4.8.2 fails on piCore 8.x
« Reply #4 on: November 27, 2016, 04:17:35 AM »
Now i have another issue. When executing './configure --prefix=/usr/local' it returns this warning:

    Warning: -no-xrender will disable the QtWebkit module

Though i have libXrender-dev installed.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Compiling QT4.8.2 fails on piCore 8.x
« Reply #5 on: November 27, 2016, 04:28:45 AM »
Check configure.log for details why it fails.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14849
Re: Compiling QT4.8.2 fails on piCore 8.x
« Reply #6 on: November 27, 2016, 05:51:26 AM »
Do you really want to build QtWebkit?

It's huge and takes ages to compile.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Compiling QT4.8.2 fails on piCore 8.x
« Reply #7 on: November 27, 2016, 05:55:15 AM »
Do you really want to build QtWebkit?

It's huge and takes ages to compile.

Without webkit it takes. Last time I built it took 3 days, required 4GB swap, etc. And the process itself took weeks due to build failures on day 2, rebuild, etc.


Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."