All of lore.kernel.org
 help / color / mirror / Atom feed
From: JC <jc@vtkloud.com>
To: Khem Raj <raj.khem@gmail.com>
Cc: "yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Re: Trying to install some cpan modules - dumper.so wrong ELF class???
Date: Fri, 27 Sep 2013 09:50:23 +0200	[thread overview]
Message-ID: <524538BF.2080808@vtkloud.com> (raw)
In-Reply-To: <CAMKF1sri3BSObWxcipXXriQY7=M0ekUwmQ3QPxJ+G=71_1zZBA@mail.gmail.com>

On 25/09/2013 21:40, Khem Raj wrote:
> On Wed, Sep 25, 2013 at 12:32 PM, Jean-Charles JC Verdié <jc@vtkloud.com> wrote:
>>> 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
> this is reaching out to native-perl mods there. seems its not cross
> compiler friendly
> look out for variables that are being used to construct path for
> XSLoader.pm and use
> the correct target paths
Actually, it seems that this package does not provide the regular .PL 
file expected by cpan.
I found out a way to generate it, and I could compile. But as you can 
see it uses perl native (I get an x86-64 build), and it's trying to 
install on my / directory instead of the rootfs:

ERROR: Logfile of failure stored in: 
/media/yocto/yocto/rpi/tmp/work/armv6-vfp-poky-linux-gnueabi/Net-SDP/0.07-r0/temp/log.do_install.30179
Log data follows:
| DEBUG: Executing shell function do_install
| Building Net-SDP
| WARNING: Can't figure out install path for types: bindoc libdoc
| Files will not be installed.
| !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
| ERROR: Can't create '/usr/lib/perl/site_perl/5.14.3/Net'
| mkdir /usr/lib/perl/site_perl: Permission denied at 
/media/yocto/yocto/rpi/tmp/sysroots/x86_64-linux/usr/lib/perl-native/perl//5.14.3/ExtUtils/Install.pm 
line 494
|
| !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|  at 
/media/yocto/yocto/rpi/tmp/sysroots/x86_64-linux/usr/lib/perl-native/perl/5.14.3/Module/Build/Base.pm 
line 3569


FWIW, I can do the manual operations in qemu so it's really a matter of 
using target perl instead of hosted perl I think :(


I'm investigating a little bit more or I will post additional 
information for help :)

Thanks anyway,
Regards
Jay



      reply	other threads:[~2013-09-27  7:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-14 15:36 Trying to install some cpan modules - dumper.so wrong ELF class??? JC
2013-09-25 19:32 ` Jean-Charles JC Verdié
2013-09-25 19:40   ` Khem Raj
2013-09-27  7:50     ` JC [this message]

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=524538BF.2080808@vtkloud.com \
    --to=jc@vtkloud.com \
    --cc=raj.khem@gmail.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.