[LLVMbugs] [Bug 14507] New: Build error

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Dec 4 08:53:26 PST 2012


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

             Bug #: 14507
           Summary: Build error
           Product: Build scripts
           Version: trunk
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: cmake
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: carlo.milanesi at libero.it
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


First of all, in the following Web page
http://clang.llvm.org/get_started.html#build
it is written:
  "Python. This is needed only if you will be running the tests"
I was just following the build instruction for LLVM and Clang, and an error
message said that Python was missing. It is needed only for tests or also for
building Clang?

Then I had to install Python, but which version?
I installed the following version:
  Python 3.3.0 Windows X86-64 MSI Installer
Then I added its directory to the PATH environment variable and I redid the
following command:
  cmake -G "Visual Studio 11" ..\llvm
and I got the following error message:
  -- Target triple: i686-pc-win32
  -- Native target architecture is X86
  -- Threads enabled.
  -- Using Debug VC++ CRT: MDd
  -- Using Release VC++ CRT: MD
  -- Using MinSizeRel VC++ CRT: MD
  -- Using RelWithDebInfo VC++ CRT: MD
  -- Constructing LLVMBuild project information
  CMake Error at CMakeLists.txt:307 (message):
    Unexpected failure executing llvm-build: Traceback (most recent call last):

    File "... /llvm/utils/llvm-build/llvm-build", line 3
, in <module>
      import llvmbuild
      File "... \llvm\utils\llvm-build\llvmbuild\__init__.
py", line 1, in <module>
        from main import main

    ImportError: No module named 'main'


  -- Configuring incomplete, errors occurred!

I cannot handle such error!

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