LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-15-2010, 11:16 AM   #1
benav
Member
 
Registered: Sep 2009
Location: Canada
Distribution: Slackware 14.0
Posts: 36

Rep: Reputation: 1
Installing Conky -- strange lua problem?


Hi all,

I'm trying to install Conky, but when I run the configure script I get this:

Code:
...
checking for LUA51... no
checking for LUA51... configure: error: Package requirements (lua5.1 >= 5.1) were not met:

No package 'lua5.1' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LUA51_CFLAGS
and LUA51_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
However, I do have Lua 5.1 installed. 5.1.4-10.4, to be precise. I've even tried
Code:
export PKG_CONFIG_PATH=/usr/bin
, which contains the file lua5.1 but I get the same error message.

If I were to set LUA51_CFLAGS and LUA51_LIBS, what would I set them to?

Running KDE 4.4.4 "release 2" on OpenSUSE 11.3 (x86_64), Linux 2.6.34-12-desktop x86_64.

If anyone has any suggestions for what else to try, I'd appreciate it.

Thanks!
 
Old 09-15-2010, 11:41 AM   #2
lostzinzthought
Member
 
Registered: Sep 2010
Location: USA
Distribution: Slackware13.1
Posts: 47

Rep: Reputation: 4
I had a similar problem trying to install the newest version of conky on slackware 13.1 on my acer aspire one D260.
I just grabbed an older version off sourceforge and it works fine, though I don't know why it couldn't find the lua dependency - I had it installed.
sorry I couldn't be of much help.
 
Old 09-15-2010, 04:33 PM   #3
benav
Member
 
Registered: Sep 2009
Location: Canada
Distribution: Slackware 14.0
Posts: 36

Original Poster
Rep: Reputation: 1
Actually, that was helpful. I got an older version to install just fine. Thanks!
 
Old 09-15-2010, 04:51 PM   #4
lostzinzthought
Member
 
Registered: Sep 2010
Location: USA
Distribution: Slackware13.1
Posts: 47

Rep: Reputation: 4
Quote:
Originally Posted by benav View Post
Actually, that was helpful. I got an older version to install just fine. Thanks!
Oh, you're welcome then happy I could help!
 
Old 09-16-2010, 04:10 AM   #5
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.1
Posts: 1,222

Rep: Reputation: 177Reputation: 177
Quote:
Originally Posted by lostzinzthought View Post
I had a similar problem trying to install the newest version of conky on slackware 13.1 on my acer aspire one D260.
I just grabbed an older version off sourceforge and it works fine, though I don't know why it couldn't find the lua dependency - I had it installed.
sorry I couldn't be of much help.
I maintain conky over at slackbuilds and I have conky running with lua support right now. try following the instructions of my README at http://slackbuilds.org/repository/13.1/system/conky/ and everything should work.
 
Old 09-16-2010, 07:37 AM   #6
lostzinzthought
Member
 
Registered: Sep 2010
Location: USA
Distribution: Slackware13.1
Posts: 47

Rep: Reputation: 4
Quote:
Originally Posted by Daedra View Post
I maintain conky over at slackbuilds and I have conky running with lua support right now. try following the instructions of my README at http://slackbuilds.org/repository/13.1/system/conky/ and everything should work.
to be honest, I didn't even look for a slackbuild, I just grabbed the source. next time I try to install it i'll check the slackbuild though, haha.
 
Old 09-16-2010, 08:16 AM   #7
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,040

Rep: Reputation: 373Reputation: 373Reputation: 373Reputation: 373
To compile the package you will probably need some lua-devel, lua-dev, lua-libs or something like that. I am not a SuSE user so can't be sure.

No wonder that older conky versions work, since the lua features are relatively new. Older conky versions do not have lua scripting support so they don't require lua for anything.
 
Old 09-24-2010, 06:47 AM   #8
zrdc28
Member
 
Registered: Dec 2007
Location: Alabama USA
Distribution: Slackware current
Posts: 249

Rep: Reputation: 40
This is what works for me, if you read the slackbuild you will find this.

To enable lua scripting engine support run the build with
LUA=yes ./conky.SlackBuild.

I just changed the second line to

LUA=no ./conky.SlackBuild.
 
Old 09-27-2011, 12:06 PM   #9
gaby
LQ Newbie
 
Registered: Sep 2011
Posts: 3

Rep: Reputation: Disabled
I tried installing the latest version on a centos 5.7 and had the same problem related to lua.
I just installed lua-devel and it worked fine
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange conky request corbintechboy General 11 04-25-2010 01:13 AM
installing LUA 5.1 and conky on slackware 13 bret381 Linux - Software 2 11-17-2009 05:51 AM
Strange behavior of Conky Hammett Linux - Software 0 04-08-2008 10:14 AM
Update System with Urpmi, rpmlib(Lua...) dependency problem GT_Onizuka Mandriva 3 01-01-2008 10:15 AM
Strange units in conky (KiB, MiB, GiB) chilebiker Linux - Software 1 05-04-2007 12:44 PM


All times are GMT -5. The time now is 10:58 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration