You are not logged in.

#1 2012-06-11 20:54:51

slubman
Member
From: Grenoble (France)
Registered: 2004-08-04
Posts: 86
Website

Compile Qt from abs

Is there some special requirement to get Qt to compile ?

Trying the PKGBUILD from ABS I end up with an error during the compilation

compiling wtf/RandomNumber.cpp
    In file included from /usr/include/glib-2.0/glib/gasyncqueue.h:34:0,
                     from /usr/include/glib-2.0/glib.h:34,
                     from wtf/gobject/GRefPtr.cpp:24:
    /usr/include/glib-2.0/glib/gthread.h:51:16: error: ‘union’ tag used in naming ‘struct _GMutex’ [-fpermissive]
    In file included from ./wtf/Platform.h:1217:0,
                     from ./config.h:30,
                     from wtf/gobject/GRefPtr.cpp:19:
    wtf/gobject/GTypedefs.h:55:16: note: ‘struct _GMutex’ was previously declared here
    In file included from /usr/include/glib-2.0/glib/gasyncqueue.h:34:0,
                     from /usr/include/glib-2.0/glib.h:34,
                     from wtf/gobject/GRefPtr.cpp:24:
    /usr/include/glib-2.0/glib/gthread.h:58:7: error: ‘union’ tag used in naming ‘struct _GMutex’ [-fpermissive]
    In file included from ./wtf/Platform.h:1217:0,
                     from ./config.h:30,
                     from wtf/gobject/GRefPtr.cpp:19:
    wtf/gobject/GTypedefs.h:55:16: note: ‘struct _GMutex’ was previously declared here
    compiling wtf/RefCountedLeakCounter.cpp
    make[2]: *** [.obj/release-static/GRefPtr.o] Error 1
    make[2]: *** Waiting for unfinished jobs....
    compiling wtf/SHA1.cpp
    In file included from /usr/include/glib-2.0/glib/gasyncqueue.h:34:0,
                     from /usr/include/glib-2.0/glib.h:34,
                     from /usr/include/glib-2.0/gobject/gbinding.h:30,
                     from /usr/include/glib-2.0/glib-object.h:25,
                     from /usr/include/glib-2.0/gio/gioenums.h:30,
                     from /usr/include/glib-2.0/gio/giotypes.h:30,
                     from /usr/include/glib-2.0/gio/gio.h:28,
                     from wtf/gobject/GOwnPtr.cpp:24:
    /usr/include/glib-2.0/glib/gthread.h:51:16: error: ‘union’ tag used in naming ‘struct _GMutex’ [-fpermissive]
    In file included from ./wtf/Platform.h:1217:0,
                     from ./config.h:30,
                     from wtf/gobject/GOwnPtr.cpp:19:
    wtf/gobject/GTypedefs.h:55:16: note: ‘struct _GMutex’ was previously declared here
    In file included from /usr/include/glib-2.0/glib/gasyncqueue.h:34:0,
                     from /usr/include/glib-2.0/glib.h:34,
                     from /usr/include/glib-2.0/gobject/gbinding.h:30,
                     from /usr/include/glib-2.0/glib-object.h:25,
                     from /usr/include/glib-2.0/gio/gioenums.h:30,
                     from /usr/include/glib-2.0/gio/giotypes.h:30,
                     from /usr/include/glib-2.0/gio/gio.h:28,
                     from wtf/gobject/GOwnPtr.cpp:24:
    /usr/include/glib-2.0/glib/gthread.h:58:7: error: ‘union’ tag used in naming ‘struct _GMutex’ [-fpermissive]
    In file included from ./wtf/Platform.h:1217:0,
                     from ./config.h:30,
                     from wtf/gobject/GOwnPtr.cpp:19:
    wtf/gobject/GTypedefs.h:55:16: note: ‘struct _GMutex’ was previously declared here
    make[2]: *** [.obj/release-static/GOwnPtr.o] Error 1
    make[2]: Leaving directory `/home/packages/Abs/qt/src/qt-everywhere-opensource-src-4.8.2/src/3rdparty/webkit/Source/JavaScriptCore'
    make[1]: *** [sub-JavaScriptCore-JavaScriptCore-pro-make_default-ordered] Error 2
    make[1]: Leaving directory `/home/packages/Abs/qt/src/qt-everywhere-opensource-src-4.8.2/src/3rdparty/webkit/Source'
    make: *** [sub-webkit-make_default-ordered] Error 2
    ==> ERROR: A failure occurred in build().
        Aborting... 

Offline

#2 2012-06-12 02:19:33

quasifilmie
Member
Registered: 2011-10-27
Posts: 296

Re: Compile Qt from abs

Qt cannot be compiled when qtwebkit is installed. You have to remove it while compiling.

Offline

Board footer

Powered by FluxBB