Opened 12 years ago

Last modified 12 years ago

#34214 closed enhancement

Install clang development headers — at Version 2

Reported by: cjones051073 (Chris Jones) Owned by: mfeiri@…
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc: Deil.Christoph@…, jeremyhu@…
Port: clang-3.1

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Hi,

I'm looking into an issue with a variant to the ROOT port, cling, that builds a command line interpreter based on clang. The build is failing, due to missing clang headers. See

#34171

for the details. The main error is

/Users/chris/Projects/root/core/meta/src/TCintWithCling.cxx:26:10: fatal error: 'clang/AST/ASTContext.h' file not found
#include "clang/AST/ASTContext.h"
         ^

I've tried build clang myself from source, using the instructions at

http://clang.llvm.org/get_started.html

and doing so I do indeed get the missing headers.

Is there any reason why this are excluded with the MacPorts build ? If not, could I request that these are added in a future version ?

cheers Chris

Change History (2)

comment:1 Changed 12 years ago by cdeil (Christoph Deil)

Cc: Deil.Christoph@… added

Cc Me!

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: jeremyhu@… added
Description: modified (diff)
Owner: changed from macports-tickets@… to mfeiri@…
Note: See TracTickets for help on using tickets.