Subject: | Device-BCM2835 won't install |
Date: | Wed, 19 Dec 2012 13:44:23 -0500 |
To: | bug-Device-BCM2835 [...] rt.cpan.org |
From: | Tom S <whyrnutz [...] gmail.com> |
Hi,
I've tried installing this module using both cpanm and doing it manually.
It reports the same for both. Here is the output from build.log after
running cpanm:
cpanm (App::cpanminus) 1.5018 on perl 5.014002 built for
arm-linux-gnueabihf-thread-multi-64int
Work directory is /root/.cpanm/work/1355833749.2677
You have make /usr/bin/make
You have /usr/bin/wget
You have /bin/tar: tar (GNU tar) 1.26
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html
Show quoted text
>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by John Gilmore and Jay Fenlason.
You have /usr/bin/unzip
Searching Device::BCM2835 on cpanmetadb ...
--> Working on Device::BCM2835
Fetching http://www.cpan.org/authors/id/M/MI/MIKEM/Device-BCM2835-1.3.tar.gz
-> OK
Unpacking Device-BCM2835-1.3.tar.gz
Entering Device-BCM2835-1.3
Checking configure dependencies from META.yml
Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.57_05)
Configuring Device-BCM2835-1.3
Running Makefile.PL
Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -lbcm2835
Writing Makefile for Device::BCM2835
Writing MYMETA.yml
-> OK
Checking dependencies from MYMETA.yml ...
Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.57_05)
Building and testing Device-BCM2835-1.3
cp lib/Device/BCM2835.pm blib/lib/Device/BCM2835.pm
AutoSplitting blib/lib/Device/BCM2835.pm (blib/lib/auto/Device/BCM2835)
/usr/bin/perl /usr/share/perl/5.14/ExtUtils/xsubpp -typemap
/usr/share/perl/5.14/ExtUtils/typemap -typemap typemap BCM2835.xs >
BCM2835.xsc && mv BCM2835.xsc BCM2835.c
Please specify prototyping behavior for BCM2835.xs (see perlxs manual)
gcc-4.7 -c -I/usr/local/projects/bcm2835/src -D_REENTRANT -D_GNU_SOURCE
-DDEBIAN -fstack-protector -fno-strict-aliasing -pipe -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"1.3\"
-DXS_VERSION=\"1.3\" -fPIC "-I/usr/lib/perl/5.14/CORE" BCM2835.c
BCM2835.xs:7:21: fatal error: bcm2835.h: No such file or directory
compilation terminated.
make: *** [BCM2835.o] Error 1
-> FAIL Installing Device::BCM2835 failed. See /root/.cpanm/build.log for
details.
I'm running Debian Wheezy and uname -a reports 3.2.27-rpi-aufs #57 PREEMPT
Mon Nov 26 21:17:59 CET 2012 armV61 GNU/Linux.
Thanks!