Page 1 of 1

[FIXED] Build problem...

Posted: 21. Sep 2009, 21:21
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...

Re: Build problem...

Posted: 22. Sep 2009, 19:29
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

Re: Build problem...

Posted: 22. Sep 2009, 19:45
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

Re: Build problem...

Posted: 22. Sep 2009, 19:54
by gapan
lua is also fixed in the repo thanks to Fred :)

Re: Build problem...

Posted: 22. Sep 2009, 21:48
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.

Re: Build problem...

Posted: 22. Sep 2009, 21:49
by toothandnail
gapan wrote:lua is also fixed in the repo thanks to Fred :)
:) That was fast. I'll grab the update...

paul.