On 04/14/2012 02:54 AM, Andrew Benton wrote:
> On Fri, 13 Apr 2012 20:58:55 +0100 James Richard
> Tyrer<[email protected]>  wrote:
>
>> Do you have OCaml installed?
>
> No, I didn't, but since installing it I now get the same error as
> you. I got past that with these commands. I configure LLVM
> --with-ocaml-libdir=/usr/lib (ocaml has its .cmi files in
> /usr/lib/ocaml), after I run configure I changed one of the Makefiles
> with a sed and then copied META.llvm into the Release folder:
>
> sed -i 's#/ocaml$##;s#(OCAML_LIBDIR)$#&/ocaml#'
> bindings/ocaml/Makefile.ocaml mkdir bindings/ocaml/llvm/Release cp
> bindings/ocaml/llvm/{,Release/}META.llvm
>
> Basically the sed moves /ocaml from the end of one line onto the end
> of the previous line and it seems the make process doesn't copy
> META.llvm into the right place. It looks like buggy, unmaintained
> code to me, but what do I know ;)
>
> It compiled and installed Ok. I'm not sure if it works as I don't
> use ocaml. I only need LLVM as a dependency for Mesa.
>
I managed to get it to compile by making links.  So, it would seem
reasonable to presume that the problem is Make files with the long
locations for files.

-- 
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

Reply via email to