v9.0 systemd - Chptr 6.21: GCC build - Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+
Here is the complete error:
Quote:
I went back over those three packages again just in case I made an error. Even the checks all came out all okay. Any ideas on what I may have missed to cause this? Thanks! |
You don't install them, you extract them into the gcc source directory and drop them into generically labeled directories:
Code:
tar -xf ../mpfr-4.0.2.tar.xz Pay close attention to the Note at the top: http://www.linuxfromscratch.org/lfs/...gcc-pass1.html |
That is not what the book says to do
http://www.linuxfromscratch.org/lfs/...ter06/gcc.html http://www.linuxfromscratch.org/lfs/...ter06/gmp.html http://www.linuxfromscratch.org/lfs/...er06/mpfr.html http://www.linuxfromscratch.org/lfs/...ter06/mpc.html I also have completed version 8.4, in which I have kept a step-by-step log, and the steps are nearly identical to version 9 Thanks for taking the time to respond though! |
Oops, missed the chapter number in the title. What happens if you go ahead and specify the locations with the suggested options?
|
That's the thing. Since /usr is the prefix, looking there, I am not finding any of them using find.
|
Okay, all the files are there:
Code:
(lfs chroot) root:/sources/gcc-9.2.0/build# ls /usr/lib I tried adding in --with-gmp=/usr/lib --with-mpfr=/usr/lib --with-mpc=/usr/lib and --with-gmp=/usr --with-mpfr=/usr --with-mpc=/usr I am still getting: Quote:
|
You are missing libmpc. Try to (re)install mpc-1.1.0 as in the book after gmp and mpfr.
See: https://packages.slackware.com/?r=sl...0-i586-2.txz&f and in the book: 6.19.2. Contents of MPC Installed Libraries: libmpc.so |
Yes. one of the requirements was missing. I finally looked in the config.log to see what I was missing.
Thanks! |
For posterity... where is config.log?
|
It's a log created in the build directory by a package's configure script. Very useful for troubleshooting if a build goes wrong.
|
All times are GMT -5. The time now is 11:44 AM. |