[lfs-support] LFS - 5.29 - perl-5.14.2 - possible errata - solved

jasonpsage at jegas.com jasonpsage at jegas.com
Mon Jan 9 05:52:18 PST 2012


Bruce, I THINK I solved the Perl Script issue.

I added one more chown to the previously made /tools

I'm not sure but I hope it's a reasonable move. I checked and I am
logged in as the suggest users. This fix did allow me to set the perl
section back to the original.

Here is the new Changes

Logged in as root here...
PASTE ------------- BEGIN
#------------------------------------------------------------------------------
# 4.3 - Granting lfs full access to Tools and Sources
#------------------------------------------------------------------------------
echo PLEASE WAIT WHILE OWNERSHIP TRANSFERRED to user: lfs
chown -R lfs $LFS/sources
chown -R lfs $LFS/tools
chown -R lfs $LFS/lfs7
# purposely no LFS - hoping symlink made earlier is working
chown -R lfs /tools
#------------------------------------------------------------------------------
PASTE ------------- END

And now how I do the perl section in question (back to stock)

logged in as lfs via su - lfs here
PASTE ------------- BEGIN
#-----------------------------------------------------
echo 5.29 - perl-5.14.2
#$LFS/lfs7/Jegas/readline
#-----------------------------------------------------
cd $LFS/sources/
echo Y | rm -R perl-5.14.2
tar -xjvf perl-5.14.2.tar.bz2
cd perl-5.14.2
patch -Np1 -i ../perl-5.14.2-libc-1.patch
#------------------------------------------------ERRATA CODE INJECTION
PATCH
patch -Np1 -i $LFS/lfs7/Jegas/errata_perl_codeinj.patch
#------------------------------------------------ERRATA CODE INJECTION
PATCH
sh Configure -des -Dprefix=/tools
make
cp -v perl cpan/podlators/pod2man /tools/bin
mkdir -pv /tools/lib/perl5/5.14.2
cp -Rv lib/* /tools/lib/perl5/5.14.2
#-----------------------------------------------------
PASTE ------------- END


Thanks for responding before - got me thinking. I hope the change is a
wise one.
--Jason




More information about the lfs-support mailing list