Most problems - actually the only problem - I have with conky comes from tolua++. As I mentioned already, it doesn’t work with lua 5.2 (12.2), needs lua 5.1. I’m not sure why conky needs it. I only noticed that it doesn’t work without. I had this package in my repo (from Malcolm’s old python project) but deleted it - my bad - because I suspected that it was causing the problem. In fact it did. Unfortunately this project and this package are not available anymore. I had noticed that there was a tolua++ in openSUSE:12.2 and thought that it would just work. But this package is different as it doesn’t include /usr/lib(64)/libtolua+±5.1.so, and that’s what conky need, at least my build. Other builds don’t seem to require this library to run and and don’t install tolua++, but needs it to compile conky with lua + imlib2 support (an that’s exactly what I need). Finally I was able to find another tolua++ from Fedora, which contains the library. I built it - needed a rpmlintrc though, but the official package does too - and it worked after all, except that I get dependencies error while installing it from my main repo, but not from a subproject repo. Actually only the package I built in the subproject works, but it is the same package! And I don’t understand. I built, rebuilt, branched, rebranched, removed and recreated this package dozens of time.
I started with these repos on a fresh 12.2 with Gnome install in a virtual 32bit machine (but same problem on 64bit systems):
# zypper lr
# | Alias | Name | Enabled | Refresh
---+-----------------------------+---------------------------------------------+---------+--------
1 | home_please_try_again | testing (openSUSE_12.2) | No | No
2 | home_please_try_again_conky | home:please_try_again:conky (openSUSE_12.2) | Yes | No
3 | openSUSE-12.2-1.6 | openSUSE-12.2-1.6 | Yes | Yes
4 | repo-debug | openSUSE-12.2-Debug | No | Yes
5 | repo-debug-update | openSUSE-12.2-Update-Debug | No | Yes
6 | repo-debug-update-non-oss | openSUSE-12.2-Update-Debug-Non-Oss | No | Yes
7 | repo-non-oss | openSUSE-12.2-Non-Oss | Yes | Yes
8 | repo-source | openSUSE-12.2-Source | No | Yes
9 | repo-update | openSUSE-12.2-Update | Yes | Yes
10 | repo-update-non-oss | openSUSE-12.2-Update-Non-Oss | Yes | Yes
11 | server_monitoring | Server Monitoring Software (openSUSE_12.2) | No | No
#1 and #11 are disabled. I can install tolua++ (and further conky) from #2, and it works:
# zypper in -r 2 tolua++
Loading repository data...
Reading installed packages...
Resolving package dependencies...
The following NEW package is going to be installed:
tolua++
1 new package to install.
Overall download size: 41.3 KiB. After the operation, additional 128.7 KiB will be used.
Continue? [y/n/?] (y): y
Retrieving package tolua++-1.0.93-9.1.i586 (1/1), 41.3 KiB (128.7 KiB unpacked)
Retrieving: tolua++-1.0.93-9.1.i586.rpm ..................................[done (62.1 KiB/s)]
Installing: tolua++-1.0.93-9.1 ........................................................[done]
Now if I uninstall it, disable #2 (although it is not necessary), enable #1, refresh an install from there, it fails:
# zypper rm tolua++ ; zypper mr -d 2 ; zypper mr -e 1 ; zypper ref ; zypper in -r 1 tolua++
Loading repository data...
Reading installed packages...
Resolving package dependencies...
The following package is going to be REMOVED:
tolua++
1 package to remove.
After the operation, 128.7 KiB will be freed.
Continue? [y/n/?] (y): y
Installing: tolua++-1.0.93-9.1 ........................................................[done]
Removing tolua++-1.0.93-9.1 ...........................................................[done]
Repository 'home_please_try_again_conky' has been successfully disabled.
Repository 'home_please_try_again' has been successfully enabled.
Repository 'testing (openSUSE_12.2)' is up to date.
Repository 'openSUSE-12.2-1.6' is up to date.
Repository 'openSUSE-12.2-Non-Oss' is up to date.
Repository 'openSUSE-12.2-Update' is up to date.
Repository 'openSUSE-12.2-Update-Non-Oss' is up to date.
All repositories have been refreshed.
Loading repository data...
Reading installed packages...
Resolving package dependencies...
**Problem: nothing provides liblua-5.1.so needed by tolua++-1.0.93-2.1.i586**
Solution 1: do not install tolua++-1.0.93-2.1.i586
Solution 2: break tolua++-1.0.93-2.1.i586 by ignoring some of its dependencies
Choose from above solutions by number or cancel [1/2/c] (c):
Again, it is the same package.
Installing conky from my conky repo subproject works. However I don’t see why I would need a separate project for this. If I could just install it from the main repo, it would fix the problem as far as I’m concerned (and so for users installing this package port from this repo). I had to disable it in panic yesterday, because at some point and for another reason I don’t know, zypper suggested to uninstall basically everything (most 64bit packages) in order to install conky - more precisely tolua++. Now it just produces a dependency error without breaking anything else. However conky doesn’t work then.
...
Problem: nothing provides liblua-5.1.so needed by tolua++-1.0.93-2.1.i586
Solution 1: do not install tolua++-1.0.93-2.1.i586
Solution 2: break tolua++-1.0.93-2.1.i586 by ignoring some of its dependencies
Choose from above solutions by number or cancel [1/2/c] (c): **2**
Resolving dependencies...
Resolving package dependencies...
The following NEW package is going to be installed:
tolua++
1 new package to install.
Overall download size: 41.3 KiB. After the operation, additional 128.7 KiB will be used.
Continue? [y/n/?] (y): y
Retrieving package tolua++-1.0.93-9.1.i586 (1/1), 41.3 KiB (128.7 KiB unpacked)
Retrieving: tolua++-1.0.93-9.1.i586.rpm ..................................[done (62.1 KiB/s)]
Installing: tolua++-1.0.93-9.1 ........................................................[done]
# zypper in -r 1 conky
Loading repository data...
Reading installed packages...
Resolving package dependencies...
Problem: nothing provides liblua-5.1.so needed by conky-1.9.0-59.3.i586
Solution 1: do not install conky-1.9.0-59.3.i586
Solution 2: break conky-1.9.0-59.3.i586 by ignoring some of its dependencies
Choose from above solutions by number or cancel [1/2/c] (c):
Installed conky by breaking dependencies and it doesn’t work.
$ conky
conky: error while loading shared libraries: liblua-5.1.so: cannot open shared object file: No such file or directory
Now if I uninstall conky and tolua++, disable #1, reenable #2, refresh, install conky from there, it works:
# zypper rm conky tolua++ ; zypper mr -d 1; zypper mr -e 2; zypper ref; zypper in -r 2 conky
Loading repository data...
Reading installed packages...
Resolving package dependencies...
The following packages are going to be REMOVED:
conky tolua++
2 packages to remove.
After the operation, 1.2 MiB will be freed.
Continue? [y/n/?] (y): y
Removing conky-1.9.0-59.3 .............................................................[done]
Removing tolua++-1.0.93-2.1 ...........................................................[done]
Repository 'home_please_try_again' has been successfully disabled.
Repository 'home_please_try_again_conky' has been successfully enabled.
Retrieving repository 'home:please_try_again:conky (openSUSE_12.2)' metadata ..........[done]
Building repository 'home:please_try_again:conky (openSUSE_12.2)' cache ...............[done]
Repository 'openSUSE-12.2-1.6' is up to date.
Repository 'openSUSE-12.2-Non-Oss' is up to date.
Repository 'openSUSE-12.2-Update' is up to date.
Repository 'openSUSE-12.2-Update-Non-Oss' is up to date.
All repositories have been refreshed.
Loading repository data...
Reading installed packages...
Resolving package dependencies...
The following NEW packages are going to be installed:
conky imlib2-loaders libid3tag tolua++
4 new packages to install.
Overall download size: 387.1 KiB. After the operation, additional 1.5 MiB will be used.
Continue? [y/n/?] (y): y
Retrieving package tolua++-1.0.93-9.1.i586 (1/4), 41.3 KiB (128.7 KiB unpacked)
Retrieving: tolua++-1.0.93-9.1.i586.rpm ...............................................[done]
Retrieving package libid3tag-0.15.1b-175.2.1.i586 (2/4), 34.9 KiB ( 93.4 KiB unpacked)
Retrieving: libid3tag-0.15.1b-175.2.1.i586.rpm ........................................[done]
Retrieving package imlib2-loaders-1.4.5-9.2.1.i586 (3/4), 46.8 KiB (178.5 KiB unpacked)
Retrieving: imlib2-loaders-1.4.5-9.2.1.i586.rpm .......................................[done]
Retrieving package conky-1.9.0-4.2.i586 (4/4), 264.1 KiB ( 1.1 MiB unpacked)
Retrieving: conky-1.9.0-4.2.i586.rpm .....................................[done (98.2 KiB/s)]
Installing: tolua++-1.0.93-9.1 ........................................................[done]
Installing: libid3tag-0.15.1b-175.2.1 .................................................[done]
Installing: imlib2-loaders-1.4.5-9.2.1 ................................................[done]
Installing: conky-1.9.0-4.2 ...........................................................[done]
In the meantime I added imlib2-loaders and libid3tag requires that were missing, but it is unrelated (but needed!).
$ conky
Conky: forked to background, pid is 10773
agnelo@olaf:~>
Conky: desktop window (25e) is root window
Conky: window type - normal
Conky: drawing to created window (0x3c00001)
Conky: drawing to double buffer
....
$ conky -v
Conky 1.9.0 compiled Tue Oct 2 11:31:17 UTC 2012 for Linux 3.4.6-2.10-default (i686)
Compiled in features:
System config file: /etc/conky/conky.conf
Package library path: /usr/lib/conky
X11:
* Xdamage extension
* XDBE (double buffer extension)
* Xft
* ARGB visual
Music detection:
General:
* math
* hddtemp
* portmon
* Curl
* RSS
* wireless
* support for IBM/Lenovo notebooks
*** nvidia**
* config-output
* Imlib2
** * apcupsd**
* iostats
* ncurses
* Lua
Lua bindings:
* Cairo
* Imlib2
Notice that nvidia support is present and that apcupsd works (unlike in other builds).