https://bugs.kde.org/show_bug.cgi?id=417349
Bug ID: 417349 Summary: Krusader installation (make) fails when trying to build krarc Product: krusader Version: Git Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: krarc Assignee: krusader-bugs-n...@kde.org Reporter: yaron...@gmail.com CC: krusader-bugs-n...@kde.org Target Milestone: --- SUMMARY I'm trying to build the git version of krusader (2.8.0-dev) on ubuntu 16.04. I managed to run "cmake" successfully, but "make" fails with error messages related to krarc. STEPS TO REPRODUCE 1. Install all dependencies for krusader. 2. In ubuntu 16.04 QT version is 5.5.1, and krusader needs 5.9, so: also install QT5 version 5.9.0. I did this with an online installer downloaded from the QT website. 3. create the dir "krusader-build" in the git root dir, and cd to it. 4. run: sudo cmake ../krusader -DCMAKE_INSTALL_PREFIX=/opt/applications/krusader/ -DCMAKE_C_FLAGS="-O2 -fPIC" -DCMAKE_CXX_FLAGS="-O2 -fPIC" -DCMAKE_PREFIX_PATH=/opt/applications/Qt/5.9/gcc_64/ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON This step completed successfully on my system. No problems here. Note I had to use the QT version I installed manually. 5. run: sudo make OBSERVED RESULT make failed with the messages: [ 93%] Building CXX object krArc/CMakeFiles/kio_krarc.dir/krarc.cpp.o /opt/sources/krusader-2.8.0-dev/krusader/krArc/krarc.cpp: In function ‘int kdemain(int, char**)’: /opt/sources/krusader-2.8.0-dev/krusader/krArc/krarc.cpp:130:9: error: ‘QCoreApplication’ was not declared in this scope QCoreApplication app(argc, argv); ^ /opt/sources/krusader-2.8.0-dev/krusader/krArc/krarc.cpp:131:9: error: ‘app’ was not declared in this scope app.setApplicationName(QStringLiteral("kio_krarc")); ^ krArc/CMakeFiles/kio_krarc.dir/build.make:62: recipe for target 'krArc/CMakeFiles/kio_krarc.dir/krarc.cpp.o' failed make[2]: *** [krArc/CMakeFiles/kio_krarc.dir/krarc.cpp.o] Error 1 CMakeFiles/Makefile2:1998: recipe for target 'krArc/CMakeFiles/kio_krarc.dir/all' failed make[1]: *** [krArc/CMakeFiles/kio_krarc.dir/all] Error 2 Makefile:138: recipe for target 'all' failed make: *** [all] Error 2 EXPECTED RESULT make should complete successfully, with no errors. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Ubuntu 16.04.6; kernel: 4.15.0-76-generic Qt Version: 5.5.1 (I have also version 5.9.0 installed manually) ADDITIONAL INFORMATION I would appreciate help in resolving this problem. -- You are receiving this mail because: You are watching all bug changes.