Hello list,
I wanted to try KDFM, which I read about in Linux Format. It's a file manager with some interesting features. So I went to sourceforge.net/projects/kdfm, downloaded the source and extracted it to /usr/local/src/kdfm-code.
What do I do next? I tried 'cmake ./src' and similar and got Unknown CMake command "qt5_wrap_ui". Googling for that found a few helpful pages, but I think I'd need to be a Qt5 developer to understand them.
Can anyone point me in the direction to find out what to do?
Hello list,
I wanted to try KDFM, which I read about in Linux Format. It's a file
manager with some interesting features. So I went to sourceforge.net/projects/kdfm, downloaded the source and extracted it
to /usr/local/src/kdfm-code.
What do I do next? I tried 'cmake ./src' and similar and got Unknown
CMake command "qt5_wrap_ui". Googling for that found a few helpful
pages, but I think I'd need to be a Qt5 developer to understand them.
Can anyone point me in the direction to find out what to do?
On Thursday, 26 August 2021 10:49:38 BST tastytea wrote:again
You need to run cmake in the directory that has the top-level CMakeLists.txt. Use cmake -S . -B build from the top-level directory.
This whill use . as source directory and build as build directory.
You will need kde-frameworks/extra-cmake-modules.¹
Okay, I did that. It ran for much longer, and threw no errors, and once
it ended with 'Build files have been written to:/usr/local/src/kdfm-code/src'.
Then:
wstn /usr/local/src/kdfm-code # cmake ./src
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-
root'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-
root'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-
root'
-- Could not set up the appstream test. appstreamcli is missing.
[...]
-- Configuring done
[...]
-- Generating done
-- Build files have been written to: /usr/local/src/kdfm-code/src
Google hasn't helped with appstreamcli being missing.
Have the build files been written or not? What do I do with them?
¹ <https://sourceforge.net/p/kdfm/code/ci/master/tree/CMakeLists.txt#l8>
I don't see the relevance of that.
Sorry to be thick, but my coding days are >30 years behind me, and that
was in a different area entirely.
--
Regards,
Peter.
You need to run cmake in the directory that has the top-level
CMakeLists.txt. Use cmake -S . -B build from the top-level directory.
This whill use . as source directory and build as build directory.
You will need kde-frameworks/extra-cmake-modules.¹
¹ <https://sourceforge.net/p/kdfm/code/ci/master/tree/CMakeLists.txt#l8>
On Thursday, 26 August 2021 10:49:38 BST tastytea wrote:
You need to run cmake in the directory that has the top-level CMakeLists.txt. Use cmake -S . -B build from the top-level
directory. This whill use . as source directory and build as build directory. You will need kde-frameworks/extra-cmake-modules.¹
Okay, I did that. It ran for much longer, and threw no errors, and
once again it ended with 'Build files have been written to: /usr/local/src/kdfm-code/src'. Then:
-- Could not set up the appstream test. appstreamcli is missing.
Have the build files been written or not? What do I do with them?
Don't run cmake in src/, run it in the directory src is in.
8
# This configures the build (checks for dependencies and so on)
cmake -S . -B build
# This compiles the sources
cmake --build build
The binary is in ./build/src/kdfm – you can install it globally with
sudo cmake --install build
On Thursday, 26 August 2021 15:39:53 BST tastytea wrote:
Don't run cmake in src/, run it in the directory src is in.
I have been doing so.
8
# This configures the build (checks for dependencies and so on)
cmake -S . -B build
# This compiles the sources
cmake --build build
The binary is in ./build/src/kdfm – you can install it globally with
sudo cmake --install build
Excellent! Many thanks, kind Sir!
Aside: how much training and experience would be needed to reach that
level of competence?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 285 |
Nodes: | 16 (2 / 14) |
Uptime: | 75:12:33 |
Calls: | 6,489 |
Calls today: | 2 |
Files: | 12,096 |
Messages: | 5,276,078 |