Cross compiling 5.8.2 for an arm Xscale



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

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

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/' for module File::Glob:
lib/auto/File/Glob/ ELF file OS ABI invalid at lib/
line 68.
at lib/File/ 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
[[email protected] Cross]#

Any thoughts?


my email address is contact att buildcoolstuff dott com
....Please no spam


Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question