Hi,
I'm trying to install RPI::WiringPi from CPAN to play with an LCD and a few buttons - I want to use Perl because I'm already familiar with the language and because this might end up becoming a Squeezecenter plugin. I understand roughly what's involved in the process, but I don't have all the skills to troubleshoot it. Maybe someone could help me?
I started with a fresh piCore install (V3.10), plus extending the FS, etc. - I already have Squeezecenter and Squeezeplayer running.
Then I installed a few extensions based on my gut feeling, e.g. (not necessarily in this order):
- perl5
- wiringpi
- wiringpi-dev
- compile
- binutils-dev
- setuptools
- gcc
- gcc_base-dev
- gcc_libs
- gcc_libs-dev
among others. After each new extension is installed I do:
sudo perl -MCPAN -e shell
install RPi::WiringPi
But there's always an error somewhere, dependency errors, runtime errors, memory errors... Last one was apparently an I/O error! But I guess this one will go away if I reboot the Pi.
Now... is there an easier way to do this? Something pre-compiled for the Pi (B - armv6), or step-by-step instructions to compile this specific module? I can start it from scratch if needed (meaning, re-flash piCore 3.10 to the SD card), no big deal.
Thanks in advance,
VMat