From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnout Vandecappelle Date: Fri, 09 Nov 2012 19:07:19 +0100 Subject: [Buildroot] [PATCH] perl: build with perlcross instead of qemu In-Reply-To: <20121109113112.1a7606ff@skate> References: <1352425626-10628-1-git-send-email-arnout@mind.be> <20121109113112.1a7606ff@skate> Message-ID: <509D4657.3050001@mind.be> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net 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