Subject: openssl and installing openssl development headers
To: None <tech-pkg@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 12/04/2002 11:37:01
This is in addition to my last posting about continuing build with
unacceptable license.

For example with mail/exim:

===> Required package openssl>=0.9.6g: NOT found
===> Verifying reinstall for ../../security/openssl
===> openssl-0.9.6g has an unacceptable license: fee-based-commercial-use.
===>     To build this package, add this line to your /etc/mk.conf:
===>     ACCEPTABLE_LICENSES+=fee-based-commercial-use
===> Returning to build of exim-4.05

...

gcc -c -O    -I. tls.c
tls.c:28: openssl/lhash.h: No such file or directory
tls.c:29: openssl/ssl.h: No such file or directory
tls.c:30: openssl/err.h: No such file or directory
tls.c:31: openssl/rand.h: No such file or directory
*** Error code 1

This has:

.include "../../security/openssl/buildlink2.mk"

This was under Debian Linux which had:
ii  libssl0.9.6    0.9.6e-1       SSL shared libraries
ii  libssl09       0.9.4-6.woody. SSL shared libraries (old version)

I think it needed corresponding Debian libssl-dev package for
headers. (So it had libraries, but no headers.)


   Jeremy C. Reed
   http://bsd.reedmedia.net/