Open Nexis81 opened 8 years ago
The version of Perl needs to be updated in the build.sh script to have the correct include path. Try the command "ls -l /usr/lib/perl/" to see what version of perl your Pi has. ( It's 5.20.2 in your case) Then edit WiringPi-Perl/build.sh to match.
There is a fix for this: It's an open pull request that's dated January 2014. Really, it's time to merge it!
I'm not able to build. Below is the message I'm getting with an output of perl -v and the location of EXTERN.h on my system. Raspberry PI 2 B
:~/WiringPi-Perl# ./build.sh
:~/WiringPi-Perl# perl -v
:~/WiringPi-Perl# locate EXTERN.h