[LLVMbugs] [Bug 11232] New: 3.0rc1: clang/Basic/DiagnosticCommonKinds.inc not being installed

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Oct 25 09:06:26 PDT 2011


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

           Summary: 3.0rc1: clang/Basic/DiagnosticCommonKinds.inc not
                    being installed
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: matt at pharr.org
                CC: llvmbugs at cs.uiuc.edu


1. Download 3.0rc1 and clang-3.0rc1 as source
2. Untar them, move clang to be in tools/clang
3. ./configure --prefix=/tmp/llvmx
4. make install ...

% echo "#include <clang/Frontend/CompilerInstance.h>" | clang -x c++ -c -
-I/tmp/llvmx/include -o /dev/null
In file included from <stdin>:1:
In file included from /tmp/llvmx/include/clang/Frontend/CompilerInstance.h:13:
In file included from
/tmp/llvmx/include/clang/Frontend/CompilerInvocation.h:19:
In file included from /tmp/llvmx/include/clang/Frontend/DiagnosticOptions.h:13:
In file included from /tmp/llvmx/include/clang/Basic/Diagnostic.h:17:
/tmp/llvmx/include/clang/Basic/DiagnosticIDs.h:53:10: fatal error:
'clang/Basic/DiagnosticCommonKinds.inc' file not found
#include "clang/Basic/DiagnosticCommonKinds.inc"
         ^
1 error generated.
%

Copying DiagnosticCommonKinds.inc from the source dir to the appropriate place
in the install dir fixes this.  (I'm not sure if other things from clang are
being missed during the install step as well, though.)

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