Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. make install failed for qt5.6.2 linux source on ubuntu16.04.02
Forum Updated to NodeBB v4.3 + New Features

make install failed for qt5.6.2 linux source on ubuntu16.04.02

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
11 Posts 3 Posters 1.9k 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.
  • S Offline
    S Offline
    stevepeng
    wrote on 20 Aug 2018, 02:05 last edited by
    #1

    Dear,
    I already compile properly for qt-everywhere-opensource-src-5.6.2 on ubuntu 14.04. But when I do "make install" after do "make" properly, it will failed on ubuntu2016.04.02, below is error message, please help. Thank you.

    steve@ubuntu:~/steve/alinx_heijin_QT/qt-everywhere-opensource-src-5.6.2$ make install
    cd qtbase/ && ( test -e Makefile || /home/steve/steve/alinx_heijin_QT/qt-everywhere-opensource-src-5.6.2/qtbase/bin/qmake /home/steve/steve/alinx_heijin_QT/qt-everywhere-opensource-src-5.6.2/qtbase/qtbase.pro -o Makefile ) && make -f Makefile install
    make[1]: Entering directory '/home/steve/steve/alinx_heijin_QT/qt-everywhere-opensource-src-5.6.2/qtbase'
    cd src/ && ( test -e Makefile || /home/steve/steve/alinx_heijin_QT/qt-everywhere-opensource-src-5.6.2/qtbase/bin/qmake /home/steve/steve/alinx_heijin_QT/qt-everywhere-opensource-src-5.6.2/qtbase/src/src.pro -o Makefile ) && make -f Makefile install
    make[2]: Entering directory '/home/steve/steve/alinx_heijin_QT/qt-everywhere-opensource-src-5.6.2/qtbase/src'
    cd corelib/ && ( test -e Makefile.qtzlib || /home/steve/steve/alinx_heijin_QT/qt-everywhere-opensource-src-5.6.2/qtbase/bin/qmake /home/steve/steve/alinx_heijin_QT/qt-everywhere-opensource-src-5.6.2/qtbase/src/corelib/qtzlib.pro -o Makefile.qtzlib ) && make -f Makefile.qtzlib install
    make[3]: Entering directory '/home/steve/steve/alinx_heijin_QT/qt-everywhere-opensource-src-5.6.2/qtbase/src/corelib'
    install -m 755 -p /home/steve/steve/alinx_heijin_QT/qt-everywhere-opensource-src-5.6.2/qtbase/src/3rdparty/zlib/zconf.h /home/steve/steve/alinx_heijin_QT/install/include/QtZlib/
    arm-xilinx-linux-gnueabi-strip /home/steve/steve/alinx_heijin_QT/install/include/QtZlib/zconf.h
    arm-xilinx-linux-gnueabi-strip:/home/steve/steve/alinx_heijin_QT/install/include/QtZlib/zconf.h: File format not recognized
    Makefile.qtzlib:475: recipe for target 'install_targ_headers' failed
    make[3]: [install_targ_headers] Error 1 (ignored)
    install -m 755 -p /home/steve/steve/alinx_heijin_QT/qt-everywhere-opensource-src-5.6.2/qtbase/src/3rdparty/zlib/zlib.h /home/steve/steve/alinx_heijin_QT/install/include/QtZlib/
    arm-xilinx-linux-gnueabi-strip /home/steve/steve/alinx_heijin_QT/install/include/QtZlib/zlib.h
    arm-xilinx-linux-gnueabi-strip:/home/steve/steve/alinx_heijin_QT/install/include/QtZlib/zlib.h: File format not recognized
    Makefile.qtzlib:475: recipe for target 'install_targ_headers' failed
    make[3]: [install_targ_headers] Error 1 (ignored)
    install -m 755 -p /home/steve/steve/alinx_heijin_QT/qt-everywhere-opensource-src-5.6.2/qtbase/mkspecs/modules-inst/qt_lib_zlib_private.pri /home/steve/steve/alinx_heijin_QT/install/mkspecs/modules/
    arm-xilinx-linux-gnueabi-strip /home/steve/steve/alinx_heijin_QT/install/mkspecs/modules/qt_lib_zlib_private.pri
    arm-xilinx-linux-gnueabi-strip:/home/steve/steve/alinx_heijin_QT/install/mkspecs/modules/qt_lib_zlib_private.pri: File format not recognized
    Makefile.qtzlib:488: recipe for target 'install_pritarget' failed
    make[3]: [install_pritarget] Error 1 (ignored)
    make[3]: Leaving directory '/home/steve/steve/alinx_heijin_QT/qt-everywhere-opensource-src-5.6.2/qtbase/src/corelib'
    ....

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 20 Aug 2018, 22:22 last edited by
      #2

      Hi,

      Did you check the type and content of the files that seem to be wrong ?

      What parameters did you pass to configure before building Qt ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      S 1 Reply Last reply 21 Aug 2018, 02:47
      0
      • S SGaist
        20 Aug 2018, 22:22

        Hi,

        Did you check the type and content of the files that seem to be wrong ?

        What parameters did you pass to configure before building Qt ?

        S Offline
        S Offline
        stevepeng
        wrote on 21 Aug 2018, 02:47 last edited by
        #3

        @SGaist
        Below is part of my script code.

        export ZYNQ_QT_INSTALL=$Cur_Dir/install
        export PATH=$ZYNQ_QT_INSTALL/bin:$PATH
        ./configure -xplatform arm-xilinx-linux-gnueabi-g++
        -opensource
        -confirm-license
        -skip qtquickcontrols
        -skip qtwebchannel
        -skip qtactiveqt
        -skip qtandroidextras
        -skip qtdeclarative
        -skip qtimageformats
        -skip qtmacextras
        -skip qtserialport
        -skip qtx11extras
        -skip qtxmlpatterns
        -skip qtconnectivity
        -skip qtdoc
        -skip qtenginio
        -skip qtgraphicaleffects
        -skip qtlocation
        -skip qtmultimedia
        -skip qtsensors
        -skip qttools
        -skip qttranslations
        -skip qtwayland
        -skip qtwebchannel
        -skip qtwebengine
        -skip qtwebsockets
        -skip qtwinextras
        -verbose
        -no-gif
        -no-libjpeg
        -no-mtdev
        -no-sql-db2
        -no-sql-ibase
        -no-sql-mysql
        -no-xcb
        -qt-freetype
        -no-fontconfig
        -no-harfbuzz
        -no-xinput2
        -no-xcb-xlib
        -no-pulseaudio
        -no-alsa
        -no-gtkstyle
        -no-cups
        -no-iconv
        -no-icu
        -no-eglfs
        -no-openssl
        -no-dbus
        -prefix $ZYNQ_QT_INSTALL

        J S 2 Replies Last reply 21 Aug 2018, 05:04
        0
        • S stevepeng
          21 Aug 2018, 02:47

          @SGaist
          Below is part of my script code.

          export ZYNQ_QT_INSTALL=$Cur_Dir/install
          export PATH=$ZYNQ_QT_INSTALL/bin:$PATH
          ./configure -xplatform arm-xilinx-linux-gnueabi-g++
          -opensource
          -confirm-license
          -skip qtquickcontrols
          -skip qtwebchannel
          -skip qtactiveqt
          -skip qtandroidextras
          -skip qtdeclarative
          -skip qtimageformats
          -skip qtmacextras
          -skip qtserialport
          -skip qtx11extras
          -skip qtxmlpatterns
          -skip qtconnectivity
          -skip qtdoc
          -skip qtenginio
          -skip qtgraphicaleffects
          -skip qtlocation
          -skip qtmultimedia
          -skip qtsensors
          -skip qttools
          -skip qttranslations
          -skip qtwayland
          -skip qtwebchannel
          -skip qtwebengine
          -skip qtwebsockets
          -skip qtwinextras
          -verbose
          -no-gif
          -no-libjpeg
          -no-mtdev
          -no-sql-db2
          -no-sql-ibase
          -no-sql-mysql
          -no-xcb
          -qt-freetype
          -no-fontconfig
          -no-harfbuzz
          -no-xinput2
          -no-xcb-xlib
          -no-pulseaudio
          -no-alsa
          -no-gtkstyle
          -no-cups
          -no-iconv
          -no-icu
          -no-eglfs
          -no-openssl
          -no-dbus
          -prefix $ZYNQ_QT_INSTALL

          J Offline
          J Offline
          jsulm
          Lifetime Qt Champion
          wrote on 21 Aug 2018, 05:04 last edited by
          #4

          @stevepeng What about @SGaist first question?

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • S stevepeng
            21 Aug 2018, 02:47

            @SGaist
            Below is part of my script code.

            export ZYNQ_QT_INSTALL=$Cur_Dir/install
            export PATH=$ZYNQ_QT_INSTALL/bin:$PATH
            ./configure -xplatform arm-xilinx-linux-gnueabi-g++
            -opensource
            -confirm-license
            -skip qtquickcontrols
            -skip qtwebchannel
            -skip qtactiveqt
            -skip qtandroidextras
            -skip qtdeclarative
            -skip qtimageformats
            -skip qtmacextras
            -skip qtserialport
            -skip qtx11extras
            -skip qtxmlpatterns
            -skip qtconnectivity
            -skip qtdoc
            -skip qtenginio
            -skip qtgraphicaleffects
            -skip qtlocation
            -skip qtmultimedia
            -skip qtsensors
            -skip qttools
            -skip qttranslations
            -skip qtwayland
            -skip qtwebchannel
            -skip qtwebengine
            -skip qtwebsockets
            -skip qtwinextras
            -verbose
            -no-gif
            -no-libjpeg
            -no-mtdev
            -no-sql-db2
            -no-sql-ibase
            -no-sql-mysql
            -no-xcb
            -qt-freetype
            -no-fontconfig
            -no-harfbuzz
            -no-xinput2
            -no-xcb-xlib
            -no-pulseaudio
            -no-alsa
            -no-gtkstyle
            -no-cups
            -no-iconv
            -no-icu
            -no-eglfs
            -no-openssl
            -no-dbus
            -prefix $ZYNQ_QT_INSTALL

            S Offline
            S Offline
            SGaist
            Lifetime Qt Champion
            wrote on 21 Aug 2018, 06:32 last edited by
            #5

            @stevepeng said in make install failed for qt5.6.2 linux source on ubuntu16.04.02:

            export PATH=$ZYNQ_QT_INSTALL/bin:$PATH

            Why ?

            @stevepeng said in make install failed for qt5.6.2 linux source on ubuntu16.04.02:

            export ZYNQ_QT_INSTALL=$Cur_Dir/install

            Where is this located ?

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            S 1 Reply Last reply 21 Aug 2018, 06:41
            0
            • S SGaist
              21 Aug 2018, 06:32

              @stevepeng said in make install failed for qt5.6.2 linux source on ubuntu16.04.02:

              export PATH=$ZYNQ_QT_INSTALL/bin:$PATH

              Why ?

              @stevepeng said in make install failed for qt5.6.2 linux source on ubuntu16.04.02:

              export ZYNQ_QT_INSTALL=$Cur_Dir/install

              Where is this located ?

              S Offline
              S Offline
              stevepeng
              wrote on 21 Aug 2018, 06:41 last edited by
              #6

              @SGaist
              For example:
              qt_test>ls
              qt_test> \install , \qt-everywhere-opensource-src-5.6.2
              $Cur_Dir=> qt_test
              $ZYNQ_QT_INSTALL=> qt_test\install
              I will "cd" into qt-everywhere-opensource-src-5.6.2 and doing "configure", "make" and "make install"

              1 Reply Last reply
              0
              • S Offline
                S Offline
                SGaist
                Lifetime Qt Champion
                wrote on 21 Aug 2018, 06:43 last edited by
                #7

                Would you please answer all the questions ?

                By the way, you are using a relative path so it won't go where you think it will.

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                S 2 Replies Last reply 21 Aug 2018, 06:51
                0
                • S SGaist
                  21 Aug 2018, 06:43

                  Would you please answer all the questions ?

                  By the way, you are using a relative path so it won't go where you think it will.

                  S Offline
                  S Offline
                  stevepeng
                  wrote on 21 Aug 2018, 06:51 last edited by
                  #8

                  @SGaist
                  Sorry, $Cur_Dir=> /home/.../qt_test
                  So, all path are not relative path.
                  In addition, same settings could be work on Ubuntu14.04, but failed on Ubuntu16.04 for the step of "make install".

                  S 1 Reply Last reply 21 Aug 2018, 07:09
                  0
                  • S stevepeng
                    21 Aug 2018, 06:51

                    @SGaist
                    Sorry, $Cur_Dir=> /home/.../qt_test
                    So, all path are not relative path.
                    In addition, same settings could be work on Ubuntu14.04, but failed on Ubuntu16.04 for the step of "make install".

                    S Offline
                    S Offline
                    stevepeng
                    wrote on 21 Aug 2018, 07:09 last edited by
                    #9

                    @stevepeng
                    export PATH=$ZYNQ_QT_INSTALL/bin:$PATH
                    =>this is only for compile application after all qt library compile and install finished.

                    1 Reply Last reply
                    0
                    • S SGaist
                      21 Aug 2018, 06:43

                      Would you please answer all the questions ?

                      By the way, you are using a relative path so it won't go where you think it will.

                      S Offline
                      S Offline
                      stevepeng
                      wrote on 21 Aug 2018, 09:38 last edited by
                      #10

                      @SGaist
                      Any update?

                      J 1 Reply Last reply 21 Aug 2018, 10:31
                      0
                      • S stevepeng
                        21 Aug 2018, 09:38

                        @SGaist
                        Any update?

                        J Offline
                        J Offline
                        jsulm
                        Lifetime Qt Champion
                        wrote on 21 Aug 2018, 10:31 last edited by
                        #11

                        @stevepeng Please more patience - people here are volunteers helping in their free time.

                        https://forum.qt.io/topic/113070/qt-code-of-conduct

                        1 Reply Last reply
                        0

                        2/11

                        20 Aug 2018, 22:22

                        topic:navigator.unread, 9
                        • Login

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