OmarCastro / rofi-blocks

A Rofi modi that allows controlling rofi content throug communication with an external program
GNU General Public License v3.0
106 stars 9 forks source link

unable to build: #36

Open davebooi opened 9 months ago

davebooi commented 9 months ago

When i Try to make as indicated in the README, I get an error stating that the lib64 directory does not exist

>> make install Making install in src make[1]: Entering directory '/var/home/dave/rofi-blocks/build/src' make[2]: Entering directory '/var/home/dave/rofi-blocks/build/src' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/usr/lib64/rofi/' /usr/bin/mkdir: cannot create directory ‘/usr/lib64/rofi/’: Read-only file system make[2]: *** [Makefile:391: install-pluginLTLIBRARIES] Error 1 make[2]: Leaving directory '/var/home/dave/rofi-blocks/build/src' make[1]: *** [Makefile:615: install-am] Error 2 make[1]: Leaving directory '/var/home/dave/rofi-blocks/build/src' make: *** [Makefile:408: install-recursive] Error 1

this is when running the "make install" command in the necessary build folder

I'm running Fedora 39 Silverblue, in fact the directory should be /var/usrlocal/lib, I think?

OmarCastro commented 3 months ago

Hello @davebooi rofi-blocks should install in the directory defined by rofi's pkg-config, you can check the directory that rofi should be installed by running the following command

 pkg-config --variable="pluginsdir" rofi

By the way, did you run make install with root privileges? because you cannot make changes to system files without them