JuliaInterop / Cxx.jl

The Julia C++ Interface
Other
757 stars 108 forks source link

Build errors on macOS #374

Closed abhi18av closed 5 years ago

abhi18av commented 6 years ago

Hi @Keno

I was trying to install and use the package using the julia-pro installation and I keep running into the following errors upon doing Pkg.build("Cxx")

Copying OCaml library component llvm_all_backends.cma to intermediate area
[ 86%] Built target ocaml_llvm_X86
Copying OCaml library component libllvm_all_backends.a to intermediate area
Copying OCaml library component llvm_all_backends.cmxa to intermediate area
Copying OCaml library component llvm_all_backends.a to intermediate area
Copying OCaml library component llvm_all_backends.cmi to intermediate area
Copying OCaml library component llvm_all_backends.cmx to intermediate area
[ 86%] Built target ocaml_llvm_all_backends
[ 86%] Built target LLVM
make[1]: *** [all] Error 2
make: *** [build/llvm-3.9.1/bin/llvm-config] Error 2
==========================================================[ ERROR: Cxx ]==========================================================

LoadError: failed process: Process(`make -j4 -f BuildBootstrap.Makefile BASE_JULIA_BIN=/Applications/JuliaPro-0.6.2.1.app/Contents/Resources/julia/Contents/Resources/julia/bin BASE_JULIA_SRC=/Applications/JuliaPro-0.6.2.1.app/Contents/Resources/julia/Contents/Resources/julia/bin/../..`, ProcessExited(2)) [2]
while loading /Applications/JuliaPro-0.6.2.1.app/Contents/Resources/pkgs-0.6.2.1/v0.6/Cxx/deps/build.jl, in expression starting on line 54

==================================================================================================================================

=========================================================[ BUILD ERRORS ]=========================================================

WARNING: Cxx had build errors.

 - packages with build errors remain installed in /Applications/JuliaPro-0.6.2.1.app/Contents/Resources/pkgs-0.6.2.1/v0.6
 - build the package(s) and all dependencies with `Pkg.build("Cxx")`
 - build a single package by running its `deps/build.jl` script

==================================================================================================================================

Could you please help me out ?

Gnimuc commented 5 years ago

Binary build for macOS has been fixed by #406