kactus2dev icon indicating copy to clipboard operation
kactus2dev copied to clipboard

Linux Configuration ini Case-sensativity

Open beryl03 opened this issue 5 months ago • 6 comments

I followed the instructions for linux, and when I checked the Kactus2.ini file versus what I had in my installation location, there were some case-sensitivity issues.

Default Kactus2.ini after installation:

[Platform] PluginsPath=~/kactus2/plugins HelpPath=~/kactus2/help [Library] Locations=~/kactus2/library

Listing directories in kactus2 installation location

drwxrwxr-x 2 4096 Jul 10 08:54 Help/ drwxrwxr-x 3 4096 Jul 10 08:54 Library/ drwxrwxr-x 2 4096 Jul 10 08:54 pixmaps/ drwxrwxr-x 2 4096 Jul 10 08:54 Plugins/

to put them on the same line: PluginsPath=~/kactus2/plugins | Plugins/

Windows is case insensitive, so the .ini file would work. Linux is case-sensitive, so the .ini file will cause issues.

Note: I used quote blocks since the code block did not seem to work for me.

beryl03 avatar Jul 10 '25 14:07 beryl03

I am unable to launch kactus2 after installation. This seems to be one of multiple issues for me on Ubuntu 24.04.

beryl03 avatar Jul 14 '25 14:07 beryl03

I change 2 variables and kactus2 runs now on ubuntu 25.05. I did not bisect the issue further to determine what the issue was exactly.

Attempt 1 (unsuccessful): make -j4 installed to default location (/usr/bin/kactus2/)

Attempt 2 (successful): make installed to user-define location (/home/<user>/kactus2/

beryl03 avatar Jul 22 '25 04:07 beryl03

to note, I did make sure to update the configuration to point to the correct case location, and it reads from the library correctly.

beryl03 avatar Jul 22 '25 04:07 beryl03

When experimenting with creating a new library+module, the default library location had the incorrect case sensitivity. After I changed it, I could save it without error.

beryl03 avatar Jul 22 '25 04:07 beryl03

it looks like it may be related to .qmake.conf lines 46 vs 73. Similar issue for "[h|H]elp" and "[P|p]lugins"

beryl03 avatar Jul 22 '25 04:07 beryl03

Hi,

Thank you for reporting this, we will check it out.

hagantsa avatar Aug 01 '25 12:08 hagantsa