Hi Andrew,

Tks for your advice.

> chown -R lfs /mnt/lfs/tools
> 
> That may fix the problem, but you shouldn't have
> installed anything in tools as root. 

Before running the command advised.

[EMAIL PROTECTED] ~]# ls -al /mnt/lfs/tools
total 100
drwxr-xr-x  13 lfs  root 4096 Jul 22 15:36 .
drwxr-xr-x   6 root root 4096 Jul 21 22:23 ..
drwxr-xr-x   2 lfs  lfs  4096 Jul 23 20:12 bin
drwxr-xr-x   2 lfs  lfs  4096 Jul 20 21:23 etc
drwxr-xr-x   4 lfs  lfs  4096 Jul 19 09:35
i686-pc-linux-gnu
drwxr-xr-x  24 lfs  lfs  4096 Jul 23 20:12 include
drwxr-xr-x   2 root root 4096 Jul 23 10:18 info
drwxr-xr-x   9 lfs  lfs  4096 Jul 23 20:12 lib
drwxr-xr-x   4 lfs  lfs  4096 Jul 21 17:47 libexec
drwxr-xr-x   3 root root 4096 Jul 22 15:36 man
drwxr-xr-x   2 lfs  lfs  4096 Jul 21 18:37 sbin
drwxr-xr-x  15 lfs  lfs  4096 Jul 21 18:17 share
drwxr-xr-x   2 lfs  lfs  4096 Jul 21 13:03 var


Then
[EMAIL PROTECTED] ~]# chown -R lfs /mnt/lfs/tools
[EMAIL PROTECTED] ~]# ls -al /mnt/lfs/tools
total 100
drwxr-xr-x  13 lfs  root 4096 Jul 22 15:36 .
drwxr-xr-x   6 root root 4096 Jul 21 22:23 ..
drwxr-xr-x   2 lfs  lfs  4096 Jul 23 20:12 bin
drwxr-xr-x   2 lfs  lfs  4096 Jul 20 21:23 etc
drwxr-xr-x   4 lfs  lfs  4096 Jul 19 09:35
i686-pc-linux-gnu
drwxr-xr-x  24 lfs  lfs  4096 Jul 23 20:12 include
drwxr-xr-x   2 lfs  root 4096 Jul 23 10:18 info
drwxr-xr-x   9 lfs  lfs  4096 Jul 23 20:12 lib
drwxr-xr-x   4 lfs  lfs  4096 Jul 21 17:47 libexec
drwxr-xr-x   3 lfs  root 4096 Jul 22 15:36 man
drwxr-xr-x   2 lfs  lfs  4096 Jul 21 18:37 sbin
drwxr-xr-x  15 lfs  lfs  4096 Jul 21 18:17 share
drwxr-xr-x   2 lfs  lfs  4096 Jul 21 13:03 var

drwxr-xr-x   6 root root 4096 Jul 21 22:23 ..
still remained unchanged

Removed perl-5.8.6 and redo
Section 5.32. Perl-5.8.6
http://www.linuxfromscratch.org/lfs/view/stable/chapter05/perl.html

All steps there went throught without complaint except
last step;

lfs:/mnt/lfs/sources/perl-5.8.6$ cp -R lib/*
/tools/lib/perl5/5.8.6
cp: cannot create regular file
`/tools/lib/perl5/5.8.6/AnyDBM_File.pm': Permission
denied
cp: cannot create regular file
`/tools/lib/perl5/5.8.6/AnyDBM_File.t': Permission
denied
....

Problme still remained unsolved.

> If you're
> compiling and installing things as root you could
> screw up your host system. You should follow the
> book and compile the stuff in tools as the user lfs.

I was following the LFS 6.1 building LFS and
maintaining a Notes taking down all steps performed. 
The PC, Host, was frequently turning on and off
because I was not allowed leaving it switched on when
I was away.  Such practice may increase mistake
committed.

B.R.
Stephen
-- 
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