Hello!
I am relatively new to linux (have been sucessfully running ubuntu since Sept of 2009) and wanted to see how an OS works.
I am making an LFS disribution from a host Ubuntu Jaunty system.
Here is the output of the version check script from Chapter 1 of the LFS v6.6 book:
"ilia@ilia-laptop:~$ bash version-check.sh
bash, version 3.2.48(1)-release
/bin/sh -> /bin/dash
Binutils: (GNU Binutils for Ubuntu) 2.19.1
bison (GNU Bison) 2.3
/usr/bin/yacc -> /usr/bin/bison.yacc
bzip2, Version 1.0.5, 10-Dec-2007.
Coreutils: 6.10
diff (GNU diffutils) 2.8.1
find (GNU findutils) 4.4.0
GNU Awk 3.1.6
/usr/bin/awk -> /usr/bin/gawk
gcc (Ubuntu 4.3.3-5ubuntu4) 4.3.3
GNU C Library stable release version 2.9
GNU grep 2.5.3
gzip 1.3.12
Linux version 2.6.28-18-generic (buildd@rothera) (gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) ) #60-Ubuntu SMP Fri Mar 12 04:40:52 UTC 2010
m4 (GNU M4) 1.4.11
GNU Make 3.81
patch 2.5.9
Perl version='5.10.0';
GNU sed version 4.1.5
tar (GNU tar) 1.20
Texinfo: makeinfo (GNU texinfo) 4.11
Compilation OK"
I am at the first pass of installing BinUtils and the configuration and compilation seem to run fine (see logs below) but when I type "make install" I get the following error:
Code:
lfs@ilia-laptop:/mnt/lfs/sources/binutils-build$ make install
make[1]: Entering directory `/mnt/lfs/sources/binutils-build'
/bin/bash ../binutils-2.20/mkinstalldirs /tools /tools
mkdir -p -- /tools /tools
mkdir: cannot create directory `/tools': File exists
mkdir: cannot create directory `/tools': File exists
make[1]: *** [installdirs] Error 1
make[1]: Leaving directory `/mnt/lfs/sources/binutils-build'
make: *** [install] Error 2
Here's the link to the folder containing the config.log, MakeFile and config.status:
http://www.mediafire.com/?sharekey=2...c99885da44e881
Here's what I found about this error and I made sure to follow all the suggestions from these links but had no success anyway.
LFS mailing list:
http://www.linuxfromscratch.org/pipe...ry/035346.html
http://www.linuxfromscratch.org/pipe...ne/035855.html
This was cited in one of the mailing lists, if anyone could translate again what was said here that would be great:
http://www.absolinux.net/forums/ip.p...503e4f3da7406e
Now my questions are:
1) What is the source of the error?
2) How do I make sure the directory binutils is being installed to is actually located in /mnt/lfs as opposed to the root directory of my ubuntu system? I have made sure the variable LFS is /mnt/lfs. See the following:
Code:
lfs@ilia-laptop:~$ $LFS
bash: /mnt/lfs: is a directory