linuxubuntulinux-from-scratch

error in make check of pkg-config of lfs 6.5


I am building LFS based on LFS 6.5 book,in my ubuntu 11.10. I got test suite failed message when installing pkg-config in chapter 6.17. The error is in file pkg-config-0.23/check/common line number 20, syntax error near unexpected token ). No such problem is reported before. I am really stuck in this section.


Solution

  • This looks like a problem in a test script. You can try one of the following:

    1. leave out the step "make check" from the instructions and continue with "make install".
    2. use a newer version of the pkg-config package (go to the "stable" version of lfs and get the pkg-config package from the instructions there.

    BTW: Why are you using LFS 6.5? The current stable version is LFS 7.2.