Perl error

Ken Moffat ken at linuxfromscratch.org
Fri Nov 14 16:44:35 PST 2008


On Fri, Nov 14, 2008 at 04:14:33PM +0100, Tobias Gasser wrote:

[ not commenting on the main problem, or your seds - I find perl's
configuration painful enough at the best of times, so I'm chickening
out for the moment ]

> 
> even when the make is sucessfull i get 3 failures in the make test.
> 
 And your failures are:
ext/DynaLoader/t/DynaLoader...................................#
Failed test 'array should contain one result result or more: libc =>
()'
#   at ../ext/DynaLoader/t/DynaLoader.t line 109.
#     '0'
#         >=
#     '1'
FAILED at test 20

lib/Term/UI/t/00_load.........................................ok
pp.c:(.text+0x9eb1): undefined reference to `ceil'
../libperl.a(pp.o): In function `Perl_pp_sin':
pp.c:(.text+0xa0d5): undefined reference to `sin'
pp.c:(.text+0xa191): undefined reference to `sqrt'
pp.c:(.text+0xa22f): undefined reference to `cos'
pp.c:(.text+0xa247): undefined reference to `log'
pp.c:(.text+0xa25f): undefined reference to `exp'
../libperl.a(pp.o): In function `Perl_pp_atan2':
pp.c:(.text+0xa3e0): undefined reference to `atan2'
../libperl.a(pp.o): In function `Perl_pp_modulo':
pp.c:(.text+0xc1fa): undefined reference to `floor'
pp.c:(.text+0xc25b): undefined reference to `fmod'
pp.c:(.text+0xc430): undefined reference to `floor'
../libperl.a(pp.o): In function `Perl_pp_pow':
pp.c:(.text+0xc714): undefined reference to `pow'
../libperl.a(pp_pack.o): In function `S_pack_rec':
pp_pack.c:(.text+0x3dad): undefined reference to `floor'
pp_pack.c:(.text+0x3de1): undefined reference to `floor'
collect2: ld returned 1 exit status
FAILED at test 1
lib/ExtUtils/t/eu_command.....................................ok

lib/Term/UI/t/00_load.........................................ok
$v = uc;
$v = uc $m1;
$v = lc;
$v = lc $m1;

$v = quotemeta;
$v = quotemeta $m1;
EXPECTED:
Use of uninitialized value $m1 in crypt at - line 5.
Use of uninitialized value $g1 in crypt at - line 5.
Use of uninitialized value $_ in ord at - line 7.
Use of uninitialized value $m1 in ord at - line 8.
Use of uninitialized value $_ in chr at - line 9.
Use of uninitialized value $m1 in chr at - line 10.
Use of uninitialized value $_ in quotemeta at - line 22.
Use of uninitialized value $m1 in quotemeta at - line 23.
GOT:
The crypt() function is unimplemented due to excessive paranoia. at
- line 5.
# Failed at ../t/lib/common.pl line 190
FAILED at test 251
t/Module_Pluggable/01use......................................ok

 My own results are
ext/DynaLoader/t/DynaLoader...................................ok

lib/Term/UI/t/00_load.........................................ok
lib/Term/UI/t/01_history......................................ok

lib/warnings..................................................ok

 As you say, it seems to not run some sort of 'make depend' on the
failing runs.  Both are i686-linux, but the comment about 'crypt()'
above sounds as if it is running on something different.  Searching
for the exact error message was briefly amusing (for me), but found
a man page:

 The crypt() function is unimplemented due to excessive paranoia
 (F) Configure couldn’t find the crypt() function on your machine,
 probably because your vendor didn’t supply it, probably because
 they think the U.S. Government thinks it’s a secret, or at least
 that they will continue to pretend that it is.  And if you quote
 me on that, I will deny it.

Do you have /mnt/lfs/usr/include/crypt.h ?

Is this a native build, or are you running in a vm ?

What is your host system, and which kernel is it running ?

ĸen
-- 
das eine Mal als Tragödie, das andere Mal als Farce



More information about the lfs-dev mailing list