[Keystone Slip #48] pt_chown get's not installed

lfs-book at linuxfromscratch.org lfs-book at linuxfromscratch.org
Wed Mar 28 10:31:46 PST 2001


---------------------------------------------------------------------------
Slip number -----: 48 (pt_chown get's not installed)
Contact ---------: None
Problem ---------: pt_chown get's not installed
Opened by -------: balu (Thomas Walter) on 03/28/2001 05:58
Assigned To -----: balu (Thomas Walter)
Current Status --: A (Active)
---------------------------------------------------------------------------
Summary:
I think the reason that "pt_chown" do not get installed on LFS 3.0
when installing glibc 2.2.1 is that it wan't to be owned by "root".
And "root" is not available until after glibc is installed.
 
This should correct it: (>  add; <  remove)
 
      sed s,"\$(PERL)","/usr/bin/perl", \
         ../glibc-2.2.1/malloc/Makefile > tmp~
      mv tmp~ ../glibc-2.2.1/malloc/Makefile
>   sed s/"-m 4755 -o root"/"-m 4755 -o 0"/ \
>       ../glibc-2.2.1/login/Makefile > tmp~
>   mv tmp~ ../glibc-2.2.1/login/Makefile
     ../glibc-2.2.1/configure --prefix=/usr --enable-add-ons \
        --libexecdir=/usr/bin
      sed s/"cross-compiling = yes"/"cross-compiling = no"/ \
         config.make > config.make~
     mv -f config.make~ config.make
     make
     make install                               
     make localedata/install-locales
<   cp login/pt_chown /usr/bin
<   chmod 4755 /usr/bin/pt_chown
 
After this "pt_chown" are installed as 4755 in /usr/bin (and so is "mtrace").

---------------------------------------------------------------------------
History:
03/28/2001 13:30 by balu:
Status changed to Closed
Changed the book to this as I think fixing the error is better than doing it manually...
---------------------------------------------------------------------------


          Full information on this slip is available at:
http://bugtrack.linuxfromscratch.org/visitor.php3?sid=48&v_func=zoom

---------------------------------------------------------------------------
This message was generated automatically by Keystone at http://www.linuxfromscratch.org






More information about the lfs-book mailing list