From: JC <jc@vtkloud.com>
To: "yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Trying to install some cpan modules - dumper.so wrong ELF class???
Date: Sat, 14 Sep 2013 17:36:02 +0200 [thread overview]
Message-ID: <52348262.6060706@vtkloud.com> (raw)
Hi,
I need a few CPAN modules. For most of them I had no issue with a common
recipe, but I end up with issues on Net::SDP
here's my recipe :
SUMMARY = "Collection of Perl modules for working with shairport."
SECTION = "libs"
LICENSE = "MIT"
LIC_FILES_CHKSUM =
"file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
SRC_URI = "http://www.cpan.org/modules/by-module/Net/${BPN}-${PV}.tar.gz "
SRC_URI[md5sum] = "bb70cb8ebb7ca57c20ac134ac4499e66"
SRC_URI[sha256sum] =
"f43fa0f8f9705ae66a4084d13691c2ad7724b381424d368404c3d825bc5782f0"
require cpan.inc
and cpan.inc is :
S= "${WORKDIR}/${BPN}-${PV}"
inherit cpan
do_compile() {
export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name
'libc-*.so')"
cpan_do_compile
}
Here's the error message:
Can't load
'/media/yocto/var_yocto/var_yocto/rpi-build/tmp/sysroots/qemuarm/usr/lib/perl/5.14.3/auto/Data/Dumper/Dumper.so'
for module Data::Dumper:
/media/yocto/var_yocto/var_yocto/rpi-build/tmp/sysroots/qemuarm/usr/lib/perl/5.14.3/auto/Data/Dumper/Dumper.so:
wrong ELF class: ELFCLASS32 at
/media/yocto/var_yocto/var_yocto/rpi-build/tmp/sysroots/x86_64-linux/usr/lib/perl-native/perl/5.14.3/XSLoader.pm
li
Does it ring a bell to anyone ???
Regards
Jay
next reply other threads:[~2013-09-14 15:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-14 15:36 JC [this message]
2013-09-25 19:32 ` Trying to install some cpan modules - dumper.so wrong ELF class??? Jean-Charles JC Verdié
2013-09-25 19:40 ` Khem Raj
2013-09-27 7:50 ` JC
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52348262.6060706@vtkloud.com \
--to=jc@vtkloud.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.