Error while building Qserial terminal APP



  • Hello All,
    I tried compiling the Qserial terminal app for i.MX6 but I am getting below errors:
    shree@Wearberry:~/Desktop/qtserialport$ make
    cd src/ && ( test -e Makefile || /opt/imxqt/sysroots/x86_64-pokysdk-linux/usr/bin/qt5/qmake /home/shree/Desktop/qtserialport/src/src.pro -o Makefile ) && make -f Makefile
    make[1]: Entering directory /home/shree/Desktop/qtserialport/src' cd serialport/ && ( test -e Makefile || /opt/pokyqt/sysroots/x86_64-pokysdk-linux/usr/bin/qt5/qmake /home/shree/Desktop/qtserialport/src/serialport/serialport.pro -o Makefile ) && make -f Makefile perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "en_IN:en", LC_ALL = (unset), LANG = "en_IN" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). Can't locate English.pm in @INC (you may need to install the English module) (@INC contains: /opt/imxqt/sysroots/x86_64-pokysdk-linux//usr/lib/perl/site_perl/5.22.1 /opt/imxqt/sysroots/x86_64-pokysdk-linux//usr/lib/perl/vendor_perl/5.22.1 /opt/imxqt/sysroots/x86_64-pokysdk-linux//usr/lib/perl/5.22.1 /opt/fsl-imx-x11/4.1.15-2.0.1/sysroots/x86_64-pokysdk-linux/usr/lib/perl/site_perl/5.22.1/ /opt/fsl-imx-x11/4.1.15-2.0.1/sysroots/x86_64-pokysdk-linux/usr/lib/perl/site_perl/5.22.1 /opt/fsl-imx-x11/4.1.15-2.0.1/sysroots/x86_64-pokysdk-linux/usr/lib/perl/vendor_perl/5.22.1/ /opt/fsl-imx-x11/4.1.15-2.0.1/sysroots/x86_64-pokysdk-linux/usr/lib/perl/vendor_perl/5.22.1 /opt/fsl-imx-x11/4.1.15-2.0.1/sysroots/x86_64-pokysdk-linux/usr/lib/perl/5.22.1/ /opt/fsl-imx-x11/4.1.15-2.0.1/sysroots/x86_64-pokysdk-linux/usr/lib/perl/5.22.1 /opt/fsl-imx-x11/4.1.15-2.0.1/sysroots/x86_64-pokysdk-linux/usr/lib/perl/5.22.1 .) at /opt/imxqt/sysroots/x86_64-pokysdk-linux/usr/bin/qt5/syncqt.pl line 48. BEGIN failed--compilation aborted at /opt/imxqt/sysroots/x86_64-pokysdk-linux/usr/bin/qt5/syncqt.pl line 48. Project ERROR: Failed to run: perl -w /opt/imxqt/sysroots/x86_64-pokysdk-linux/usr/bin/qt5/syncqt.pl -module QtSerialPort -version 5.2.2 -outdir /home/shree/Desktop/qtserialport /home/shree/Desktop/qtserialport make[1]: *** [sub-serialport-make_first] Error 3 make[1]: Leaving directory/home/shree/Desktop/qtserialport/src'
    make: *** [sub-src-make_first] Error 2

    I think these errors are related to perl but I want your suggestions to resolve this issue

    Best Regards,
    SR


  • Lifetime Qt Champion

    Hi,

    From the looks of it, you are trying to build the whole module. If you only want the example then run qmake in the sample sub-dir.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.