[LLVMdev] OCaml Install Error
Jan Rehders
cmdkeen at gmx.de
Tue Oct 2 07:46:22 PDT 2007
Hi,
where can I read more about this? I assume (hope) the lib provides
some kind of OCaml bindings? I could not find any trace of it in the
2.1 release source so I guess it's currently SVN only?
greetings,
Jan
On 2. Okt 2007, at 12:22, Gordon Henriksen wrote:
> On 2007-10-02, at 03:19, Gordon Henriksen wrote:
>
>> On Oct 2, 2007, at 00:17, Bill Wendling wrote:
>>
>>> I get this error duing a "make install":
>>>
>>> llvm[3]: Installing Debug /usr/local/lib/ocaml/libllvm.a
>>> install: /usr/local/lib/ocaml/libllvm.a: Permission denied
>>> make[3]: *** [install-a] Error 71
>>> make[2]: *** [install] Error 1
>>> make[1]: *** [ocaml/.makeinstall] Error 2
>>> make: *** [install] Error 1
>>
>> Fair enough. The problem is that the bindings are installed in the
>> ocaml stdlib, regardless of --prefix. At the very least, there should
>> be a configure switch for this. Perhaps better, the default should go
>> into the stdlib only if the stdlib is under --prefix; otherwise using
>> $libdir/ocaml. Alternatively, perhaps they should be installed only
>> with a special make target (Subversion does this).
>>
>> I'll muck around with the configurey goop to see what I can come up
>> with. In the meantime, please use a workaround:
>>
>> sudo make install
>> -or-
>> blank out the OCAMLC := line in Makefile.config.in
>
> You can now configure with --disable-bindings rather than editing
> out OCAMLC. I'll fix the directory logic soon.
>
> — Gordon
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20071002/03b84778/attachment.html>
More information about the llvm-dev
mailing list