conky 1.8.0 - missing lua?

Booting, installing, newbie
Post Reply
Message
Author
User avatar
divisionmd
Posts: 606
Joined: Sat 14 Jul 2007, 20:42

conky 1.8.0 - missing lua?

#1 Post 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
mdev
Posts: 19
Joined: Mon 17 May 2010, 07:15
Location: Berlin

#2 Post by mdev »

Hi,

I guess it is lua 5.1 -- you can get it from http://www.lua.org/
User avatar
divisionmd
Posts: 606
Joined: Sat 14 Jul 2007, 20:42

#3 Post by divisionmd »

Hej Mdev,

- Thanks - will download and test to compile.

Best regards,
Johan
User avatar
samarai
Posts: 60
Joined: Sun 09 May 2010, 14:31
Location: Amoy fj China
Contact:

#4 Post 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
:arrow: welcome to Amoy lads' club,[url=http://xmlad.com]Xmlad.com[/url] I am Chinese' youth I'm Xiamen's lad.
musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#5 Post 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!
Attachments
various-conky-configurations.tar.gz
Please note the ones entitled "conky-fenetre", "conky-deux lignes" and "conky-jwm2" are in French. You may wish to retranslate them. The other ones are in English.
(5.32 KiB) Downloaded 476 times
Last edited by musher0 on Sat 19 Jun 2010, 16:45, edited 3 times in total.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#6 Post 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.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#7 Post 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?
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#8 Post 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!
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#9 Post 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.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
User avatar
Gorilla no baka
Posts: 234
Joined: Sun 26 Oct 2008, 05:27
Location: UK
Contact:

conky 1.8.0 - missing lua?

#10 Post 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!!
[img]http://i44.tinypic.com/29zdifo.jpg[/img]
[b]
[color=red]I'M IN MY OWN WORLD[/color].[/b] [color=darkred]IT'S OK, THEY KNOW ME HERE..!!![/color]
musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#11 Post 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.
Last edited by musher0 on Sat 07 Aug 2010, 18:21, edited 1 time in total.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
User avatar
Gorilla no baka
Posts: 234
Joined: Sun 26 Oct 2008, 05:27
Location: UK
Contact:

#12 Post 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!
[img]http://i44.tinypic.com/29zdifo.jpg[/img]
[b]
[color=red]I'M IN MY OWN WORLD[/color].[/b] [color=darkred]IT'S OK, THEY KNOW ME HERE..!!![/color]
musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#13 Post 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.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
User avatar
Gorilla no baka
Posts: 234
Joined: Sun 26 Oct 2008, 05:27
Location: UK
Contact:

#14 Post by Gorilla no baka »

Sure ...

No probs...
[img]http://i44.tinypic.com/29zdifo.jpg[/img]
[b]
[color=red]I'M IN MY OWN WORLD[/color].[/b] [color=darkred]IT'S OK, THEY KNOW ME HERE..!!![/color]
musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#15 Post 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! :)
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
User avatar
Gorilla no baka
Posts: 234
Joined: Sun 26 Oct 2008, 05:27
Location: UK
Contact:

#16 Post by Gorilla no baka »

All right...

No worries ...

Thanks a lot! :D

Cheers mate..
[img]http://i44.tinypic.com/29zdifo.jpg[/img]
[b]
[color=red]I'M IN MY OWN WORLD[/color].[/b] [color=darkred]IT'S OK, THEY KNOW ME HERE..!!![/color]
Bec
Posts: 1
Joined: Sat 05 Mar 2011, 20:59

#17 Post 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.
Post Reply