Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Please help) Build Qt Static Make Error without message about this error.
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 2 Posters 385 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • xrussX Offline
    xrussX Offline
    xruss
    wrote on last edited by aha_1980
    #1

    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?

    aha_1980A 1 Reply Last reply
    0
    • xrussX Offline
      xrussX Offline
      xruss
      wrote on last edited by
      #2

      Maybe my post need to move in Installation and Deployment?

      1 Reply Last reply
      0
      • xrussX xruss

        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?

        aha_1980A Offline
        aha_1980A Offline
        aha_1980
        Lifetime Qt Champion
        wrote on last edited by
        #3

        @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

        Qt has to stay free or it will die.

        xrussX 1 Reply Last reply
        1
        • aha_1980A aha_1980

          @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

          xrussX Offline
          xrussX Offline
          xruss
          wrote on last edited by xruss
          #4

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

          aha_1980A 1 Reply Last reply
          0
          • xrussX xruss

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

            aha_1980A Offline
            aha_1980A Offline
            aha_1980
            Lifetime Qt Champion
            wrote on last edited by
            #5

            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

            Qt has to stay free or it will die.

            1 Reply Last reply
            1

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved