Cross compiling 5.8.2 for an arm Xscale

Discussion in 'Perl Misc' started by Zach, Dec 19, 2003.

  1. Zach

    Zach Guest

    I am trying to compile perl 5.8.2 for my Arcom Viper single board
    computer. It runs an arm xscale processor. I am using their tool chain
    which seems to work quite well. However, when I try to compile perl as
    per the instructions in the /Cross directory, I end up failing with this
    error:

    ---------------------------------------------------
    You may see some irrelevant test failures if you have been unable
    to build lib/Config.pm or lib/lib.pm.

    cd t && (rm -f perl; /bin/ln -s ../miniperl perl) \
    && LD_LIBRARY_PATH=/home/xaq/carbon/src/perl-5.8.2 ./perl TEST
    base/*.t comp/*.t cmd/*.t run/*.t io/*.t op/*.t uni/*.t </dev/tty
    /bin/sh: ./perl: cannot execute binary file
    make[4]: [minitest] Error 126 (ignored)
    make[4]: Leaving directory `/home/xaq/carbon/src/perl-5.8.2'
    mv miniperl miniperl-arm
    ln -s /usr/bin/perl miniperl
    /usr/bin/perl -Ifake_config_library -MConfig installperl -s
    Can't load 'lib/auto/File/Glob/Glob.so' for module File::Glob:
    lib/auto/File/Glob/Glob.so: ELF file OS ABI invalid at lib/XSLoader.pm
    line 68.
    at lib/File/Glob.pm line 96
    Compilation failed in require at installperl line 131.
    BEGIN failed--compilation aborted at installperl line 131.
    make[3]: *** [install.perl] Error 255
    make[3]: Leaving directory `/home/xaq/carbon/src/perl-5.8.2'
    make[2]: *** [install] Error 2
    make[2]: Leaving directory `/home/xaq/carbon/src/perl-5.8.2'
    make[1]: *** [install-strip] Error 2
    make[1]: Leaving directory `/home/xaq/carbon/src/perl-5.8.2'
    make: *** [perl] Error 2
    [root@dw Cross]#
    ---------------------------------------------

    Any thoughts?

    Zach

    my email address is contact att buildcoolstuff dott com
    ....Please no spam
     
    Zach, Dec 19, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Steve Jasper
    Replies:
    0
    Views:
    3,012
    Steve Jasper
    Nov 20, 2003
  2. Thomas Jollans

    Re: Cross Compiling Python for ARM

    Thomas Jollans, Sep 14, 2010, in forum: Python
    Replies:
    3
    Views:
    409
    Lawrence D'Oliveiro
    Sep 19, 2010
  3. gregarican

    Cross-compiling Ruby for ARM?

    gregarican, Nov 7, 2005, in forum: Ruby
    Replies:
    0
    Views:
    205
    gregarican
    Nov 7, 2005
  4. Gilles

    Cross-compiling Python for ARM?

    Gilles, Apr 15, 2013, in forum: Python
    Replies:
    3
    Views:
    163
    Gilles
    Apr 20, 2013
  5. Saeed Amrollahi
    Replies:
    1
    Views:
    132
    Jorgen Grahn
    Jan 6, 2014
Loading...

Share This Page