On Sat, Jun 14, 2014 at 11:55:59PM +0100, Ken Moffat wrote:
> On Sat, Jun 14, 2014 at 06:38:18PM +0200, Stefano Stoduto wrote:
> > Hi, I'm trying to follow the lfs book for the first time and I'm having
> > some issues during the configure phase of the Texinfo package.
> > 
> > I looked in the mailing list archive, and the very same problem has been
> > reported here:
> > 
> > http://www.linuxfromscratch.org/pipermail/lfs-support/2014-April/046811.html
> > 
> > but, although the guys solved the problem for that instance, they didn't
> > actually come to a reason for it and I'm not being so lucky: the problem is
> > still there for me.
> > 
> 
>  We thought that perl was incorrectly installed in chapter 5, but in
> that first example we did not know the details of how it was wrong.

 Scrap the next two lines, I misread where you were, and corrected
the rest of my reply, but failed to remove these two lines.

> But now that I look at this, you are nearly at the end of chapter 6
> and so you are using the new version of perl in chroot.
> 

> > The version of the LFS book I'm reading is 7.5, and the problem came out in
> > chapter 5.32 when I execute the command:
> > 
> > ./configure --prefix=/tools
> > 
> > which gives the following output:
> > 
> > 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 '1002' is supported by ustar format... yes
> > checking whether GID '1002' 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 Encode module... no
> > configure: error: perl >= 5.7.3 with Encode required by Texinfo.
> > 
> > Executing the command "uname -a" on my host system will output:
> > 
> > Linux localhost 3.2.0-4-486 #1 Debian 3.2.46-1 i686 GNU/Linux
> > 
> 
>  The test in configure is:
> { $as_echo "$as_me:${as_lineno-$LINENO}: checking Perl version and
> Encode module" >&5
> $as_echo_n "checking Perl version and Encode module... " >&6; }
> if $PERL -e "use 5.007_003; use Encode;" > /dev/null 2>&1; then
>   perl_version_requirement='yes'
> else
>   perl_version_requirement='no'
> fi
> { $as_echo "$as_me:${as_lineno-$LINENO}: result:
> $perl_version_requirement" >&5
> $as_echo "$perl_version_requirement" >&6; }
> if test z"$perl_version_requirement" = 'zno' ; then
>   as_fn_error $? "perl >= 5.7.3 with Encode required by Texinfo."
> "$LINENO" 5
> fi
> 

 And the remaining questions *are* for your current position in
chapter 5 : -
> type -pa perl
> perl -e "use 5.007_003; use Encode;" ; echo $?
> perl --version | grep version
> (That last grep is because 5.18.2 outputs a total of 12 lines for
> the version information.)
> 
>  You say you have /bin/sh pointing to bash, which is correct.  Was
> it pointing to dash earlier in your build ?  Have you rebuilt perl
> to try to fix this ?  If so, did you remove the perl source and
> re-extract it ?
> 
> ĸen
> -- 
> Nanny Ogg usually went to bed early. After all, she was an old lady.
> Sometimes she went to bed as early as 6 a.m.
> -- 
> http://lists.linuxfromscratch.org/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page

-- 
Nanny Ogg usually went to bed early. After all, she was an old lady.
Sometimes she went to bed as early as 6 a.m.
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to