Re: Psmisc-22.10 broken symlink

2010-03-30 Thread Philippe Delavalade
Le mardi 30 mars à 07:05, Rick Shelton a écrit :
 
 I think I found a little problem with the instructions in the book here.
 
 LFS 6.6
 Ch 6.52. Psmisc-22.10
 
 
 ./configure --prefix=/usr
 make
 make install
 ln -sv killall /bin/pidof
 
 root:/sources/psmisc-22.10# ln -sv killall /bin/pidof
 `/bin/pidof' - `killall'
 root:/sources/psmisc-22.10# ls -l /bin/killall
 ls: cannot access /bin/killall: No such file or directory
 root:/sources/psmisc-22.10# file /bin/pidof
 /bin/pidof: broken symbolic link to `killall'
 
 
 The same problem is in the current development version of the book also.
 
 To address the issue, I moved /usr/bin/killall to /bin/ before running
 the link command.
 
 

As to me (svn-20100301), /bin/pidof is a link to /sbin/killall5 but I
installed sysvinit... So I didn't create the symlink to /bin/killall.

-- 
Ph. Delavalade

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


Re: Psmisc-22.10 broken symlink

2010-03-30 Thread Chris Staub
On 03/30/2010 01:05 AM, Rick Shelton wrote:
 I think I found a little problem with the instructions in the book here.

 LFS 6.6
 Ch 6.52. Psmisc-22.10


 ./configure --prefix=/usr
 make
 make install
 ln -sv killall /bin/pidof

 root:/sources/psmisc-22.10# ln -sv killall /bin/pidof
 `/bin/pidof' -  `killall'
 root:/sources/psmisc-22.10# ls -l /bin/killall
 ls: cannot access /bin/killall: No such file or directory
 root:/sources/psmisc-22.10# file /bin/pidof
 /bin/pidof: broken symbolic link to `killall'


 The same problem is in the current development version of the book also.

 To address the issue, I moved /usr/bin/killall to /bin/ before running
 the link command.


 ~rick

This is because Psmisc had an --exec-prefix option which was removed 
recently - killall *was* installed into /bin, but no longer is. Looks 
like an Errata entry is needed...
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Psmisc-22.10 broken symlink

2010-03-29 Thread Rick Shelton
I think I found a little problem with the instructions in the book here.

LFS 6.6
Ch 6.52. Psmisc-22.10


./configure --prefix=/usr
make
make install
ln -sv killall /bin/pidof

root:/sources/psmisc-22.10# ln -sv killall /bin/pidof
`/bin/pidof' - `killall'
root:/sources/psmisc-22.10# ls -l /bin/killall
ls: cannot access /bin/killall: No such file or directory
root:/sources/psmisc-22.10# file /bin/pidof
/bin/pidof: broken symbolic link to `killall'


The same problem is in the current development version of the book also.

To address the issue, I moved /usr/bin/killall to /bin/ before running
the link command.


~rick
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page