On 2017-09-15 16:45 +0100, Wookey wrote: > However using that: > "$Config{incpth}", "$sysroot/usr/local/include", > > doesn't work, probably due to multiple paths (my perl foo is very rusty). OK, so slitting the paths works: my ($linux_errno_h) = grep { -e $_ } map { "$_/errno.h" } split( / /,"$Config{incpth}"), "$sysroot/usr/local/include/", split / / => $Config{locincpth} or die "Cannot find errno.h"; But as that path includes /usr/include at the end, I'm don't think this is strictly correct, and a more sophisticated fix would be preferable. Fixing that lets the build complete :-) Wookey -- Principal hats: Linaro, Debian, Wookware, ARM http://wookware.org/
Attachment:
signature.asc
Description: Digital signature