[email protected] wrote:
Just finished my 64bit-only LFS 7.6 and preparing to begin BLFS chapter 3. My first step includes establishing a capability for copy/paste and downloading files to follow BLFS chapter 3 and beyond and there seems to be two options for achieving this. One is to install openssh/openssl and access the new BLFS system from a second machine with a desktop, or (2). Install GPM, Lynx, wget [as described at the end of the LFS 6.6 book] and use the BLFS terminal window. The first option seemed preferable and since openssl is common to both approaches I attempted to install openssl-1.0.1i first.
Many users continue to build BLFS packages in chroot as Ken mentioned, but there are some drawbacks in that you are still using the host's kernel and /dev. I personally prefer the openssh method, but build a few packages in chroot: lsb-release (for my scripts), sudo, which, openssl, openssh, and wget are what I consider needed to get started.
After moving the tar file and patch into /sources I used the LFS chroot environment on the Lubuntu host. Using the instructions in the BLFS book for installing openssl-1.0.1i the patch seemed to work fine. The ./config command successfully identified the system as "linux-x86_64". However the compilation terminated in an error: Fatal error: sys/cdefs.h: No such file or directory #Include <sys/cdefs.h> Recipe for target 'cryptlib.o' failed
You have a problem with your build. You should have /usr/include/sys/cdefs.h on your system. It is one of the
glibc files installed in LFS Section 6.9. -- Bruce -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
