make install failed for qt5.6.2 linux source on ubuntu16.04.02
-
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'
.... -
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 ?
-
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 ?
@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 -
@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@stevepeng What about @SGaist first question?
-
@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@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 ?
-
@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 ?
-
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.
-
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.
-
@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".@stevepeng
export PATH=$ZYNQ_QT_INSTALL/bin:$PATH
=>this is only for compile application after all qt library compile and install finished. -
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.
-
@stevepeng Please more patience - people here are volunteers helping in their free time.