Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
- Which LFS version are you trying to build,
- Are we talking about chapter 6.22 Util-linux-2.21.2,
- Did you have any problems in the previous chapters,
- Post the error and a few lines before it (re-read this chapter: 1.5 - Help
I'm really sorry, you're right. I am using LFS 7.2, chapter 6.22.1 Util-Linux 2.21.2, and no errors were found in the previous steps. Dummy.c and all the connected tests in the book went fine. The code last output lines are:
Quote:
checking for strnlen... yes
checking for strtoull... yes
checking for sysconf... yes
checking for updwtmp... yes
checking for usleep... yes
checking for warn... yes
checking for warnx... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for openat... yes
checking for fstatat... yes
checking for unlinkat... yes
checking for ioperm... yes
checking for iopl... yes
checking for struct sockaddr.sa_len... no
checking for library containing gethostbyname... none required
checking for library containing socket... none required
checking for dirfd... yes
checking whether program_invocation_short_name is defined... yes
checking whether __progname is defined... yes
checking whether the target supports thread-local storage... yes
checking scanf string alloc modifiers... (%ms) yes
checking for openpty in -lutil... yes
checking for tgetnum in -ltermcap... no
checking for union semun... no
checking for loff_t... yes
checking for cpu_set_t... yes
checking whether CPU_ALLOC is declared... yes
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking for udev_new in -ludev... no
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking for initscr in -lncursesw... yes
checking ncursesw/ncurses.h usability... no
checking ncursesw/ncurses.h presence... no
checking for ncursesw/ncurses.h... no
checking ncurses/ncurses.h usability... no
checking ncurses/ncurses.h presence... no
checking for ncurses/ncurses.h... no
checking for tgetent in -ltinfo... no
checking for syscall fallocate... SYS_fallocate
checking for valid fallocate() function... yes
checking for syscall unshare... SYS_unshare
checking for unshare... yes
checking for crc32 in -lz... yes
checking for syscall prlimit64... SYS_prlimit64
checking for prlimit... yes
checking for syscall pivot_root... SYS_pivot_root
configure: error: login selected, but required PAM header file not available
You're right. To be honest, I haven't notice the difference: I downloaded the packages from LFS repository and i thought they're perfect..not only this, use md5sum to check packages made no errors. I hope using the previous Util would be enough.. I'll tell you..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.