LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   6.37. Perl-5.16.2 make: *** [pod/perlintern.pod] Error 2 (https://www.linuxquestions.org/questions/linux-from-scratch-13/6-37-perl-5-16-2-make-%2A%2A%2A-%5Bpod-perlintern-pod%5D-error-2-a-4175464417/)

potterius 06-01-2013 10:29 PM

6.37. Perl-5.16.2 make: *** [pod/perlintern.pod] Error 2
 
I've got a problem again when installing perl-5.16.2 on chapter 6.37
when I input make on terminal, and then output showing like this
Code:

FAILED at test 401
t/op/yadayada .................. ok
t/uni/attrs .................... skipped
t/uni/bless .................... ok
t/uni/cache .................... ok
t/uni/caller ................... ok
t/uni/chomp .................... skipped
t/uni/chr ...................... skipped
t/uni/class .................... ok
t/uni/eval ..................... ok
t/uni/fold ..................... ok
t/uni/goto ..................... ok
t/uni/greek .................... skipped
t/uni/gv ....................... ok
t/uni/labels ................... ok
t/uni/latin2 ................... skipped
t/uni/lex_utf8 ................. skipped
t/uni/lower .................... ok
t/uni/method ................... ok
t/uni/opcroak .................. ok
t/uni/overload ................. ok
t/uni/package .................. ok
t/uni/parser ................... ok
t/uni/readline ................. ok
t/uni/select ................... ok
t/uni/sprintf .................. ok
t/uni/stash .................... ok
t/uni/tie ...................... ok
t/uni/title .................... ok
t/uni/tr_7jis .................. skipped
t/uni/tr_eucjp ................. skipped
t/uni/tr_sjis .................. skipped
t/uni/tr_utf8 .................. skipped
t/uni/universal ................ ok
t/uni/upper .................... ok
t/uni/write .................... ok
Failed 18 tests out of 296, 93.92% okay.
        op/caller.t
        op/eval.t
        op/exec.t
        op/fork.t
        op/local.t
        op/magic.t
        op/ref.t
        op/runlevel.t
        op/sprintf2.t
        op/stash.t
        op/tie.t
        op/utftaint.t
        op/write.t
        re/pat.t
        run/fresh_perl.t
        run/runenv.t
        run/switchd.t
        run/switches.t
### Since not all tests were successful, you may want to run some of
### them individually and examine any diagnostic messages they produce.
### See the INSTALL document's section on "make test".
### You may have to set your dynamic library search path,
### LD_LIBRARY_PATH, to point to the build directory:
###  setenv LD_LIBRARY_PATH `pwd`; cd t; ./perl harness
###  LD_LIBRARY_PATH=`pwd`; export LD_LIBRARY_PATH; cd t; ./perl harness
###  export LD_LIBRARY_PATH=`pwd`; cd t; ./perl harness
### for csh-style shells, like tcsh; or for traditional/modern
### Bourne-style shells, like bash, ksh, and zsh, respectively.
u=2.31  s=0.22  cu=57.69  cs=5.10  scripts=296  tests=199446
make[1]: [minitest] Error 1 (ignored)
make[1]: Leaving directory `/sources/perl-5.16.2'
./miniperl -Ilib autodoc.pl
Can't locate strict.pm in @INC (@INC contains: /mnt/lfs/sources/perl-5.16.2/cpan/AutoLoader/lib /mnt/lfs/sources/perl-5.16.2/dist/Carp/lib /mnt/lfs/sources/perl-5.16.2/dist/Cwd /mnt/lfs/sources/perl-5.16.2/dist/Cwd/lib /mnt/lfs/sources/perl-5.16.2/dist/ExtUtils-Command/lib /mnt/lfs/sources/perl-5.16.2/dist/ExtUtils-Install/lib /mnt/lfs/sources/perl-5.16.2/cpan/ExtUtils-MakeMaker/lib /mnt/lfs/sources/perl-5.16.2/dist/ExtUtils-Manifest/lib /mnt/lfs/sources/perl-5.16.2/cpan/File-Path/lib /mnt/lfs/sources/perl-5.16.2/ext/re /mnt/lfs/sources/perl-5.16.2/dist/Term-ReadLine/lib /mnt/lfs/sources/perl-5.16.2/lib .) at autodoc.pl line 26.
BEGIN failed--compilation aborted at autodoc.pl line 26.
make: *** [pod/perlintern.pod] Error 2

bash version-check.sh
Code:

root@dewa:~# bash version-check.sh
bash, version 4.2.37(1)-release
/bin/sh -> /bin/bash
Binutils: (GNU Binutils for Ubuntu) 2.22.90.20120924
bison (GNU Bison) 2.5
/usr/bin/yacc -> /usr/bin/bison.yacc
bzip2,  Version 1.0.6, 6-Sept-2010.
Coreutils:  8.13
diff (GNU diffutils) 3.2
find (GNU findutils) 4.4.2
GNU Awk 4.0.1
/usr/bin/awk -> /usr/bin/gawk
gcc (Ubuntu/Linaro 4.7.2-2ubuntu1) 4.7.2
(Ubuntu EGLIBC 2.15-0ubuntu20.1) 2.15
grep (GNU grep) 2.12
gzip 1.5
Linux version 3.5.0-31-generic (buildd@aatxe) (gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1) ) #52-Ubuntu SMP Thu May 16 16:30:01 UTC 2013
m4 (GNU M4) 1.4.16
GNU Make 3.81
patch 2.6.1
Perl version='5.14.2';
GNU sed version 4.2.1
tar (GNU tar) 1.26
Texinfo: makeinfo (GNU texinfo) 4.13
xz (XZ Utils) 5.1.0alpha
gcc compilation OK

help me guys

potterius 06-02-2013 12:01 AM

I got a solution for this problem.
just remove direktory perl and extract again and then continue the step by step like LFS book on chapter 6.37 :D


All times are GMT -5. The time now is 01:04 PM.