Can't build conky from source

Add functionality to your desktop
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Slaggagary

Can't build conky from source

Post by Slaggagary »

So, I'm trying to install Conky 1.8.1. Whenever I put in the command ./configure the terminal informs me that:

checking for LUA... no
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.

The problem is that I already have lua5.1 installed.

I'm pretty new with Linux and I'm not sure how to work my way around this. What do?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
Roken
Level 5
Level 5
Posts: 737
Joined: Fri Nov 19, 2010 4:55 pm
Location: Newport, S Wales

Re: Can't build conky from source

Post by Roken »

Try installing liblua5.1-0-dev
Kernel Linux Tex 5.12.14-zen1-1-zen, XFCE
Arch
Dual GTX1070 8Gb
AMD Ryzen 1800X
32Gb RAM
Slaggagary

Re: Can't build conky from source

Post by Slaggagary »

Roken wrote:Try installing liblua5.1-0-dev
What would that do?
Habitual

Re: Can't build conky from source

Post by Habitual »

allow you to .configure conky.

liblua5.1-0-dev - Simple, extensible, embeddable programming language <--- It's LUA
Slaggagary

Re: Can't build conky from source

Post by Slaggagary »

Well... it worked. Thank you.

Would you explain to me, -very simply, as it were- how installing the previously listed package was any different from having plain Lua5.1 installed?
User avatar
Roken
Level 5
Level 5
Posts: 737
Joined: Fri Nov 19, 2010 4:55 pm
Location: Newport, S Wales

Re: Can't build conky from source

Post by Roken »

It's the development package for lua. If you are building a program from source then you will frequently require the development package rather than the binary to build the package. It isn't always made clear in the documentation for self-build.
Kernel Linux Tex 5.12.14-zen1-1-zen, XFCE
Arch
Dual GTX1070 8Gb
AMD Ryzen 1800X
32Gb RAM
Locked

Return to “Compiz, Conky, Docks & Widgets”