I was unable to build llvm-3.0.
It failed with:
make[3]: Entering directory `/usr/src/llvm-3.0.src/bindings/ocaml/llvm'
make[3]: *** No rule to make target
`/usr/src/llvm-3.0.src/Release/lib/ocaml/libLLVMCore.so', needed by
`build-deplibs'. Stop.
make[3]: Leaving directory `/usr/src/llvm-3.0.src/bindings/ocaml/llvm'
make[2]: *** [all] Error 1
make[2]: Leaving directory `/usr/src/llvm-3.0.src/bindings/ocaml'
This appears to be an error in a Makefine somewhere since the file
exists but it is in a different directory:
/usr/src/llvm-3.0.src/Release/lib/libLLVMCore.so
The same is true for other SO files so I can only speculate that it is
using:
./Release/lib/ocaml
instead of:
.Release/lib
somewhere. But, these Make files are too clever and I couldn't figure
it out.
I also note that the: "configure" option: "--with-ocaml-libdir=" is
necessary if building OCaml bindings. Should this be where OCaml is
installed? The default appears to be for where LLVM will be installed:
"/opt/llvm/lib/ocaml". "--prefix=" does not appear to change this.
--
James Tyrer
Linux (mostly) From Scratch
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page