Page 1 of 1

conky 1.8.0 - missing lua?

Posted: Tue 08 Jun 2010, 09:13
by divisionmd
Hello,

Testing out Quirky 1.2 and wanted to test the latest conky version.

However when trying to compile it tells me i am missing "lua 1.5"..

Any clue on where to get that to Quirky 1.2?

Thanks for help,

Best regards,
Johan

Posted: Tue 08 Jun 2010, 14:04
by mdev
Hi,

I guess it is lua 5.1 -- you can get it from http://www.lua.org/

Posted: Tue 08 Jun 2010, 19:52
by divisionmd
Hej Mdev,

- Thanks - will download and test to compile.

Best regards,
Johan

Posted: Sun 13 Jun 2010, 15:06
by samarai
# export PKG_CONFIG_PATH=/usr/lib/pkgconfig
it's not lua's problem.
the real problem is:
checking for XOpenDisplay in -lX11... no
configure: error: Could not find XOpenDisplay in -lX11

Posted: Wed 16 Jun 2010, 01:25
by musher0
Hi, guys!

Here's a conky 1.8 pet package that works, at least in MyWolfe 0.8 (which is based on Quirky 0.1). It also works in Wary 0.3.

Its caracteristics are:
conky -v
Conky 1.8.0 compiled Wed Mar 31 17:24:26 Local time zone must be set--see zic manual page 2010 for Linux 2.6.33-NuTyX (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:
* MPD
* MOC

General:
* math
* hddtemp
* portmon
* config-output
* apcupsd
* iostats
* ncurses
* Lua

Lua bindings:
I had the same problems as you had compiling this conky, so I resorted to using a nutyx package. The differences in this pet, as compared to the package at http://nutyx.meticul.eu/2009/i686/release/ are as follows:

* I upx'd the binary from 453k to 150 k
* Introduced a /usr/share/doc/conky-1.8 directory which contains the licence, history, etc., that are in the original conky source package at sourceforge.net.

Reservation: I'm not familiar with lua, so you're on your own testing it with this conky version. According to the above, however, it should be a compiled-in feature.

P.S. I figured out what edoc was trying to tell me. See below. Sorry about that. This "nutyx" conky package came without .conkyrc configurations, so here are a few. Simply rename the one you like best to .conkyrc in /root, if you don't like the one that is provided as default in this archive.. Also, please note that you might have to fiddle with the items in the #position heading (aligment, gap_x and gap_y) to make the conky appear where you want to on your screen..

Enjoy!

Posted: Thu 17 Jun 2010, 04:12
by musher0
@edoc, from the wary 0.3 thread.
You said:

> Posted: Today, at 21:44
>
> Conky loaded without error but doesn't show up in the Menu nor
> does it respond to "conky" in console.
>
> I presume that I have missed a step somewhere ...

Maybe not!

#1 I made the pet so conky doesn't show up in the menu. Why should it? It's a system monitor which is supposed to inform you all through your session, so there's no need for a menu entry, really.

However, this might come in handy to edit the configuration file:

Code: Select all

#!/bin/sh
# conky-conf.sh
defaulttexteditor /root/.conkyrc
Save it, say, as conky-conf.sh, make it executable and put it in /root/my-applications/bin. You can then call this script whenever you wish to work on conky's configuration and appearance.

#2 > nor does it respond to "conky" in console.
Have you tried typing
conky -d &
instead of just plain
conky ?

Should do the trick! The conky executable is in /usr/bin, so it should launch from any console.

Posted: Sat 19 Jun 2010, 03:28
by edoc
OK, made the script, thanks!

I have to find my way back to the link you sent before where the guy stuffed a news feed and some other things in there as well ... good fun!

BTW: When I first run the script and it opens the file I should expect it to be blank as it is something that us read and appended? Or should there be some generic conky content and layout code in there?

Posted: Sat 19 Jun 2010, 15:28
by musher0
Hello, edoc.

Glad you could backtrack your steps!

If you're looking for conky scripts (or files), there's an interesting choice in this thread, with screenshot captures, too : http://www.murga-linux.com/puppy/viewto ... 20&t=28064

If you like it short and sweet, look towards the bottom of the following page, under the heading "Simple horizontal". You'd save this file in your /root under ".conkyrc". (Careful not to overwrite whatever you may have there already.) http://wiki.conky.be/index.php/ExampleC ... Horizontal

Have a great day!

Posted: Sat 19 Jun 2010, 16:22
by musher0
Hello again, edoc.

I finally figured out what you were trying to tell me, you diplomatic you!. So I've included a supplemental tar archive with various conky configurations that are ready for use. See above in my post where I've attached the "nutyx" conky. Sorry about that, I hadn't realized.

BFN.

conky 1.8.0 - missing lua?

Posted: Sat 07 Aug 2010, 16:22
by Gorilla no baka
When i am trying to start Conky from the terminal i get the following output..

conky: /lib/libc.so.6: version `GLIBC_2.9' not found (required by conky)
conky: /lib/libc.so.6: version `GLIBC_2.7' not found (required by conky)
# conky -d
conky: /lib/libc.so.6: version `GLIBC_2.9' not found (required by conky)
conky: /lib/libc.so.6: version `GLIBC_2.7' not found (required by conky)


Image




Any idea where i can install them from?? I am pretty sure i can not run an apt-get install :D

Thanks in advance!!

Posted: Sat 07 Aug 2010, 17:05
by musher0
Hello, Gorilla no baka.

Before we do any file hunting... Which Puppy are you using?

I've checked and the problem does not seem to exist on MyWolfe 0.08, Bruno, the new SlaxerPup, Dpup, Toutou (FAT v.)... On my machine anyway! To sum up, to my knowledge. this conky runs fine on Puppy's of v. 4.12 and 4.3x*, Dpup, and early Quirky's.

My libc.so.6 is actually a symlink pointing to libc-2-10.1.so (in MyWolfe 0.08) in /lib.

From what I read elsewhere on this forum, sticking a new libc in any Puppy might break a lot of things in it and send it to never-never land.

You may be out of luck installing this version... But an earlier version of conky might work just fine.

* Please see post below. conky-nutyx does not work in Puppy 4.31.

Posted: Sat 07 Aug 2010, 17:18
by Gorilla no baka
Sorry ..

It is a 4.3.1 The official version...

The only modification to it is the mini-icon 16X16 puppy replaced with a 40X40 gorilla and Few letters added to the "Start"button...


I should have mentioned it from the first time...

Cheers!

Posted: Sat 07 Aug 2010, 17:40
by musher0
Hi.

Ok, give me a few minutes and I'll re-check in Puppy_Bruno and Toutou, which are basically "fat" Puppy's 4.31.

In the meantime, could you go in the /lib directory in your Puppy and see for yourself if the above libc files exist there? Thanks. If not, I'll send you a copy off-forum if you allow me.

TTYL.

Posted: Sat 07 Aug 2010, 17:44
by Gorilla no baka
Sure ...

No probs...

Posted: Sat 07 Aug 2010, 18:18
by musher0
Ok, I'm back.

Writing this from Toutou, a Puppy v.4.31 puplet.

Got the same error as you got with conky-nutyx. Sorry if I mislead you.

To all: CONKY-NUTYX ABOVE DOES NOT WORK IN Puppy v. 4.31.

conky 1.8 and 1,7 versions don't work either.

But there is a conky in Puppy 4.31 already. If you do a conky -v in a Puppy 4.31 console, you'll find that the conky that exists in Puppy v. 4.31 is v. 1.6.1. May I suggest that you shouldn't change that, because in Puppy v.4.31, you have the capacity to use the informative and nicely presented pwidgets, which are based on conky 1.6.1.

So, may i suggest you remove my conky-nutyx through the Puppy Package Manager and get pwidgets from the same PPM, under Desktop (bottom of the list on mine). If you don't like pwidgets and want a traditional looking conky, you can download ONLY the config files above. They'll work with conky 1.6.1. They're tweakable, too! :)

Posted: Sat 07 Aug 2010, 18:24
by Gorilla no baka
All right...

No worries ...

Thanks a lot! :D

Cheers mate..

Posted: Sat 05 Mar 2011, 21:18
by Bec
Sorry for posting in a thread that's ages and ages old, but I had the same problem as the OC (even though I had Lua 5.1 installed) and had to spend a couple days digging around for the solution, so maybe this can help someone else in the future who has the same problem.

Samarai was close -- it was pkg-config that was (part of) the problem, but running the command he suggested just wipes the path to the X libraries, which is why he's now having XOpenDisplay errors. You have to do what the initial Lua error says and do the CFLAGS and LIBS thing. This worked for me:

Code: Select all

LUA_CFLAGS="-I/usr/local/include" LUA_LIBS="-llua -lm -ldl" ./configure [add config settings here]
That kept the config from throwing up a "No Lua" error, but 'make' resulted in errors because lua.h and a couple other files were missing. After a file search, I found out the files weren't just misplaced but were actually gone, even though I had installed the 5.1 package. Compiling Lua 5.1 from source and re-running ./configure (using the pointers mentioned earlier) finally let me install Conky 1.8.1.