[Unison-hackers] Compiling Unison with OCaml 4.08

Benjamin C. Pierce bcpierce at cis.upenn.edu
Tue Dec 3 09:31:53 EST 2019


Has anyone been able to compile the GUI version of unison with OCaml 4.08?  I get this (on both Catalina and Mohave):

…
Ld /Users/bcpierce/home1/unison/src/uimac/build/Default/Unison.app/Contents/MacOS/Unison normal x86_64 (in target 'uimac' from project 'uimacnew')
    cd /Users/bcpierce/home1/unison/src/uimac
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.6 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bcpierce/home1/unison/src/uimac/build/Default -F/Users/bcpierce/home1/unison/src/uimac/build/Default -filelist /Users/bcpierce/home1/unison/src/uimac/build/uimacnew.build/Default/uimac.build/Objects-normal/x86_64/Unison.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bcpierce/home1/unison/src/uimac/build/uimacnew.build/Default/uimac.build/Objects-normal/x86_64/Unison_lto.o -fobjc-link-runtime -L/Users/bcpierce/.opam/default/lib/ocaml -lunix -lthreadsnat -lcamlstr -lbigarray -lasmrun -framework Cocoa -framework Security -framework ExceptionHandling -Xlinker -dependency_info -Xlinker /Users/bcpierce/home1/unison/src/uimac/build/uimacnew.build/Default/uimac.build/Objects-normal/x86_64/Unison_dependency_info.dat -o /Users/bcpierce/home1/unison/src/uimac/build/Default/Unison.app/Contents/MacOS/Unison
ld: library not found for -lbigarray
clang: error: linker command failed with exit code 1 (use -v to see invocation)

** BUILD FAILED **

Any idea what’s wrong here?  (The text UI builds fine.)

Thanks!

    - Benjamin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://LISTS.SEAS.UPENN.EDU/pipermail/unison-hackers/attachments/20191203/daa179ac/attachment.html>


More information about the Unison-hackers mailing list