Opened 12 years ago

Last modified 12 years ago

#34214 closed enhancement

Install clang development headers — at Initial Version

Reported by: cjones051073 (Chris Jones) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc:
Port: clang-3.1

Description

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

https://trac.macports.org/ticket/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 (0)

Note: See TracTickets for help on using tickets.