[Slackbuilds-users] SlackBuilds, Package:Lua (fwd)

Robby Workman rworkman at slackbuilds.org
Mon Aug 17 13:15:51 UTC 2009


On Mon, 17 Aug 2009 08:51:37 +0200 (CEST)
Menno Duursma <druiloor at zonnet.nl> wrote:

> On Sun, 16 Aug 2009, sylkat wrote:
> 
> > Im a new spanish slack user, i get your slackbuild "lua", install
> > and i see that the post installation script is not correct.
> > 
> > It create a soft link liblua.so pointing to liblua.so.5.1.4:
> > 
> > liblua.so -> liblua.so.5.1.4
> > 
> > And the library installed is liblua-5.1.so then is a invalid link
> > and not work in compilation but configure script not detect invalid
> > link!
>
> 
> This is fine (although i'd rather someone else would take over
> maintainership of this...) You could sent it to the
> slackbuild-users at slackbuilds.org list too/alwell.
> 
> I don't know if anything uses those links, but anyways, a quick patch:
> This came about with the 64bit suport i guess, i could submit this
> but it may brake 64 (however unlikely) probably a good idee to
> forward this mail.
> 
> Cheers,
> -Menno.
> 
> --- ../lua.old/lua.SlackBuild   2009-06-18 17:22:08.000000000 +0200
> +++ ./lua.SlackBuild    2009-08-16 15:57:52.000000000 +0200
> @@ -54,13 +54,14 @@
>   sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g'
> libtool
> 
>   make
> -make install DESTDIR=/$PKG
> +make install DESTDIR=$PKG
> 
>   # Let's make sure all of the library symlinks correctly exist
>   ( cd $PKG/usr/lib$LIBDIRSUFFIX
> -  ln -sf liblua.so.${VERSION} liblua.so.5
> -  ln -sf liblua.so.${VERSION} liblua.so
> -  chmod 0755 liblua.so.${VERSION}
> +  # Fix for autotools version
> +  ln -sf liblua-5.1.so liblua.so.$VERSION
> +  ln -sf liblua-5.1.so liblua.so.5.1
> +  ln -sf liblua-5.1.so liblua.so.5
>   )
> 
>   ( cd $PKG


Hi Menno,

We tweaked the script a bit to make everything build on x86_64
(much thanks to Aaron Hsu for some help with it), and the result
is attached - how's that look?

-RW

-------------- next part --------------
A non-text attachment was scrubbed...
Name: lua.tar.gz
Type: application/x-gzip
Size: 2106 bytes
Desc: not available
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20090817/52f6551e/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20090817/52f6551e/attachment.asc>


More information about the SlackBuilds-users mailing list