Here's attached the original email I sent to faq list.

With best wishes,
Friendly,
Luca
--- Begin Message ---
Hi all!

In Faq, point General compilation errors there's a "Glibc compilation
errors out due to a missing nss.h header file".
Following the link points to:

Glibc compilation errors out due to a missing nss.h header file

    This usually indicates that you are compiling LFS onto a Reiser4
partition. Unfortunately, there is currently no known solution, other
than to use a different type of filesystem.


Actually this answer is not fully correct. It's possible to compile LFS
natively on a Reiser4 partition at some extra costs:

Host system should support Reiser4 file-system (latest official patch
for Reiser4 is for linux kernel 2.6.18.3, in case booting with grub of
host-system, libaal, reiser4progs and libreiser4 must be installed, grub
must be re-installed after patching it to support Reiser4 (patch found
at official NAMESYS site), reiser4progs needed, if a Reiser4 partition
was created with mkfs.reiser4 version < 1.0.0, must be run
debugfs.reiser4 -C device, fsck.reiser4 device.
After that the build order must be changed a little:

Chapter 5. Constructing a Temporary System:
Linux-Headers
Binutils-2.17 - Pass 1
Glibc-Headers
GCC-4.1.1 - Pass1
Glibc-2.5
and then proceeding normally.

LFS-kernel must be patched for Reiser4.
If booting from LFS-grub libaal, reiser4progs and libreiser4 must be
installed before grub and grub must be patched to support Reiser4.

Just to be sure Glibc-Headers could be installed after linux-headers on
final system.

Following this way I'm building all my LFS systems natively on Reiser4
partitions; anyway, obviously, before, eventually, modifying the FAQ
feel free to try and test.


Bye,
Luca


--- End Message ---
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to