[LLVMdev] svn trunk comilation error

Rinaldini Julien julien.rinaldini at heig-vd.ch
Mon May 7 10:52:42 PDT 2012


Hi there,

I'm having some trouble compiling llvm from trunk in the svn.

I configured it with: CC=gcc CXX=g++ ./configure --enable-optimisation=yes --enable-assertions=no
But I have this error:

llvm[1]: Building llvm-config BuildVariables.inc file.
llvm[1]: Compiling llvm-config.cpp for Release build
3.1_svn/llvm/tools/llvm-config/llvm-config.cpp:45:35: fatal error: LibraryDependencies.inc: No such file or directory
compilation terminated.
/bin/rm: cannot remove ‘3.1_svn/build/tools/llvm-config/Release/llvm-config.d.tmp’: No such file or directory
make[1]: *** [3.1_svn/build/tools/llvm-config/Release/llvm-config.o] Error 1
make[1]: Leaving directory `3.1_svn/build/tools/llvm-config'
make: *** [all] Error 1

I have aslo a lot of output like this one:

Traceback (most recent call last):
  File "3.1_svn/llvm/utils/llvm-build/llvm-build", line 3, in <module>
    import llvmbuild
  File "3.1_svn/llvm/utils/llvm-build/llvmbuild/__init__.py", line 1, in <module>
    from main import main
ImportError: No module named main

I also trie to compile it with a simple configure with no flag and I have the same error.

Is correct to assume that the trunk will normally compile without problems (I used this doc: http://llvm.org/docs/GettingStarted.html#quickstart)  or I should an other "path" (like  tags/RELEASE_31/rc2 or branches/release_31)?

Thx
Cheers



More information about the llvm-dev mailing list