[Slackbuilds-users] Unison fails to build with OCaml 4.0

Matteo Bernardini matteo.bernardini at gmail.com
Sun Oct 5 07:21:30 UTC 2014


2014-10-05 9:12 GMT+02:00 Willy Sudiarto Raharjo <willysr at slackbuilds.org>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>> This could make me able to build unison with OCaml 4.0.
>>
>> That's all. Hope this could help someone else.
>
> Hi
>
> i tested this patch, but still it failed with OCaml 4.0
>
> unison-2.40.63/lwt/win/lwt_unix_impl.ml
> unison-2.40.63/lwt/generic/lwt_unix_impl.ml
> unison-2.40.63/lwt/example/editor.ml
> unison-2.40.63/lwt/example/Makefile
> unison-2.40.63/lwt/example/relay.ml
> patching file Makefile.OCaml
> ocamlc -o mkProjectInfo unix.cma str.cma mkProjectInfo.ml
> File "mkProjectInfo.ml", line 1:
> Error: Error on dynamically loaded library: dllunix.so: dllunix.so:
> cannot open shared object file: No such file or directory
> UISTYLE = gtk2
> Building for Unix
> NATIVE = true
> THREADS = true
> STATIC = false
> OSTYPE =
> OSARCH =
> make tags
> make[1]: Entering directory `/tmp/SBo/unison-2.40.63'
> ocamlc -o mkProjectInfo unix.cma str.cma mkProjectInfo.ml
> File "mkProjectInfo.ml", line 1:
> Error: Error on dynamically loaded library: dllunix.so: dllunix.so:
> cannot open shared object file: No such file or directory

similar error here when building mldonkey (this is solved removing
ocaml, as mldonkey will use it's own 3.x version): I suspect
ocaml.SlackBuild needs some sort of fix for the upgrade to 4.x.

Matteo


More information about the SlackBuilds-users mailing list