WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: conky with lua support  (Read 3193 times)

ali

  • Guest
conky with lua support
« on: May 09, 2011, 05:49:06 AM »
i can't get conky with lua support to work, i tried to compile it myself but after running ./configure it would say lua(yes) support
cairo: no
imlib2: no
even tho i had cairo-dev and imlib2-dev installed

can anyone please get this to work?

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14799
Re: conky with lua support
« Reply #1 on: May 09, 2011, 06:18:45 AM »
You could check config.log to see exactly what test failed just prior to reporting Cairo was missing. Often this message means a dep of Cairo is missing

Offline maro

  • Hero Member
  • *****
  • Posts: 1228
Re: conky with lua support
« Reply #2 on: May 09, 2011, 06:11:11 PM »
Have you also got the 'cairo.tcz' extension installed? I've noticed that it's not included in 'cairo-dev.tcz.dep' and adding it might help (apart from the fact that it will likely be required as a runtime dependency for your resulting binary).

ali

  • Guest
Re: conky with lua support
« Reply #3 on: May 10, 2011, 02:40:29 AM »
Code: [Select]
tc@box:~/.ali-stuff/compiled/conky-1.8.1$ ./configure | grep no
checking whether we are cross compiling... no
checking for gcc option to accept ISO C89... none needed
checking for a sed that does not truncate output... /usr/local/bin/sed
checking if gcc supports -fno-rtti -fno-exceptions... no
checking whether -lc should be explicitly linked in... no
checking for funopen... no
checking for working iconv... no
checking alsa/asoundlib.h usability... no
checking alsa/asoundlib.h presence... no
checking for alsa/asoundlib.h... no
checking for alsa/asoundlib.h... (cached) no
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking sys/inotify.h usability... yes
checking sys/inotify.h presence... yes
checking for sys/inotify.h... yes
checking for struct statfs.f_fstypename... no
checking for db2x_xsltproc... no
checking for db2x_manxml... no
checking for xsltproc... no
  Audacious:        no
  BMPx:             no
  XMMS2:            no
  RSS:              no
  Curl:             no
    METAR:          no
    XOAP:           no
  wireless:         no
  IBM:              no
  nvidia:           no
  eve-online:       no
  Imlib2:           no
  ALSA mixer:       no
  Cairo:            no
  Imlib2:           no

and yes, imlib2-dev is installed, cairo, cairo-dev...

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14799
Re: conky with lua support
« Reply #4 on: May 10, 2011, 02:56:36 AM »
Did you check config.log to see what it says immediately prior to the cairo error message?

ali

  • Guest
Re: conky with lua support
« Reply #5 on: May 10, 2011, 03:18:56 AM »
i don't understand anything

here's the config.log

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14799
Re: conky with lua support
« Reply #6 on: May 10, 2011, 07:13:52 AM »
Here's what I get:
Code: [Select]
$ ./configure --prefix=/usr/local --enable-imlib2 --enable-lua-imlib2 --enable-lua-cairo
...
checking for X11... yes
checking for Imlib2... yes
checking for LUA... yes
checking for cairo... yes
checking for cairo_xlib... yes
checking for tolua++... no
checking for tolua++5.1... no
checking for tolua++-5.1... no
configure: error: tolua++, tolua++5.1, or tolua++-5.1 is required for Lua extras.

..so it looks like you need lua libs and/or lua cairo/imlib2 bindings?

ali

  • Guest
Re: conky with lua support
« Reply #7 on: May 10, 2011, 07:55:04 AM »
i ended up using the non-cairo conky