The egg contains three directories, but the locale sub-directory and possibly other files are missing. We have never supported eggs and I don’t expect it to work.
I suspect that the problem is related to the version of build being used. Some systems will import it from setuptools and others from distutils. See line 37 in our setup.py script. Which one is installed on your system?
I have setuptools and distutils, so the script will choose build from setuptools. And in fact it forces me to install setuptools, because there is an import without a fallback on line 35.
Hacking setup.py to use build from distutils does not work here, and the remedies shown on StackOverflow don´t work here, yet.
Yeah. I’m out of my depth here. (And intend to re‐re-format the drive after 5.2 settles down. The test system rejects the admin PW … that I possibly mis-remember. So no sussudio work for me.)
Of those, rcs can probably be omitted, but I was too lazy to leave that out. I just pasted the whole yum line in terminal, and put sudo before it.
I then ran the build as described and the install with the ‘–root=/’ option. And the results are the same as on LMDE 6 and Mint 21.3, meaning that I can start Gramps from the command line and the menu, and see that it speaks Dutch to me.
Thanks for testing. It looks like the setuptools version installs an egg by default. The --root=/ option is a suitable workaround to force a standard installation.
This needs documenting in the INSTALL file. We can also remove the old --resourcepath section which is no longer required.
H’m, right, no sudo for you then. Anyway, I did the testing work for you, so that you can install 5.2 from source if you follow the instructions from the Gramps wiki and add the ‘–root=/’ option to the install command.
Could it be that this egg issue with setuptools also affects the creation of flatpaks? There is another thread where a flatpak user complains about a missing locale, and that’s very much the same effect as running the old install and then specifying GRAMPS_RESOURCES on the command line.
And as far as I’m concerned, eggs don’'t work well with flat packs anyway, unless you want an omelet.
Done. It works nice on Fedora and Mint 21.3, which is based on Ubuntu. And on the latter, it even gives me a chance to go back to Gramps 5.1.7 (my personal hack).
No luck on LMDE 6 though, based on Debian 12 a.k.a. bookworm.