Package Details: ocaml-ssl 0.5.2-1

Git Clone URL: https://aur.archlinux.org/ocaml-ssl.git (read-only)
Package Base: ocaml-ssl
Description: OCaml SSL Library
Upstream URL: http://savonet.sourceforge.net/
Licenses: custom
Submitter: sigmundv
Maintainer: sigmundv
Last Packager: sigmundv
Votes: 3
Popularity: 0.015251
First Submitted: 2015-08-10 18:23
Last Updated: 2016-07-01 00:58

Latest Comments

M0Rf30 commented on 2016-11-17 18:50

0.5.3 is out and liquidsoap needs a recompilation:
File "cry_ssl.ml", line 1:
Error: /usr/lib/ocaml/ssl/ssl_threads.cmi
is not a compiled interface for this version of OCaml.
It seems to be for an older version of OCaml.

Yamakaky commented on 2016-11-17 05:51

Build fail, see https://github.com/savonet/ocaml-ssl/issues/29:

/usr/lib/ocaml/caml/alloc.h:59:8: erreur : unknown type name ‘inline’
static inline value caml_alloc_unboxed (value arg) { return arg; }
^~~~~~
/usr/lib/ocaml/caml/alloc.h:59:21: erreur : expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘caml_alloc_unboxed’
static inline value caml_alloc_unboxed (value arg) { return arg; }
^~~~~~~~~~~~~~~~~~
/usr/lib/ocaml/caml/alloc.h:60:8: erreur : unknown type name ‘inline’
static inline value caml_alloc_boxed (value arg) {
^~~~~~
/usr/lib/ocaml/caml/alloc.h:60:21: erreur : expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘caml_alloc_boxed’
static inline value caml_alloc_boxed (value arg) {
^~~~~~~~~~~~~~~~
/usr/lib/ocaml/caml/alloc.h:65:8: erreur : unknown type name ‘inline’
static inline value caml_field_unboxed (value arg) { return arg; }
^~~~~~
/usr/lib/ocaml/caml/alloc.h:65:21: erreur : expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘caml_field_unboxed’
static inline value caml_field_unboxed (value arg) { return arg; }
^~~~~~~~~~~~~~~~~~
/usr/lib/ocaml/caml/alloc.h:66:8: erreur : unknown type name ‘inline’
static inline value caml_field_boxed (value arg) { return Field (arg, 0); }
^~~~~~
/usr/lib/ocaml/caml/alloc.h:66:21: erreur : expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘caml_field_boxed’
static inline value caml_field_boxed (value arg) { return Field (arg, 0); }

sigmundv commented on 2016-07-01 01:00

Thank you for letting me know. I have updated the package.

talex commented on 2016-06-06 21:58

Programs using this (e.g. zeroinstall-injector) failed to build with:

/usr/lib/ocaml/ssl/libssl_threads_stubs.a(ssl_stubs.o): In function `ocaml_ssl_create_context':
ssl_stubs.c:(.text+0x576): undefined reference to `SSLv3_client_method'
ssl_stubs.c:(.text+0x643): undefined reference to `SSLv3_method'
ssl_stubs.c:(.text+0x653): undefined reference to `SSLv3_server_method'
collect2: error: ld returned 1 exit status

According to https://github.com/mirage/ocaml-cohttp/issues/462, this was fixed in ocaml-ssh 0.5.2.