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. 

 

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

 

I then repeated the compilation using a new unprivileged user directly on
the BLFS system and got the same error.   

 

As far as I can determine there's no specific kernel setting dependencies
for openssl.   The closest I can find researching the problem is a missing
library but my new BLFS system has everything specified in the LFS 7.6 book.

 

Is something more needed to compile openssl on a fresh 64 bit BLFS system?

 

Thanks in advance,

 

-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to