[Buildroot] [PATCH] perl: build with perlcross instead of qemu

Arnout Vandecappelle arnout at mind.be
Fri Nov 9 18:07:19 UTC 2012


On 11/09/12 11:31, Thomas Petazzoni wrote:
> This patch unfortunately breaks the build of cpanminus, which
> apparently still requires qemu:

  Yep, it does require qemu.  To make it work with perlcross, you'd need to
build a host-perl with a few extra modules (to support network downloads) - but
building those modules can't be done with cross-miniperl because it has the
target's settings for which headers etc. exist.  The perlcross docs state:
"And thinking of possible need to install additional modules for hostperl makes
my head spin."

  So instead, I'll make cpanminus depend on host-qemu and try to exclude the
failing architectures.

  The long term solution is probably to replace cpanminus with something
buildroot-friendly.  The cross-build of the downloaded modules is probably
doable with cross-miniperl.

  Regards,
  Arnout
-- 
Arnout Vandecappelle                               arnout at mind be
Senior Embedded Software Architect                 +32-16-286540
Essensium/Mind                                     http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium                BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F



More information about the buildroot mailing list