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. 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 while the output of the "version_check" script is: bash, version 4.2.37(1)-release /bin/sh -> /bin/bash Binutils: (GNU Binutils for Debian) 2.22 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 (Debian 4.7.2-5) 4.7.2 g++ (Debian 4.7.2-5) 4.7.2 (Debian EGLIBC 2.13-38) 2.13 grep (GNU grep) 2.12 gzip 1.5 Linux version 3.2.0-4-486 ([email protected]) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 Debian 3.2.46-1 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 xz (XZ Utils) 5.1.0alpha g++ compilation OK libgmp.la: not found libmpfr.la: not found libmpc.la: not found I tried to re-execute the steps in chapter 5.29, to see if I missed something during the perl installation, but the problem is still there. Listing the content of the /tools/lib/perl5/5.18.2 show that both Encode.pm file and Encode folder are there. I even tried to run the perl test after the compilation (as mentioned in the final lines of the output after the "make" command), and everything looks fine.
-- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
