LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-26-2011, 10:44 AM   #1
Kubuntu
Member
 
Registered: Jun 2009
Location: Oviedo (Spain)
Distribution: Gentoo
Posts: 63

Rep: Reputation: 0
Conky doesn't install [solved]


Hello.

I'm trying to install conky on my Slackware. I've downloaded the files from slackbuilds.org (both conky and lua). I've compiled and installed lua writing "make linux" and "sudo make install", but when I'm trying to compile conky, it says:

Code:
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.
I've also written "ldconfig", but nothing.

Last edited by Kubuntu; 04-26-2011 at 12:05 PM.
 
Old 04-26-2011, 11:03 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
'lua-5.1.4' http://slackbuilds.org/repository/13.1/development/lua/

If you hide away lua ( and other libraries ) in /usr/local/ :

export PKG_CONFIG_LIBDIR=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig/
 
Old 04-26-2011, 11:29 AM   #3
Kubuntu
Member
 
Registered: Jun 2009
Location: Oviedo (Spain)
Distribution: Gentoo
Posts: 63

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by knudfl View Post
'lua-5.1.4' http://slackbuilds.org/repository/13.1/development/lua/

If you hide away lua ( and other libraries ) in /usr/local/ :

export PKG_CONFIG_LIBDIR=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig/
I've executed that (as normal user and as root), but nothing. There is a file in /usr/local/lib. It's liblua.a, and a lua directory. But not in /usr/lib/pkgconfig/
 
Old 04-26-2011, 11:46 AM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by Kubuntu View Post
I've compiled and installed lua writing "make linux" and "sudo make install"
If you are using SlackBuilds you don't use the make command to build the package. Read the documentation how to use SlackBuilds here. After compiling lua with the SlackBuild-script you will find the compiled package in your /tmp-folder, you have to install it now.
It is much easier to use sbopkg for installing software via SlackBuilds.org.
 
Old 04-26-2011, 12:00 PM   #5
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Quote:
Originally Posted by Kubuntu View Post
I've executed that (as normal user and as root), but nothing. There is a file in /usr/local/lib. It's liblua.a, and a lua directory. But not in /usr/lib/pkgconfig/
If you still have the source directories do 'make uninstall' as root for both, then use the slackbuilds.org scripts (or sbopkg www.sbopkg.org)
 
Old 04-26-2011, 12:04 PM   #6
Kubuntu
Member
 
Registered: Jun 2009
Location: Oviedo (Spain)
Distribution: Gentoo
Posts: 63

Original Poster
Rep: Reputation: 0
Buf, Slackware is a great distro, but I think that it's very indomitable :S

Ok, another problem solved. Thanks.
 
Old 04-26-2011, 01:01 PM   #7
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by Kubuntu View Post
Buf, Slackware is a great distro, but I think that it's very indomitable :S

Ok, another problem solved. Thanks.
No, it is not. You just have to read the documentation. It is not a holds-your-hand distribution, but I wouldn't call it indomitable.
 
  


Reply



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
conky question: passing conky-variable to shell-script zlin50 Linux - Software 2 12-29-2012 06:47 PM
LXer: Conky Colors Makes Your Conky Beautiful In Seconds (Version 3.20 Released) LXer Syndicated Linux News 0 08-01-2010 11:21 AM
LXer: Conky Ubuntu Lucid Theme - Among The Easiest to Install Conky Theme in Ubuntu LXer Syndicated Linux News 0 07-05-2010 04:11 PM
conky doesn't start at login Sapfeer Linux - Newbie 6 12-31-2009 11:05 AM
Conky on Suse 10.0 - *** buffer overflow detected *** conky terminated Slidex Linux - Software 1 03-17-2006 11:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:04 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration