[Slackbuilds-users] mono SlackBuild problems

George Vlahavas vlahavas at gmail.com
Tue Aug 23 16:58:02 UTC 2016


Hi,

I have noticed a couple of problems with the mono SlackBuild. While it 
works OK in 64bits, that is not the case for 32bits. Not sure, but 
probably these problems were introduced during the latest update.

1. For some weird reason, when setting ARCH=i586, it uses
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
instead of
SLKCFLAGS="-O2 -march=i586 -mtune=i686"

2. It uses a precompiled tarball of mono to build the package and this is 
named like this in the SlackBuild: $PRGNAM-$BIN_VERSION-$ARCH.tar.bz2

The problem is that the tarball is specifically named:
mono-4.2.2.10-i486.tar.bz2

so $ARCH cannot be substituted in the filename, because it then becomes:
mono-4.2.2.10-i586.tar.bz2
which is a tarball that does not exist. Because of that, the SlackBuild 
fails. This should be hardcoded to i486 whenever ARCH is set to i?86.

Regards,

George


More information about the SlackBuilds-users mailing list