Subject: | installation problem |
Date: | Thu, 15 Dec 2016 14:41:19 +0100 |
To: | bug-Device-PiFace [...] rt.cpan.org |
From: | "W. Schefe" <w_schefe [...] web.de> |
hallo,
I have a problem while installing PiFace 2 via "cpanm Device::PiFace" on
a Raspberry Pi 3 Model B with raspian-jessie-lite for running FHEM
after installing libpifacedigital and libmcp23s17 via git.
The excerpt of error area in the build.log before finishing:
...
cp lib/Device/PiFace.pm blib/lib/Device/PiFace.pm
Running Mkbootstrap for Device::PiFace ()
chmod 644 PiFace.bs
/usr/bin/perl "-Iinc" /usr/share/perl/5.20/ExtUtils/xsubpp -typemap
/usr/share/perl/5.20/ExtUtils/typemap -typemap typ$
cc -c -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing
-pipe -I/usr/local/include -D_LARGEFILE_SOURCE$
In file included from PiFace.xs:8:0:
const-c.inc: In function ‘constant_5’:
const-c.inc:33:20: error: ‘OLATA’ undeclared (first use in this function)
*iv_return = OLATA;
^
const-c.inc:33:20: note: each undeclared identifier is reported only
once for each function it appears in
const-c.inc:38:20: error: ‘OLATB’ undeclared (first use in this function)
*iv_return = OLATB;
^
const-c.inc:45:20: error: ‘IOCON’ undeclared (first use in this function)
*iv_return = IOCON;
^
...
and so on for every delaration in functions 'constant_5' ... 'constant_9'.
While looking in /usr/local/include i found in file mcp23x08.h from
Gordon Henderson MCP23x17 the searched(?) Register definitions...
What can I do?
Thanks for spending time!
Best regards and a happy christmas time for you!
Wolfgang