[Slackbuilds-users] mrtg.SlackBuild
Matteo Bernardini
matteo.bernardini at gmail.com
Fri Oct 7 10:27:48 UTC 2011
2011/10/7 Mario <mario at slackverse.org>:
> Hey everyone,
>
> mrtg seems to have problems on 64bit:
>
> # mrtg
> Can't locate MRTG_lib.pm in @INC (@INC contains: /usr/bin/../lib/mrtg2
> /usr/bin /usr/lib64/perl5/site_perl/5.12.3/x86_64-linux-thread-multi
> /usr/lib64/perl5/site_perl/5.12.3
> /usr/lib64/perl5/vendor_perl/5.12.3/x86_64-linux-thread-multi
> /usr/lib64/perl5/vendor_perl/5.12.3
> /usr/lib64/perl5/5.12.3/x86_64-linux-thread-multi /usr/lib64/perl5/5.12.3
> /usr/lib64/perl5/site_perl/5.10.0 /usr/lib64/perl5/site_perl
> /usr/lib64/perl5/vendor_perl .) at /usr/bin/mrtg line 89.
> BEGIN failed--compilation aborted at /usr/bin/mrtg line 89.
>
> After doing the ugliest of hacks:
>
> # ln -s /usr/lib64/mrtg2 /usr/lib/mrtg2
>
> This is the result:
>
> # mrtg
> Usage: mrtg <config-file>
personally added this sed after the make install
sed -i "s/lib\${/lib${LIBDIRSUFFIX}\${/" $PKG/usr/bin/mrtg
Matteo
More information about the SlackBuilds-users
mailing list