Friday, September 11, 2015

Bulding Perl with Perlbrew on MirBSD

Setting CC=mgcc isn't enough.   Run perlbrew install until it fails, go to the build directory then:

Amend the Configure script adding 'cc=mgcc' after
rp="Use which C compiler?"
. ./myread
cc="$ans"


Then run

bash ./Configure -Duseithreads -Dusemultiplicity -Dinstallprefix=/home/njh/perl5/perlbrew/perls/perl-5.19.9 -Dprefix=/home/njh/perl5/perlbrew/perls/perl-5.19.9 -de -Accflags="$CFLAGS" -Acc=mgcc -Aldflags="-lpthread -lm"
make
make test
make install

Thursday, May 7, 2015

Setting Fan Control under Debian

apt-get install fancontrol
sensors-detect
pwmconfig
chkconfig fancontrol on
service fancontrol start
sensors
sensors -s