-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
Couldn't install, configuration errors on Ubuntu 23.04 #106
Comments
I really have no idea what's wrong here. I can't spot any errors here either. |
Well, me neither. Autoreconf somehow pollutes the configure file with some parts of the above message, so it looks like this:
When I'm trying to run the script it obviously not working. I've tried to delete the plain text parts but it just gave me more syntax errors. I'm new to the linux, and I'm not really familiar with bash scripting, so any help would be appreciated. I've also attached the generated script in case someone will manage to find possible solutions |
Ubuntu 24.04, same error, same strangely generated configure file and the ../configure log:
|
Yeah, exactly the same behavior on Debian testing. Could it be the new autotools versions we're using? Newer autotools versions are notorious for generating broken scripts given older input files. |
As a workaround, I've managed to build it just invoking the compiler and pkg-config from the command line given it's just one source file. Autotools is overkill (and just horrible) for this purpose. echo gcc -shared -march=native -mtune=native -Os -Wall -Wextra -Wparentheses -Winline -pedantic -Wunreachable-code \
$(pkg-config --cflags glib-2.0) $(pkg-config --cflags gio-unix-2.0) $(pkg-config --cflags gmodule-2.0) \
$(pkg-config --cflags cairo) \
$(pkg-config --cflags rofi) \
-o calc.so calc.c \
$(pkg-config --libs glib-2.0) $(pkg-config --libs gio-unix-2.0) $(pkg-config --cflags gmodule-2.0) \
$(pkg-config --libs cairo) \
$(pkg-config --libs rofi) |
sh -x
echo install -m0644 -oroot -groot calc.so $(pkg-config --variable=pluginsdir rofi) |
sudo sh -x
sudo apt install qalc |
FWIW I agree but I wanted to stick with rofi convention. However, given that rofi is now also supporting meson, maybe we should just switch to meson and call it a day? |
Just wanted to mention the obvious as well, manually deleting clearly misplaced lines and then continuing with the build process works as well |
Would anyone here have some time to switch the build system over to meson? I'm not sure when I can get to it. |
running
autoreconf -i
outputs this:...and generates invalid config file. All dependencies were installed. System is Ubuntu 23.04
The text was updated successfully, but these errors were encountered: