[Hardware-pm] Fwd: Re: pi
Martin J. Evans
bohica at ntlworld.com
Thu Jul 19 12:29:30 PDT 2012
Apologies, I missed out hardware-pm from my reply.
-------- Original Message --------
Subject: Re: [Hardware-pm] pi
Date: Thu, 19 Jul 2012 20:28:22 +0100
From: Martin J. Evans <bohica at ntlworld.com>
Organization: Easysoft Limited
To: Zachary Zebrowski <zak.zebrowski at gmail.com>
On 19/07/2012 18:36, Zachary Zebrowski wrote:
> Hi all,
>
> For the raspberry pi, what OS are you using? I'm using the debian os
> (not the recent one that just came out), and I'm having trouble
> installing DBI, starting with:
>
> CPAN: File::Temp loaded ok (v0.22)
> CPAN.pm: Going to build T/TI/TIMB/DBI-1.622.tar.gz
> Warning: No success on command[/usr/bin/perl Makefile.PL INSTALLDIRS=site]
> TIMB/DBI-1.622.tar.gz
> /usr/bin/perl Makefile.PL INSTALLDIRS=site -- NOT OK
> Running make test
> Make had some problems, won't test
> Running make install
> Make had some problems, won't install
>
> Is one of the other OS's a better alternative for building perl
> modules? (Or have someone had a similar experience with DBI& have a
> solution)?
>
> At least the base install of perl works though, not sure what's up with DBI...
>
> (My intent is to start playing with pi hardware soonish...) :)
>
> Zak
I used debian wheezy.
I wrote it up at "Raspberry Pi - will it get our children programming
and if so why not in Perl?" (http://www.martin-evans.me.uk/node/142) and
"Perl DBD::ODBC on the Raspberry Pi"
(http://www.martin-evans.me.uk/node/144).
I installed DBI ok via cpanm but running the tests took an hour. Then we
built our ODBC drivers which took almost a day and I installed
DBD::ODBC. There is nothing special about the RP really, it is just
another cheap computer but it really lacks memory and cpanplus and cpan
shell kill it.
I didn't post these links before here as I thought hardware-pm was lower
level than the RP but since you asked.
I'm trying to add a ADC to my RP to replace the arduinos we use for
temperature monitoring - see "monitoring our machine room temperature
with nagios, perl and arduino" (http://www.martin-evans.me.uk/node/140).
Martin
--
Martin J. Evans
Wetherby, UK
More information about the Hardware-pm
mailing list