Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Please help) Build Qt Static Make Error without message about this error.



  • Hi everyone,
    I read this article link text and try to build from source and this error occurs:

    ../qt5/configure -prefix $PWD -release -opensource -confirm-license -static -qt-xcb -no-glib -no-pulseaudio -no-sql-sqlite -no-alsa -opengl desktop -nomake examples -nomake tests
    ...
    ...
    make[3]: выход из каталога (exit from folder) «/home/pavel/programming/qt5/qtbase/src/3rdparty/pcre2»
    make[2]: выход из каталога  (exit from folder)  «/home/pavel/programming/qt5/qtbase/src»
    Makefile:50: ошибка выполнения рецепта для цели (recipe execution error for the target) «sub-src-make_first»
    make[1]: *** [sub-src-make_first] Ошибка 2
    make[1]: выход из каталога  (exit from folder)  «/home/pavel/programming/qt5/qtbase»
    Makefile:88: ошибка выполнения рецепта для цели (recipe execution error for the target) «module-qtbase-make_first»
    make: *** [module-qtbase-make_first] Ошибка 2 (Error 2)
    
    

    ~$ lsb_release -a
    No LSB modules are available.
    Distributor ID: Debian
    Description: Debian GNU/Linux 9.12 (stretch)
    Release: 9.12
    Codename: stretch

    What can i do to fix this error?



  • Maybe my post need to move in Installation and Deployment?


  • Lifetime Qt Champion

    @xruss said in Please help) Build Qt Static Make Error without massage about this error.:

    ...

    Your compile log is missing the important error messages, so noone will be able to help you.

    If possible, switch the compiler to english error messages, that may improve the chance that someone might be able to help you.

    Maybe my post need to move in Installation and Deployment?

    No, but you should be more patient. This is a user forum, with volunteers around the world. Please give at least 24 hours before pushing a topic (except you have new information).

    And last but not least: why do you need a static build at all?

    Regards



  • @aha_1980 Thanks for your answer.
    I need static lib to build QT Installer.
    this is a log of config:
    config.log


  • Lifetime Qt Champion

    Hi @xruss,

    I need static lib to build QT Installer.

    No, you don't. Have a look at: https://github.com/probonopd/linuxdeployqt

    this is a log of config:

    It contains a lot of compile errors. You should check them one by one and verify you have the needed requirements installed (i.e. xxx-dev packages).

    Also, you didn't tell us which Qt version that is and which compiler/version you used.

    Regards


Log in to reply