Hi, Sorry if I am asking a stupid question. I am building LFS 7.6 systemd following the LFS book and so far so good. However when I was building intltool I encountered the following error:
./configure --prefix=/usr ... checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool However I believe I have already followed the step in the book to install XML::Parser 2.42_01. To be sure I tried to install XML:Parser again following the instructions but still no success. I then removed the >/dev/null part in the configure file of intltool so I could get a better information what went wrong. I ran ./configure --prefix=/usr again in intltool directory and now I had checking for XML::Parser... Can't load module XML::Parser::Expat, dynamic loading not available in this perl. (You may need to build a new perl executable which either supports dynamic loading or has the XML::Parser::Expat module statically linked into it.) at /tools/lib/perl5/site_perl/5.20.0/x86_64-linux/XML/Parser.pm line 18. Compilation failed in require at /tools/lib/perl5/site_perl/5.20.0/x86_64-linux/XML/Parser.pm line 18. BEGIN failed--compilation aborted at /tools/lib/perl5/site_perl/5.20.0/x86_64-linux/XML/Parser.pm line 22. Compilation failed in require at -e line 1. configure: error: XML::Parser perl module is required for intltool So I solved this problem by rebuilding the perl package. I wonder if I did anything wrong or the perl-rebuilding is supposed to be done in case of such error. I saw similar issues on gentoo forum which required a perl-cleaner script. If latter than should we add a note in the LFS book to warn anyone who ran into this problem to rebuild perl (or a better solution)? Also I want to report that there is a possible typo in the book (I am not very sure if I should report it somewhere else so please forgive me if I should): Page 216, section 6.65.2 Installation of Util-linux --docdir=/usr/share/doc/util-linx-2.25.1 I think it should be util-linux. Also, on page 130, please wrap the line ln -sfv ../../libexec/gcc/$(gcc -dumpmachine)/4.9.1/liblto_plugin.so ... the "plugin" seems to be trimmed off from the page... Thanks, Peng
-- 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