I installed libffi-3.0.13 in chroot using destdir method
with which I'm not familiar. I did
make DESTDIR=${fakeroot} install
cd ${fakeroot}
sudo bash -c "tar cf - . | (cd / ; tar xf - --no-same-owner)"
as the LFS fakeroot hint suggests
(I added 'sudo bash -c' and --no-same-owner).
That broke compiler because libffi installed it's libs in
$DESTDIR/usr/lib64 directory
and tar replaced the /usr/lib64 symlink with the directory.
I also tried to do those as root,
withought sudo and --no-same-owner, but nothing changed.
I added -h (--dereference) option to tar xf and that fixed the problem.
Did someone else have that? Will the constant use of -h option to tar
cause other problems? Is there another - more reliable maybe - way
to place files on / ?
Thanks
--
Thanos
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page