Starter Problem with Binutils.

spamtrap2 at noemail.com spamtrap2 at noemail.com
Sun Feb 6 15:57:48 PST 2005


On Sun, 6 Feb 2005 18:49:12 -0500
spamtrap2 at noemail.com wrote:

> On Sun, 06 Feb 2005 22:44:30 +0000
> Matthew Burgess <matthew at linuxfromscratch.org> wrote:
> 
> > spamtrap2 at noemail.com wrote:
> > > lfs at 0[binutils-build]$ ../binutils-2.14/configure --prefix=/tools --disable-nls
> > > bash: ../binutils-2.14/configure: No such file or directory
> > > lfs at 0[binutils-build]$ pwd
> > > /mnt/hdb7/build/binutils-build
> > > lfs at 0[binutils-build]$ 
> > 
> > So where is the binutils-2.14 directory then if it's not where it should 
> > be?  You did untar the binutils-2.14.tar.gz file didn't you?
> > 
> > In short:
> > 
> > cd /mnt/hdb7/build
> > tar -xzvf binutils-2.14.tar.gz
> > cd binutils-2.14
> > mkdir ../binutils-build
> > cd ../binutils-build
> > ../binutils-2.14/configure --prefix=/tools --disable-nls
> > 
> > Incidentally, and this isn't meant to sound rude, but you are expected 
> > to do a little troubleshooting yourself.  None of your problems so far 
> > should be beyond a reasonably experienced Linux user.  There's some 
> > prerequisites and useful links listed at 
> > http://www.linuxfromscratch.org/lfs/view/6.0/prologue/prerequisites.html.
> > 
> > Regards,
> > 
> > Matt.
> 
> 
> Did everything as adviced above. The first two lines below are the last two lines of binutils-2.14.tar.bz2 unzipping. Then the pwd command was used to show the present directory path. After that followed all steps as adviced. All output is shared below.
> 
> I will check the given site again. I have been a Linux user for 1.5 years now. I am missing something small but vital and hence the problems.
> 
> Sorry for any inconvenience.
> 
> Vijay
> 
> 
> binutils-2.14/texinfo/texinfo.tex
> binutils-2.14/md5.sum
> lfs at 0[build]$ pwd
> /mnt/hdb7/build
> lfs at 0[build]$ cd binutils-2.14
> lfs at 0[binutils-2.14]$ mkdir ../binutils-build
> mkdir: Cannot create directory `../binutils-build': Permission denied
> lfs at 0[binutils-2.14]$ sudo mkdir ../binutils-build
> lfs at 0[binutils-2.14]$ cd ../binutils-build
> lfs at 0[binutils-build]$ ../binutils-2.14/configure --prefix=/tools --disable-nls ../binutils-2.14/configure: line 422: ./config.log: Permission denied           lfs at 0[binutils-build]$ 
> 
> 
> 


REPORTING SUCCESS OF FIRST STEP BELOW !!! Here is what was missing. There were no write permissions for SEVERAL directories/files involved. I had to give the write permissions for them ALL !!!

Vijay

lfs at 0[binutils-build]$ ../binutils-2.14/configure --prefix=/tools --disable-nls
creating cache ./config.cache
checking host system type... i586-pc-linux-gnu
checking target system type... i586-pc-linux-gnu
checking build system type... i586-pc-linux-gnu
checking for i586-pc-linux-gnu-ar... no
checking for ar... ar
checking for i586-pc-linux-gnu-as... no
checking for as... as
checking for i586-pc-linux-gnu-dlltool... no
checking for dlltool... dlltool
checking for i586-pc-linux-gnu-ld... no
checking for ld... ld
checking for i586-pc-linux-gnu-nm... no
checking for nm... nm
checking for i586-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for i586-pc-linux-gnu-windres... no
checking for windres... windres
checking for i586-pc-linux-gnu-objcopy... no
checking for objcopy... objcopy
checking for i586-pc-linux-gnu-objdump... no
checking for objdump... objdump
checking for i586-pc-linux-gnu-ar... no
checking for ar... ar
checking for i586-pc-linux-gnu-as... no
checking for as... as
checking for i586-pc-linux-gnu-dlltool... no
checking for dlltool... dlltool
checking for i586-pc-linux-gnu-ld... no
checking for ld... ld
checking for i586-pc-linux-gnu-nm... no
checking for nm... nm
checking for i586-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for i586-pc-linux-gnu-windres... no
checking for windres... windres
checking whether to enable maintainer-specific portions of Makefiles... no
updating cache ./config.cache
creating ./config.status
creating Makefile
lfs at 0[binutils-build]$ 





More information about the lfs-support mailing list