Unable to build Qt from source on Debian 7, amd64



  • Hi guys. I have followed this tutorial
    http://qt-project.org/wiki/Building_Qt_5_from_Git
    to build Qt from source. The tutorial works well with Debian 7 i386 but on amd64 I obtain this error:
    @{standard input}:54856: Error: expecting operand after ','; got nothing
    {standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive
    g++: internal compiler error: Ucciso (program cc1plus)
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <file:///usr/share/doc/gcc-4.7/README.Bugs> for instructions.
    make[3]: *** [.obj/release-shared/svg/SVGAllInOne.o] Error 4
    make[3]: Leaving directory /home/denis/Qt/qt-everywhere-opensource-src-5.0.2/qtwebkit/Source/WebCore' make[2]: *** [sub-Target-pri-make_first-ordered] Error 2 make[2]: Leaving directory/home/denis/Qt/qt-everywhere-opensource-src-5.0.2/qtwebkit/Source/WebCore'
    make[1]: *** [sub-Source-WebCore-WebCore-pro-make_first-ordered] Error 2
    make[1]: Leaving directory `/home/denis/Qt/qt-everywhere-opensource-src-5.0.2/qtwebkit'
    make: *** [module-qtwebkit-make_first] Error 2
    denis@debian01:~/Qt/qt-everywhere-opensource-src-5.0.2$
    @

    Have you got any idea?


  • Lifetime Qt Champion

    Hi,

    Did you build from git or did you download an archive ? In the second case which one did you took ?



  • I have downloaded the official Qt 5.0.2 for Linux that works well on Debian 7 i386.


  • Lifetime Qt Champion

    Sorry, I have misread the log.

    It seems that WebKit causes an internal error for gcc.

    If you don't need WebKit, disable it for now, or look on the WebKit forum/mailing list to see if there is something about that problem.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.