Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make deb problem on ubuntu 22.04 #43

Open
slink2111 opened this issue Oct 11, 2024 · 1 comment
Open

Make deb problem on ubuntu 22.04 #43

slink2111 opened this issue Oct 11, 2024 · 1 comment

Comments

@slink2111
Copy link

The make deb commands (as probably others told) are not working correctly in Ubuntu 22.04 since the packages are created in the parent dir, so the lua-unaccent_.deb is in the /osml10n dir and the osml10n__all.deb is in the /

Furthermore there were problems with the $ make install-daemon
I found that i needed to $ sudo apt install libicu-dev libpython 3-dev python3-icu pkg-config
additionally to the packages you say in the installation guide.
Thanks for your effort

@giggls
Copy link
Owner

giggls commented Oct 11, 2024

Hello,

first of all I need admit that this code is not that well tested on Ubuntu as Debian is my development environment. Regarding this code Ubuntu should be similar enough that this should not cause problems.

I just tried to build this stuff inside a freshly debootstraped Ubuntu 22.04 chroot and it worked as expected.

The INSTALL.md clearly states the packages to be installed before building:
libicu-dev and libpython3-dev are among them.

pkg-config should get installed automatically and python3-icu should not be needed because this in build using pip.

The fact that dpkg-buildpackage does put the created packages into the parent-directory is simply how this command works and is not a bug.
If they end up in / you are trying to run this as root inside /osml10n which I do definitely not recommend to do.
If you want to build as root clone the repository into /root instead of /.

I will leave this open for now but if you do not have any further comments I will close it later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants