[LLVMdev] : trouble with compiling

Óscar Fuentes ofv at wanadoo.es
Thu Sep 6 18:50:09 PDT 2012

Vadim Khoptynets <vadya.poiuj at gmail.com> writes:

> Hello, Óscar!
> I had some problems with my machine, so I've reistalled system and LLVM
> repository. And now, I have another trouble during compilation:
> make[1]: Entering directory `/media/data/dev/llvm/bin/tools/llvm-config'
> llvm[1]: Constructing LLVMBuild project information.
> /usr/bin/env: python: No such file or directory
> llvm[1]: Building llvm-config BuildVariables.inc file.
> llvm[1]: Compiling llvm-config.cpp for Debug+Asserts build
> /media/data/dev/llvm/llvm/tools/llvm-config/llvm-config.cpp:45:35: fatal
> error: LibraryDependencies.inc: No such file or directory
> compilation terminated.
> /bin/rm: cannot remove
> '/media/data/dev/llvm/bin/tools/llvm-config/Debug+Asserts/llvm-config.d.tmp':
> No such file or directory
> make[1]: ***
> [/media/data/dev/llvm/bin/tools/llvm-config/Debug+Asserts/llvm-config.o]
> Error 1
> make[1]: Leaving directory `/media/data/dev/llvm/bin/tools/llvm-config'
> make: *** [all] Error 1
> It seems that some files are missed in the repository. Could you, please,
> help me with this trouble?

>From the log shown:

/usr/bin/env: python: No such file or directory

IIRC python is required. If true, then it is unfortunate that the fact
is not mentioned on the Getting Started documents, nor clearly stated on
the logs or the configure step.

On the future, please send questions to the llvm mailing list, not to
me. Thanks.

More information about the llvm-dev mailing list