Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: red on November 26, 2016, 02:57:53 PM

Title: Compiling QT4.8.2 fails on piCore 8.x
Post by: red 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?
Title: Re: Compiling QT4.8.2 fails on piCore 8.x
Post by: Juanito on November 26, 2016, 11:43:25 PM
Perhaps you need xorg-proto and/or util-macros?

Perhaps Xorg 3d is required?
Title: Re: Compiling QT4.8.2 fails on piCore 8.x
Post by: bmarkus on November 26, 2016, 11:51:46 PM

Perhaps Xorg 3d is required?

Doesn't exists in piCore.
Title: Re: Compiling QT4.8.2 fails on piCore 8.x
Post by: red 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!
Title: Re: Compiling QT4.8.2 fails on piCore 8.x
Post by: red 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.
Title: Re: Compiling QT4.8.2 fails on piCore 8.x
Post by: bmarkus on November 27, 2016, 04:28:45 AM
Check configure.log for details why it fails.
Title: Re: Compiling QT4.8.2 fails on piCore 8.x
Post by: Juanito on November 27, 2016, 05:51:26 AM
Do you really want to build QtWebkit?

It's huge and takes ages to compile.
Title: Re: Compiling QT4.8.2 fails on piCore 8.x
Post by: bmarkus 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.