How to install when compiling from source? #454
Replies: 4 comments 1 reply
-
The subdirectory sequential being empty is already the error. The CMakeLists.txt in the adaptations directory contains this code in order to make the content of these directories part of the tarball:
But that does seem to only put the empty directories in the tarball, not the content? That must be a regression, because in older versions that worked. I have a version 2.0.6 here on disk which clearly has the correct content. I'll file this as a bug. To fix, you need to copy the whole directory tree with all Python files from the source into the target, the files inside the folders are required. Thanks for the patience! |
Beta Was this translation helpful? Give feedback.
-
Yes, in the tarball download for the latest release these directories are also empty (same for the Ubuntu version). I noticed that in the source folder these directories have Python files in them and copied over to my installation manually and that worked. This is the content of the tarball:
|
Beta Was this translation helpful? Give feedback.
-
Fixed in master (change in CMakeLists.txt of adaptations) and released with 2.6.3. Thanks again for letting me know! |
Beta Was this translation helpful? Give feedback.
-
Forgive me, if I'm being dense, but isn't it necessary to move the Python files and packages into a I can't really test the provided bianry packages, since my system (Arch/Manjaro Linux) already has libicuuc version 76. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I compiled KnobKraftOrm form source, from the latest Git, using the instructions in the readme.
I ran into some issues (see #452 & #453), but I was able to fix them locally.
What is the correct way to install the program when compiling form source?
If I run the build command I found in the Git workflow for the Ubuntu24 builds, I get a tarball, which contains a
bin
andlib
folder under the root directory. If I install those somewhere in my home directory (e.g.~/lib/KnobKraftOrm
) and start./KnobKraftOrm
from~/lib/KnobKraftOrm/bin
, the program opens but it can't find the adaptations. The log pane says it can't find theadaptations
directory:But the tarball doesn't contain any such directory, the Python files are all in the
bin
directory.If I create
~/lib/KnobKraftOrm/bin/adaptations
and move all the*.py
files and the (empty) sub-directory, which exist there, into theadaptations
directory, I get Python errors likeregardless of wether the
sequential
directory exists in theadaptions
directory or not.Beta Was this translation helpful? Give feedback.
All reactions