Re: [AC 21.5] TLS support

Vin Shelton <[email protected]> Wed, 8 Oct 2014 23:11:30 -0400
Newsgroups gmane.emacs.xemacs.patches
Message-ID <CACeGjnUC0jtiUx1TSxR94BLkgWFGBcXHdGgyQ2nWa810pQ4xiA@mail.gmail.com>
Hi, Jerry!

I think you need a guard around your ssl.h include:

gcc -c -Os -m64 -fno-exceptions  -Demacs -I.
-I/opt/src/xemacs-21.5-2014-10-08/src -DHAVE_CONFIG_H -I/opt/include
/opt/src/xemacs-21.5-2014-10-08/src/alloc.c
In file included from /opt/src/xemacs-21.5-2014-10-08/src/lstream.h:27:0,
                 from /opt/src/xemacs-21.5-2014-10-08/src/alloc.c:56:
/opt/src/xemacs-21.5-2014-10-08/src/tls.h:59:26: fatal error:
openssl/ssl.h: No such file or directory
 # include <openssl/ssl.h>
                          ^
compilation terminated.
make[1]: *** [alloc.o] Error 1
make[1]: Leaving directory `/raid-3tb/opt/build/xemacs-21.5-2014-10-08/src'
make: *** [src] Error 2

I do not have the libssl-dev package installed.

  - Vin


On Wed, Oct 8, 2014 at 2:44 PM, Jerry James <[email protected]> wrote:
> On Tue, Oct 7, 2014 at 11:50 PM, Mats Lidell <[email protected]> wrote:
>> Buildbot accepts the challenge:
>>
>>     http://www.lidell.nu/xemacs-buildbot/grid
>>
>> [from the error log]
>> ./xemacs -no-packages -batch -no-autoloads -l update-elc-2.el -f batch-update-elc-2 /Users/buildbot/builds/build-xemacs/rtoy_imac_osx_cfg0/build/src/../lisp
>> *** Error in XEmacs initialization
>> (tls-error "SSL_CTX_set_cipher_list failed" "SSL routines:SSL_CTX_set_cipher_list:no cipher match")
>> *** Backtrace
>>   really-early-error-handler((tls-error "SSL_CTX_set_cipher_list failed" "SSL routines:SSL_CTX_set_cipher_list:no cipher match"))
>> *** Killing XEmacs
>> make[1]: *** [update-elc-2] Error 255
>>
>> Same problem for linux builds.
>
> Thanks, Mats.  I'll push a fix for this, and a couple of other build
> problems I just stumbled across.
> --
> Jerry James
> http://www.jamezone.org/
>
> _______________________________________________
> XEmacs-Patches mailing list
> [email protected]
> http://lists.xemacs.org/mailman/listinfo/xemacs-patches