Sorry about the typo, I made it when typing the email not entering the command.

I think you may have found something:

spencer@spencer-desktop:~$ file /tools
/tools: directory


And:

spencer@spencer-desktop:~$ ls -l /
total 100
drwxr-xr-x   2 root root  4096 2011-03-25 07:00 bin
drwxr-xr-x   3 root root  4096 2011-03-30 16:36 boot
drwxr-xr-x   2 root root  4096 2011-01-09 19:16 cdrom
drwxr-xr-x  18 root root  3880 2011-04-02 06:06 dev
drwxr-xr-x 145 root root 12288 2011-04-02 06:12 etc
drwxr-xr-x   4 root root  4096 2011-03-31 19:29 home
lrwxrwxrwx   1 root root    33 2011-03-18 06:46 initrd.img -> 
boot/initrd.img-2.6.35-28-generic
lrwxrwxrwx   1 root root    33 2011-03-02 07:18 initrd.img.old -> 
boot/initrd.img-2.6.35-27-generic
drwxr-xr-x  15 root root 12288 2011-04-01 18:51 lib
drwx------   2 root root 16384 2011-01-09 19:10 lost+found
drwxr-xr-x   3 root root  4096 2011-04-02 06:06 media
drwxr-xr-x   3 root root  4096 2011-04-01 00:06 mnt
drwxr-xr-x   4 root root  4096 2011-03-29 18:55 opt
dr-xr-xr-x 143 root root     0 2011-04-01 23:05 proc
drwx------  20 root root  4096 2011-04-01 06:40 root
drwxr-xr-x   2 root root  4096 2011-03-02 06:26 sbin
drwxr-xr-x   2 root root  4096 2010-05-09 08:54 selinux
drwxr-xr-x   3 root root  4096 2011-01-24 17:20 srv
drwxr-xr-x  12 root root     0 2011-04-01 23:05 sys
drwxrwxrwt  12 root root  4096 2011-04-02 06:25 tmp
drwxr-xr-x   6 lfs  root  4096 2011-03-31 21:22 tools
drwxr-xr-x  11 root root  4096 2011-02-21 19:09 usr
drwxr-xr-x  14 root root  4096 2010-10-07 09:12 var
lrwxrwxrwx   1 root root    30 2011-03-18 06:46 vmlinuz -> 
boot/vmlinuz-2.6.35-28-generic
lrwxrwxrwx   1 root root    30 2011-03-02 07:18 vmlinuz.old -> 
boot/vmlinuz-2.6.35-27-generic



I'm not sure if it helps or not but:

ls /tools
bin  i686-lfs-linux-gnu  lib  share


Should the above be in /mnt/lfs/tools and not in /tools?
And when I try to overwrite the existing symlink I get:

spencer@spencer-desktop:~$ ln -svf /mnt/lfs/tools /
ln: `/tools': cannot overwrite directory

Thanks For Your Help



________________________________

On Fri, 1 Apr 2011 22:12:29 -0700 (PDT)
Spencer Boyd <[email protected]> wrote:

> I think the problem is the link between (in my case)
> /mnt/lfs/tools and /.  This is because when I run:
> 
> pl -sv /mnt/lfs/tools /
> 
> it returns
> 
> ln: creating symbolic link `/tools': File exists
> 

I get:

andy:~$ pl -sv /mnt/lfs/tools /
bash: pl: command not found

I'm guessing you made a typo when you entered the command the first
time? Copy and paste helps to avoid typos.

> I'm not sure if this will help but when I run
> ls -ali in /mnt/lfs/tools it returns:
> 
> total 8
> 360449 drwxr-xr-x 2 root root 4096 2011-04-01 21:18 .
>      2 drwxr-xr-x 6 lfs  root 4096 2011-04-01 21:18 ..
> 

You could find out where /tools is pointing:

file /tools
ls -l /

Or you could just force ln to replace the existing symlink:
ln -svf /mnt/lfs/tools /

Andy
--

Original email:


Sorry I forgot to say, I compiled it as well as installed it and nothing in 
/tools.

Sorry for not including this in the first email.


________________________________
To: "[email protected]" <[email protected]>
Sent: Friday, April 1, 2011 10:12 PM
Subject: Re: Binutils First Round


Hello,
First off I would like to say sorry for filling everyone's inbox with this 
probably fundamental question.  I have looked all around for an answer 
and have failed to find one.  Here it goes.  I'm pretty sure after 
compiling the first round of binutils /tools should have something in 
it.  I tried compiling the source twice and both times the build 
outputed to binutils-build in source.  I think the problem is the link 
between (in my case) /mnt/lfs/tools and /.  This is because when I run:

pl -sv /mnt/lfs/tools /

it returns

ln: creating symbolic link `/tools': File exists

I'm not sure if this will help but when I run ls -ali in /mnt/lfs/tools it 
returns:

total 8
360449 drwxr-xr-x 2 root root 4096 2011-04-01 21:18 .
     2 drwxr-xr-x 6 lfs  root 4096 2011-04-01 21:18 ..

Any help would be appreciated, this is my first time trying to build LFS. 
-- 
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