On Wed, 14 Nov 2018 00:38:57 -0500 Jean-Marc Pigeon via blfs-dev <[email protected]> wrote:
> Hello, > > Could somebody confirm it is possible to compile > sendmail-8.15.2 with gcc-8.2 (LFS-8.3) > > I have strange result (could be my mistake) as > > ;---- > tls.c:1747:2: warning: 'RSA_generate_key' is deprecated > [-Wdeprecated-declarations] > rsa_tmp = RSA_generate_key(RSA_KEYLENGTH, RSA_F4, NULL, NULL); > ^~~~~~~ > In file included from /usr/include/openssl/e_os2.h:13, > from /usr/include/openssl/ssl.h:45, > from ./sendmail.h:125, > from tls.c:11: > /usr/include/openssl/rsa.h:193:1: note: declared here > DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void > ;--- > > And there is a dangling explanation about > "sed ... include/sm/bdb.h: This allows sendmail to build properly with > Berkeley DB-5.3.28 versions 5 and above" within book. > but there is no reference (within that page) about this sed. > > So I wonder if sendmail was recompiled successfully within 8.3. I built sendmail from BLFS 8.3 and have been using it with no apparent problems. I saved the build directory but there are no logs (it seems the sendmail build process doesn't log its output). But I wonder if the references you got to /usr/include/openssl/ indicate that you didn't install the OpenSSL-1.0.2p Libraries required by sendmail; they should install to /usr/include/openssl-1.0/openssl/. If so, that may be the reason for the failed compilation. (About the missing seds: it's been like that since at least BLFS 8.1 (I don't have the 8.0 book at hand); I guess they became unnecessary at some point but page wasn't fully updated. But again, I've successfully built and used sendmail since BLFS 8.0.) Steve Berman -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
