[LLVMbugs] [Bug 12039] New: "make install" fails unless I use "--enable-bindings=none" with configure

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Feb 20 04:02:09 PST 2012


http://llvm.org/bugs/show_bug.cgi?id=12039

             Bug #: 12039
           Summary: "make install" fails unless I use
                    "--enable-bindings=none" with configure
           Product: Build scripts
           Version: 3.0
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Makefiles
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: bdunphy at centurylink.net
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


System is Mint Linux 12 32-bit on Intel Core 2 Duo

directory setup is LLVM source in /home/bryan/Source/llvm-3.0.src clang source
in tools/clang under LLVM source. A previous build of LLVM/CLang built using
"--enable-bindings=none" is located in /home/bryan/llvm with the appropriate
directories prepended to the PATH, INCLUDE_PATH, and LIBRARY_PATH.

Empty directory /home/bryan/Source/obj created from which the following
commands were executed

 ../llvm-3.0.src/configure --srcdir=../llvm-3.0.src --prefix=/home/bryan/llvm2
make
make install

make install halts with an error The exact error message is "make[3]: *** No
rule to make target
`/home/bryan/Source/obj/bindings/ocaml/llvm/Release/META.llvm', needed by
`install-meta'. Stop."

I requested assistance on the IRC channel and was told to report it on the
mailing list or file a bug report.

Transcript of IRC chat follows

04:04    Guest3231    Can anyone help me with why LLVM 3.0 fails on "make
install" unless I disable the ocaml bindings?
04:05    chandlerc    Guest3231: libffi missing maybe?
04:06    Guest3231    how would I check for and fix that?
04:07    chandlerc    no idea
04:10    Guest3231    the exact error message is "make[3]: *** No rule to make
target `/home/bryan/Source/obj/bindings/ocaml/llvm/Release/META.llvm', needed
by `install-meta'. Stop."
04:13    echristo    Guest3231: did you configure some time you had ocaml
around and then remove it?
04:13    baldrick    Guest3231: try configuring with --enable-bindings=none
04:17    Guest3231    "enable-binds=none" works, I'm just wondering why I have
to use that. Every time I try compiling LLVM/CLANG I delete all the involved
directories completely and re-extract everything from the downloaded archives
to make sure it is not mangled by previous attempts
04:18    Guest3231    enable-bindings=none rather
04:22    baldrick    Guest3231: probably you have enough ocaml stuff installed
on your system that the configure system reckons that building the ocaml
bindings is a good idea, but not enough for it to work
04:22    baldrick    of course this should be fixed, so probably you should
report it on the mailing list
04:22    baldrick    or open a bug report

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list