[BusyBox] Help! Can't compile PERL
Yitzhak Bar Geva
yitzhakbg at tkos.co.il
Mon Apr 7 15:04:11 UTC 2003
I have downloaded the recent stable version on PERL (stable.tar.gz) and
can't succed in making it on Busybox. I'm not a Linux Guru yet and I'm
going ape@#$%
Here are the errors from my recent attempt. Don't be bothered by any
"out of date" or "unclean" messages, since I got the same NOSTR and
YESSTR compile errors on my first "ou-of-the-box" attempt when using all
defaults also. At one point I did manage to get past that stage, but got
a zillion linker unresolved messages. Evidentally there are some
libraries missing.
To make a long story short, my problem is that I have to use PERL.
What's the easiest way? I don't care if it does take up a little more
memory. Can I copy over the binary version that's in use now on my
2.4.18 machine?
Will some kind soul help me overcome this hurdle?
Thanks,
Yitzhak
Compile errors:
Making I18N::Langinfo (dynamic)
make[1]: Entering directory `/home/perl-5.8.0/ext/I18N/Langinfo'
Makefile out-of-date with respect to ../../../lib/Config.pm
../../../config.h
Cleaning current config before rebuilding Makefile...
make -f Makefile.old clean > /dev/null 2>&1 || /bin/sh -c true
../../../miniperl "-I../../../lib" "-I../../../lib" Makefile.PL
"INSTALLDIRS=perl" "PERL_CORE=1" "LIBPERL_A=libperl.a"
Writing Makefile for I18N::Langinfo
==> Your Makefile has been rebuilt. <==
==> Please rerun the make command. <==
false
make[1]: *** [Makefile] Error 1
make[1]: Leaving directory `/home/perl-5.8.0/ext/I18N/Langinfo'
make config failed, continuing anyway...
make[1]: Entering directory `/home/perl-5.8.0/ext/I18N/Langinfo'
Skip ../../../lib/I18N/Langinfo.pm (unchanged)
../../../miniperl "-I../../../lib" "-I../../../lib"
../../../lib/ExtUtils/xsubpp -typemap ../../../lib/ExtUtils/typemap
Langinfo.xs > Langinfo.xsc && mv Langinfo.xsc Langinfo.c
cc -c -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-O2 -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" -fpic "-I../../.."
Langinfo.c
In file included from Langinfo.xs:9:
const-c.inc: In function `constant_5':
const-c.inc:197: `NOSTR' undeclared (first use in this function)
const-c.inc:197: (Each undeclared identifier is reported only once
const-c.inc:197: for each function it appears in.)
const-c.inc: In function `constant_6':
const-c.inc:301: `YESSTR' undeclared (first use in this function)
make[1]: *** [Langinfo.o] Error 1
make[1]: Leaving directory `/home/perl-5.8.0/ext/I18N/Langinfo'
make: *** [lib/auto/I18N/Langinfo/Langinfo.none] Error 2
More information about the busybox
mailing list