On Sun, Jul 12, 2020 at 05:36:09PM -0000, Hans Malissa wrote:
> I'm working my way through LFS 9.1-systemd, and I'm stuck in chapter 5.33 
> Texinfo 
> (http://www.linuxfromscratch.org/lfs/view/stable-systemd/chapter05/texinfo.html):
> 
> 
> $ ./configure --prefix=/tools
> checking for a BSD-compatible install... /tools/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... /tools/bin/mkdir -p
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking whether make supports nested variables... yes
> checking whether UID '1000' is supported by ustar format... yes
> checking whether GID '1000' is supported by ustar format... yes
> checking how to create a ustar tar archive... gnutar
> checking for perl... /tools/bin/perl
> checking Perl version and modules... no
> configure: error: perl >= 5.7.3 with Encode and Data::Dumper required by 
> Texinfo.
> 
> 
> 
> Something seems to be wrong with my Perl installation. I've been following 
> the instructions in 5.29 
> (http://www.linuxfromscratch.org/lfs/view/stable-systemd/chapter05/perl.html) 
> exactly, with the only exception that I used Perl-5.30.3 as described in the 
> Errata page (http://www.linuxfromscratch.org/lfs/errata/stable-systemd/).
> Not sure what is wrong here. I've built LFS many times before, but I've never 
> seen this particular error.
> Thanks a lot,
> 
> 
> Hans

Hi Hans,

some general suggestions to help you debug the problem:

$/tools/bin/perl --version

That checks if perl is installed and runnable.  If it is not, maybe

$ldd /tools/bin/perl

If perl is working, in /tools/lib/perl5/5.30.3/ you should see
Encode.pm and and Encode/directory with various modules, and
similarly /tools/lib/perl5/5.30.3/Data/Dumper.pm

If those are present you will need to look at config.log and see
what it tested for (a few lines above 'checking Perl version and
modules'.

ĸen
-- 
       He died at the console, of hunger and thirst.
       Next day he was buried, face-down, nine-edge first.
                              - the perfect programmer
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to