THANKS.........YOU ROCK!!!
Chris.

-----Original Message-----
From: Stephen Liu [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 19, 2005 6:41 AM
To: LFS Support List
Subject: Re: 5.3.1. Installation of Binutils


Hi Coneway,

- snip -
 
> When doing this command ,I should be in the tools
> directory correct?
> mkdir ../binutils-build
> cd ../binutils-build
> now the problem:
> 
> ../binutils-2.15.94.0.2.2/configure --prefix=/tools
> --disable-nls
> and I get the error message " No such file or
> directory. 
> Where should I be while doing this??? Or what did I
> miss??. I'm  logged in as Root, not lfs?

I also fell into this trick.  

I was following LFS 6.1 online book to build LFS 6.1;
5.3. Binutils-2.15.94.0.2.2 - Pass 1
http://www.linuxfromscratch.org/lfs/view/stable/chapter05/binutils-pass1.html

The book suggests to run;
mkdir ../binutils-build
cd ../binutils-build/
It goes to the Root environment of the Host.

Then running
"[EMAIL PROTECTED] binutils-build]#
../binutils-2.15.94.0.2.2/configure --prefix=/tools
--disable-nls
-bash: ../binutils-2.15.94.0.2.2/configure: No such
file or directory"
will be the result

The correct steps should be
[EMAIL PROTECTED] ~]# su - lfs
lfs:~$ cd $LFS/sources
after extracting the tarball
lfs:/mnt/lfs/sources$ mkdir binutils-build (this goes
to LFS environment)
lfs:/mnt/lfs/sources$ cd binutils-build/  (this also
goes to LFS environment)
lfs:/mnt/lfs/sources/binutils-build$
../binutils-2.15.94.0.2.2/configure --prefix=/tools
--disable-nls
It went through without complaint together with
following commands as well;
lfs:/mnt/lfs/sources/binutils-build$ make
lfs:/mnt/lfs/sources/binutils-build$ make install
lfs:/mnt/lfs/sources/binutils-build$ make -C ld clean
lfs:/mnt/lfs/sources/binutils-build$ make -C ld
LIB_PATH=/tools/lib

If you are building LFS 6.1 then the above steps will
work for you.

B.R.
Stephen Liu
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to