Receive error "These critical programs are missing or too old: gawk bison"
by obbie_05 from LinuxQuestions.org on (#6N6YV)
LFS v12.1 Chapter 5.5: glibc v2.39
Hi all! I am trying to run the "../configure"command with the required options to configure then make glibc. However, I keep on getting this error:
Code:checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for /mnt/LFS/tools/lib/gcc/x86_64-lfs-linux-gnu/13.2.0/../../../../x86_64-lfs-linux-gnu/bin/ld... /mnt/LFS/tools/lib/gcc/x86_64-lfs-linux-gnu/13.2.0/../../../../x86_64-lfs-linux-gnu/bin/ld
checking version of /mnt/LFS/tools/lib/gcc/x86_64-lfs-linux-gnu/13.2.0/../../../../x86_64-lfs-linux-gnu/bin/ld... 2.42, ok
checking for gnumake... no
checking for gmake... gmake
checking version of gmake... 4.3, ok
checking for gnumsgfmt... no
checking for gmsgfmt... no
checking for msgfmt... no
checking for makeinfo... no
checking for sed... sed
checking version of sed... 4.9, ok
checking for gawk... no
checking for bison... no
checking if x86_64-lfs-linux-gnu-gcc is sufficient to build libc... yes
checking for python3... python3
checking version of python3... 3.11.2, ok
configure: error:
*** These critical programs are missing or too old: gawk bison
*** Check the INSTALL file for required versions.So far, the only issue I thought could be the culprit was maybe the glibc Makefile wasn't expecting versions of gawk and bison so much newer than the glibc library itself. However, I don't want to go about changing Makefiles with no understanding of how they work. So that's why I'm posting here, looking for any advice on what the actual error may be.
Also, this is the output of my version-check.sh:
Code:OK: Coreutils 9.1 >= 8.1
OK: Bash 5.2.15 >= 3.2
OK: Binutils 2.40 >= 2.13.1
OK: Bison 3.8.1 >= 2.7
OK: Diffutils 3.8 >= 2.8.1
OK: Findutils 4.9.0 >= 4.2.31
OK: Gawk 5.3.0 >= 4.0.1
OK: GCC 12.2.0 >= 5.2
OK: GCC (C++) 12.2.0 >= 5.2
OK: Grep 3.8 >= 2.5.1a
OK: Gzip 1.12 >= 1.3.12
OK: M4 1.4.19 >= 1.4.10
OK: make 4.3 >= 4.0
OK: Patch 2.7.6 >= 2.5.4
OK: Perl 5.36.0 >= 5.8.8
OK: Python 3.11.2 >= 3.4
OK: Sed 4.9 >= 4.1.5
OK: Tar 1.34 >= 1.22
OK: Texinfo 7.1 >= 5.0
OK: Xz 5.4.1 >= 5.0.0
OK: Linux Kernel 6.1.0 >=4.19
OK: Coreutils 9.1 >= 8.1
OK: Linux Kernel supports UNIX 98 PTYAs far as I'm aware, all the prerequisites for building an LFS system were met before trying to configure glibc.
Hi all! I am trying to run the "../configure"command with the required options to configure then make glibc. However, I keep on getting this error:
Code:checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for /mnt/LFS/tools/lib/gcc/x86_64-lfs-linux-gnu/13.2.0/../../../../x86_64-lfs-linux-gnu/bin/ld... /mnt/LFS/tools/lib/gcc/x86_64-lfs-linux-gnu/13.2.0/../../../../x86_64-lfs-linux-gnu/bin/ld
checking version of /mnt/LFS/tools/lib/gcc/x86_64-lfs-linux-gnu/13.2.0/../../../../x86_64-lfs-linux-gnu/bin/ld... 2.42, ok
checking for gnumake... no
checking for gmake... gmake
checking version of gmake... 4.3, ok
checking for gnumsgfmt... no
checking for gmsgfmt... no
checking for msgfmt... no
checking for makeinfo... no
checking for sed... sed
checking version of sed... 4.9, ok
checking for gawk... no
checking for bison... no
checking if x86_64-lfs-linux-gnu-gcc is sufficient to build libc... yes
checking for python3... python3
checking version of python3... 3.11.2, ok
configure: error:
*** These critical programs are missing or too old: gawk bison
*** Check the INSTALL file for required versions.So far, the only issue I thought could be the culprit was maybe the glibc Makefile wasn't expecting versions of gawk and bison so much newer than the glibc library itself. However, I don't want to go about changing Makefiles with no understanding of how they work. So that's why I'm posting here, looking for any advice on what the actual error may be.
Also, this is the output of my version-check.sh:
Code:OK: Coreutils 9.1 >= 8.1
OK: Bash 5.2.15 >= 3.2
OK: Binutils 2.40 >= 2.13.1
OK: Bison 3.8.1 >= 2.7
OK: Diffutils 3.8 >= 2.8.1
OK: Findutils 4.9.0 >= 4.2.31
OK: Gawk 5.3.0 >= 4.0.1
OK: GCC 12.2.0 >= 5.2
OK: GCC (C++) 12.2.0 >= 5.2
OK: Grep 3.8 >= 2.5.1a
OK: Gzip 1.12 >= 1.3.12
OK: M4 1.4.19 >= 1.4.10
OK: make 4.3 >= 4.0
OK: Patch 2.7.6 >= 2.5.4
OK: Perl 5.36.0 >= 5.8.8
OK: Python 3.11.2 >= 3.4
OK: Sed 4.9 >= 4.1.5
OK: Tar 1.34 >= 1.22
OK: Texinfo 7.1 >= 5.0
OK: Xz 5.4.1 >= 5.0.0
OK: Linux Kernel 6.1.0 >=4.19
OK: Coreutils 9.1 >= 8.1
OK: Linux Kernel supports UNIX 98 PTYAs far as I'm aware, all the prerequisites for building an LFS system were met before trying to configure glibc.