Error While Trying Build of Binutils (1st Attempt)
Hi, I'm trying again to build LFS but now I'm stymied at the 1st build attempt of binutils-2.21. After creating the binutils-build directory, when I attempt to configure I get the following output:
Code:
lfs:/mnt/lfs/sources/binutils-build$ ../binutils-2.21/configure \ |
Quote:
http://www.linuxfromscratch.org/lfs/.../hostreqs.html What was the output? |
Thank you crts - I neglected to verify that my host distro (openSUSE) met all of the host requirements. So far I've advanced to ch.6.1 and am now logged-in as root. I cannot seem to access the packages I downloaded. When I try to cd to them I get the following:
Quote:
|
Hi,
If you are now doing chapter 6 (6.4 and beyound) then you are inside a chrooted environment and the /mnt/lfs is no longer needed/wanted. From within the chrooted environment you cd to /sources, not $LFS/sources. Have another look here: 6.4. Entering the Chroot Environment Hope this helps. |
Thank you druuna, I've been here before but forgot how to reach packages while 'root'. I'm using version 6.8 of LFS manual. In the past you gave me advice on re-entering chapter 6 of the manual. One of the steps says "check if LFS is mounted: *df -h | grep $LFS*". Should I expect some output from that command? Once again, thank you very much for your help and patience.
|
Hi,
Quote:
Every time you restart working on chapter 6 you need to do the following (copy/pasted from the previous thread): Code:
- become root user Hope this helps. |
Thanks for the quick reply. I think I messed-up. When I re-entered ch.6, I didn't get any output from the 'mount' check but I proceeded and am now at ch.6.16. What action do you suggest I take?
|
Hi,
Quote:
Just to make sure (not sure if you understand looking at the bold part in the above quote): The df -h | grep $LFS should be executed before you enter the chrooted environment, not after (which would not give any output). |
Hi,
Here is what I did: (1) became root; (2) did "echo $LFS" - no output so entered 'export' command - re-did "echo $LFS" - output=/mnt/lfs (3) entered "df -h | grep $LFS" - no output (4) entered "mount" commands (5) entered "chroot" command. I'm currently running "make -k check" in GCC. No unanticipated errors so far (at para. 6.16). Do I need to start over at para. 6.4 (Entering Chroot Environment)? Thanks. |
That looks fine and there's no need to start over again, just continue.
|
Hi and thanks. I'm at para.6.18 and when I attempt to un-tar "pkg-config-0.25.tar.gz" I get the following error:
Quote:
|
Hi,
It probably is corrupt. Download it again and check your downloaded file with the md5 sum given on this page: 3.2. All Packages In case you don't know how, after downloading: Code:
$ md5sum pkg-config-0.25.tar.gz Hope this helps. |
Hi,
That file was corrupt. I removed it and downloaded another file and the md5sum checked out OK. I had some difficulty with the Shadow file. It didn't download when the other packages were downloaded. I found it via Google and downloaded it. I've been using openSUSE 11.4 as the host distro and am now having difficulty booting it. I have a multi-booted system with Win7, Ubuntu, Mint, PCLOS in addition to openSUSE. This morning I updated PCLinuxOS and after that I no longer show SUSE on the boot menu. Before this I booted all distros from openSUSE. I'm currently booted in openSUSE via Super Grub disk. Also openSUSE is installed on an external hard drive. Thanks for your help. As soon as I fix this boot problem I'll get back on LFS. Any suggestions on the boot problem will be appreciated. |
Hi,
You're welcome :) BYW: If you ever need an LFS package have a look here: LFS Packages (not yet updated for the new 6.8 version at the moment). |
Hi,
Thanks for the LFS Packages info. When I tried to chroot this morning I get the following error: Quote:
|
All times are GMT -5. The time now is 06:19 PM. |