[FIXED] Build problem...

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
toothandnail
Posts: 165
Joined: 20. Sep 2009, 17:30
Location: Oxfordshire, UK

[FIXED] Build problem...

Post by toothandnail »

Not so much a request for a package as a hope that someone might have some ideas on how to fix this problem..

Just installed Salix (nice and clean, though running the install in 1280x800 frame buffer mode was a bit flickery). Started to install my favorite packages, but couldn't find a copy of Conky in the repos. So I decided to have a look at building it.

I've got a two problems building the latest (1.7.2) version. First, it fails, being unable to find lua, even though it is installed. When the build is run with --disable-lua in configure, it then fails on wlan support. The error is as below:

Code: Select all

checking iwlib.h usability... yes
checking iwlib.h presence... yes
checking for iwlib.h... yes
checking for iw_sockets_open in -liw... no
configure: error: iw_sockets_open not found
I've hit exactly the same errors under both Vector and Zenwalk with 1.7.2 (though the Zenwalk lua works, I get exactly the same problem with wlan support). Looking at the wireless-tools package (a Slackware one in all three distros), it seems a bit strange, but I would prefer to avoid rebuilding wireless tools if I can manage it.

Anyone have any ideas how to cure these problems?

paul.

PS. Nice to see so many familiar names...
User avatar
Fred
Posts: 32
Joined: 27. Aug 2009, 17:23
Location: Ath (Belgium)

Re: Build problem...

Post by Fred »

I don't know if it is normal but the directory usr/share/lua/5.1/ is empty :?
It is maybe the cause ?

There is no /usr/lib/pkgconfig/lua-5.1.pc with something like that in :

Code: Select all

prefix=/usr
exec_prefix=${prefix}
libdir=/usr/lib/lua/5.1
includedir=${prefix}/include/lua/5.1
module_dir=share/lua/5.1
binary_modile_dir=lib/lua/5.1

Name: Lua
Description: An Extensible Extension Language
Version: 5.1.2
Requires:
Libs: -L${libdir} -Wl,-rpath,${libdir} -llua
Cflags: -I${includedir}
Fred
User avatar
Fred
Posts: 32
Joined: 27. Aug 2009, 17:23
Location: Ath (Belgium)

Re: Build problem...

Post by Fred »

Lua should be fix earlier ... :)
and for the error socket : Looke here

Code: Select all

Just add LDFLAGS="-lm" to the configure script.
Fred
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: Build problem...

Post by gapan »

lua is also fixed in the repo thanks to Fred :)
Image
Image
toothandnail
Posts: 165
Joined: 20. Sep 2009, 17:30
Location: Oxfordshire, UK

Re: Build problem...

Post by toothandnail »

Fred wrote:Lua should be fix earlier ... :)
and for the error socket : Looke here

Code: Select all

Just add LDFLAGS="-lm" to the configure script.
Fred
Thanks Fred. Missed that. I'll see if I can get a working build....

paul.
toothandnail
Posts: 165
Joined: 20. Sep 2009, 17:30
Location: Oxfordshire, UK

Re: Build problem...

Post by toothandnail »

gapan wrote:lua is also fixed in the repo thanks to Fred :)
:) That was fast. I'll grab the update...

paul.
Post Reply