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
QtWS25 Last Chance

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
  • 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 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
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on 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
      0
      • SGaistS SGaist

        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 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

        jsulmJ SGaistS 2 Replies Last reply
        0
        • S stevepeng

          @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

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on 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

            @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

            SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on 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
            0
            • SGaistS SGaist

              @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 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
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on 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
                0
                • SGaistS SGaist

                  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 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
                  0
                  • S stevepeng

                    @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 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
                    • SGaistS SGaist

                      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 last edited by
                      #10

                      @SGaist
                      Any update?

                      jsulmJ 1 Reply Last reply
                      0
                      • S stevepeng

                        @SGaist
                        Any update?

                        jsulmJ Offline
                        jsulmJ Offline
                        jsulm
                        Lifetime Qt Champion
                        wrote on 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

                        • Login

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