Using the current Ubuntu LTS live cd LFS 10.1 fails at step 7.7
by djwelch from LinuxQuestions.org on (#5MAG2)
Hi, I'm trying to install LFS for the first time. I'm using the ubuntu lts live cd and I've tried twice but I get a failure at step 7.7.
The step is failing at the configure command because it cannot find libopcodes.
I ran through again playing close attention to the steps and got the same error.
Then I went back to the binutils pass 2 step (6.17) and this time configured without the Code:--enable-64-bit-bfd switch. Now the libopcodes libraries were built and installed and I could proceed from that step onwards again.
I also tried explictly enabling the building of opcodes and bfd with Code:--enable-shared=bfs,opcodes but then I got an error around position independent code.
My version check is:
Code:ubuntu@ubuntu:~$ ./version-check.sh
bash, version 5.0.17(1)-release
/bin/sh -> /usr/bin/bash
Binutils: (GNU Binutils for Ubuntu) 2.34
bison (GNU Bison) 3.5.1
/usr/bin/yacc -> /usr/bin/bison
bzip2, Version 1.0.8, 13-Jul-2019.
Coreutils: 8.30
diff (GNU diffutils) 3.7
find (GNU findutils) 4.7.0
GNU Awk 5.0.1, API: 2.0 (GNU MPFR 4.0.2, GNU MP 6.2.0)
/usr/bin/awk -> /usr/bin/gawk
gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
g++ (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
(Ubuntu GLIBC 2.31-0ubuntu9.2) 2.31
grep (GNU grep) 3.4
gzip 1.10
Linux version 5.8.0-43-generic (buildd@lcy01-amd64-018) (gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #49~20.04.1-Ubuntu SMP Fri Feb 5 09:57:56 UTC 2021
m4 (GNU M4) 1.4.18
GNU Make 4.2.1
GNU patch 2.7.6
Perl version='5.30.0';
Python 3.8.5
sed (GNU sed) 4.7
tar (GNU tar) 1.30
texi2any (GNU texinfo) 6.7
xz (XZ Utils) 5.2.4
g++ compilation OKI'm continuing on the process for now, and we'll see if I get a working system at the end.
The step is failing at the configure command because it cannot find libopcodes.
I ran through again playing close attention to the steps and got the same error.
Then I went back to the binutils pass 2 step (6.17) and this time configured without the Code:--enable-64-bit-bfd switch. Now the libopcodes libraries were built and installed and I could proceed from that step onwards again.
I also tried explictly enabling the building of opcodes and bfd with Code:--enable-shared=bfs,opcodes but then I got an error around position independent code.
My version check is:
Code:ubuntu@ubuntu:~$ ./version-check.sh
bash, version 5.0.17(1)-release
/bin/sh -> /usr/bin/bash
Binutils: (GNU Binutils for Ubuntu) 2.34
bison (GNU Bison) 3.5.1
/usr/bin/yacc -> /usr/bin/bison
bzip2, Version 1.0.8, 13-Jul-2019.
Coreutils: 8.30
diff (GNU diffutils) 3.7
find (GNU findutils) 4.7.0
GNU Awk 5.0.1, API: 2.0 (GNU MPFR 4.0.2, GNU MP 6.2.0)
/usr/bin/awk -> /usr/bin/gawk
gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
g++ (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
(Ubuntu GLIBC 2.31-0ubuntu9.2) 2.31
grep (GNU grep) 3.4
gzip 1.10
Linux version 5.8.0-43-generic (buildd@lcy01-amd64-018) (gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #49~20.04.1-Ubuntu SMP Fri Feb 5 09:57:56 UTC 2021
m4 (GNU M4) 1.4.18
GNU Make 4.2.1
GNU patch 2.7.6
Perl version='5.30.0';
Python 3.8.5
sed (GNU sed) 4.7
tar (GNU tar) 1.30
texi2any (GNU texinfo) 6.7
xz (XZ Utils) 5.2.4
g++ compilation OKI'm continuing on the process for now, and we'll see if I get a working system at the end.