svenstaro / rofi-calc

🖩 Do live calculations in rofi!
MIT License
991 stars 32 forks source link

Install to wrong location on Ubuntu 18.10, /usr/local/lib/rofi/ instead of pkg-config rofi pluginsdir #15

Closed sparr closed 5 years ago

sparr commented 5 years ago

This is something of a dupe of #9 but hopefully with more info towards a solution.

When I follow the build instructions on Ubuntu 18.10 then make install ends up putting the build results in /usr/local/lib/rofi/ instead of pkg-config rofi --variable=pluginsdir which is /usr/lib/x86_64-linux-gnu/rofi/ for me.

As near as I can tell what happens is that $ac_default_prefix is /usr/local and that becomes $prefix which becomes $exec_prefix which gets '/lib' appended to make $libdir which gets '/rofi' appended to make '$plugindir'.

I'm not sure at what point this should be interrupted, but I'm told in freenode #rofi that the end result should be to use pkg-config rofi --variable=pluginsdir instead of the result of the above described process.

svenstaro commented 5 years ago

I have absolutely no automake skills so I copied from here. Please try the latest commit.

sparr commented 5 years ago

check out #16