-
Notifications
You must be signed in to change notification settings - Fork 1
unable to make luv #7
Comments
Hey @prncss-xyz so maybe: There is also the option of installing the dependencies with Luarocks, and then manually adding the Luarocks library paths to the xplr environment:
my luarocks path output: export LUA_PATH='/usr/local/share/lua/5.1/?.lua;./?.lua;/usr/share/lua/5.1/?.lua;/usr/share/lua/5.1/?/init.lua;/usr/lib/lua/5.1/?.lua;/usr/lib/lua/5.1/?/init.lua;/home/f1/.luarocks/share/lua/5.1/?.lua;/home/f1/.luarocks/share/lua/5.1/?/init.lua;/usr/local/share/lua/5.1/?/init.lua'
export LUA_CPATH='./?.so;/usr/lib/lua/5.1/?.so;/usr/lib/lua/5.1/loadall.so;/home/f1/.luarocks/lib/lua/5.1/?.so;/usr/local/lib/lua/5.1/?.so' the output from luarocks path can be added to the xplr.nvim init script that loads when xplr starts up inside nvim: delete line 3-12 from xplr.nvim init script and change to: package.path = package.path .. "<paste output from luarocks path export LUA_PATH var>"
package.cpath = package.cpath .. "<add output from luarocks path export LUA_CPATH var>" unfortunately xplr doesnt load these variables from the environment so they have to be added into the startup file like this. |
Thank you so much. Successfully installed the lua rocks (also needed to add |
That's great to hear. To debug, using Let me know what isn't working or any error messages from the xplr.nvim lua environment output and I can suggest something to try. |
This seems really promising, unfortunately, automatic install did not work for me, and when I tried manual installation, the problematic step seemed to be
cd xplr/src/luv && make
, where I get:I've tryed to sudo it with the same results.
(Working with an up to date Arch Linux system.)
I don't have experience with cmake. Do you have an idea where I should look? Thank you.
The text was updated successfully, but these errors were encountered: