[cfe-dev] Error Compiling Clang 3.4 from Sources?
Jeffrey Walton
noloader at gmail.com
Mon Mar 17 06:56:29 PDT 2014
On Mon, Mar 17, 2014 at 9:28 AM, Alexander Musman
<alexander.musman at gmail.com> wrote:
> I remember similar error message some time ago (in 3.3 or even earlier), for
> me it was fixed after adding right version of python into PATH.
>
>
> 2014-03-17 17:08 GMT+04:00 Dmitri Gribenko <gribozavr at gmail.com>:
>>
>> On Mon, Mar 17, 2014 at 12:56 AM, Jeffrey Walton <noloader at gmail.com>
>> wrote:
>> > I fetched Clang 3.4 with the recipe below. I'm hitting an error while
>> > attempting to compile:
>> >
>> > llvm-config.cpp:45:10: fatal error: 'LibraryDependencies.inc' file not
>> > found
>> > #include "LibraryDependencies.inc"
>> >
>> > Sure enough, its missing:
>> >
>> > $ find . -iname LibraryDependencies.inc
>> > $
>> >
>> > I've run through the recipe three or four times in the past, so I know
>> > it used to work.
>>
>> It works for me. The file in question is generated. With the in-tree
>> build like the one that your script does, it is located in
>> ./tools/llvm-config/LibraryDependencies.inc.
>>
OK, thanks.
I found I had to delete, re-unpack and then reconfigure after
switching to Python 2.7. It was not enough to switch interpreters.
Perhaps configure should just fail if it encounters a non-Python2 interpreter.
Thanks for the help.
Jeff
More information about the cfe-dev
mailing list