You are not logged in.
So i wanted to write some lua scripts for conky
I go into the interactive lua shell to see if the cairo library is there ">require 'cairo' "
it gives me the supposed directories of where it should be and tells me its not there
> require 'cairo'
stdin:1: module 'cairo' not found:
no field package.preload['cairo']
no file '/usr/share/lua/5.3/cairo.lua'
no file '/usr/share/lua/5.3/cairo/init.lua'
no file '/usr/lib/lua/5.3/cairo.lua'
no file '/usr/lib/lua/5.3/cairo/init.lua'
no file './cairo.lua'
no file './cairo/init.lua'
no file '/usr/lib/lua/5.3/cairo.so'
no file '/usr/lib/lua/5.3/loadall.so'
no file './cairo.so'
stack traceback:
[C]: in function 'require'
stdin:1: in main chunk
[C]: in ?
>
do i need to install some sort of package or does it just not work in the interactive shell?
Offline
conky only provides the cairo and imlib2 binding internally, they won't work in your external lua installation.
Additionally, the conky from [extra] is only compiled with imlib2, so you should use that. If you really want cairo, then you'll have to recompile it with cairo enabled.
Last edited by progandy (2017-10-14 19:05:14)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline