Instalation version 6.2 on ubuntu20.4
-
Hello,
I'm trying install Qt6.2 on ubuntu 20.4 and I follow the steps:mkdir tempDir
cd tempDir
wget https://download.qt.io/official_releases/qt/6.2/6.2.4/single/qt-everywhere-src-6.2.4.tar.xz
tar xvf qt-everywhere-src-6.2.4.tar.xz
cd qt-everywhere-src-6.2.4
./configure --prefix=/opt/qt6.2 (run ok with some warning message)
cmake --build ( stop at 97% complete with following message. Also copy some positive messages before de erro one )
Generating version linker script
[ 97%] Built target TinyCanBusPlugin
[ 97%] Automatic MOC for target canbusutil
[ 97%] Built target canbusutil_autogen
[ 97%] Building CXX object qtserialbus/src/tools/canbusutil/CMakeFiles/canbusutil.dir/canbusutil_autogen/mocs_compilation.cpp.o
[ 97%] Building CXX object qtserialbus/src/tools/canbusutil/CMakeFiles/canbusutil.dir/canbusutil.cpp.o
[ 97%] Building CXX object qtserialbus/src/tools/canbusutil/CMakeFiles/canbusutil.dir/main.cpp.o
[ 97%] Building CXX object qtserialbus/src/tools/canbusutil/CMakeFiles/canbusutil.dir/readtask.cpp.o
[ 97%] Building CXX object qtserialbus/src/tools/canbusutil/CMakeFiles/canbusutil.dir/sigtermhandler.cpp.o
[ 97%] Linking CXX executable ../../../../qtbase/bin/canbusutil
[ 97%] Built target canbusutil
Updating '/tempDir/qt-everywhere-src-.2.4/qtbase/./translations/qtwebsockets_en.qm'...
lrelease error: cannot create '/temDir/qt-everywhere-src-6.2.4/qtbase/./translations/qtwebsockets_en.qm': No such file or directory
make[2]: *** [qttranslations/translations/CMakeFiles/updateqm-qtwebsockets_en.ts.dir/build.make:70: qttranslations/translations/CMakeFiles/updateqm-qtwebsockets_en.ts] Error 1
make[1]: *** [CMakeFiles/Makefile2:82947: qttranslations/translations/CMakeFiles/updateqm-qtwebsockets_en.ts.dir/all] Error 2
make: *** [Makefile:146: all] Error 2After this I error I look for the directory where command wants to put the qtwebsockets_en.qm but it doesn't exist.. not create, why?
ls -la /tempDir/qt-everywhere-src-6.2.4/qtbase/./translations': No such file or directory
WHY? What's wrong? Should I create this diretory somewhere?
Thanks
Maria Ribeiro (Lisbon) -
@Maria_Ribeiro Are you sure you want to build Qt by yourself?
You can use online installer to install Qt. -
Hi.. thanks.. I was lucky and already installed.. I did analise the cmake_buil file refer in the error and make the miss directory, than run command to build it again and it finish with no more errors. After that i run the command to install and it looks good.