Paul G Rogers wrote:
I'm building binutils in Ch6 and can't make binutils because there are no ptys. I've checked the things in the FAQ, and most seem OK. I depart from the book by installing /dev on the real FS, rather than a tempfs.
What exactly do you mean by that last sentence?
But I find one thing wrong that I don't know how to fix: CONFIG_DEVPTS is not available. The host is a LFS-4.1/2.4.31. That is too old, so to build Ch5 I took the linux-2.6.11.12 kernel in 6.1.1, and compiled that without modules as a "test" kernel. That's taken me this far. 8-) With the new kernel in it's own branch I ran make menuconfig, and what I've got is: #cat /usr/local/src/linux-2.6.11.12/.config # # Pseudo filesystems # CONFIG_PROC_FS=y CONFIG_PROC_KCORE=y CONFIG_SYSFS=y CONFIG_DEVPTS_FS_XATTR=y <-- Where is CONFIG_DEVPTS=y ???? # CONFIG_DEVPTS_FS_SECURITY is not set CONFIG_TMPFS=y CONFIG_TMPFS_XATTR=y # CONFIG_TMPFS_SECURITY is not set # CONFIG_HUGETLBFS is not set # CONFIG_HUGETLB_PAGE is not set CONFIG_RAMFS=y Is make menuconfig somehow getting confused? Why don't I get to set DEVPTS? The issues mentioned in the FAQ seem OK, but I'm not sure about this kernel. Any suggestions?
I'm not seeing DEVPTS in my kernel config either, but I clearly have support for it. It's possible it's enabled by default on newer kernels. The most likely cause is that you simply didn't mount /dev/pts inside the chroot.
-- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
