I recommend you use out-of-tree build, which means you check out the source
into one directory (llvm.src/), then build in another directory (llvm.obj).
Something like,
---
$ ls
llvm.src/ llvm.obj/
$ cd llvm.obj; ../llvm.src/configure; make
---
Regards,
chenwj
--
Wei-Ren Chen (陳韋任)
Computer Systems Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-3799 #1667
Homepage: http://people.cs.nctu.edu.tw/~chenwj
Sorry I did not precise that, but I'm already doing that...
I have, as you say, two different director, one for source and one for build (where I run my configure)...
Cheers
________________________________________
De : 陳韋任 [che...@iis.sinica.edu.tw]
Date d'envoi : mardi 8 mai 2012 05:21
À : Rinaldini Julien
Cc: LLVM Developers Mailing List
Objet : Re: [LLVMdev] svn trunk comilation error
You probably need to illustrate what your enviroment is, what revision you
checkout and how you build LLVM. I have no problem build LLVM svn here. Have
you checked tools/llvm-config/LibraryDependencies.inc is exist?
Ok, I'll check that tomorow... I'm not at work today and it seems that my ssh is down :(
Thx again...
> De : Tim Northover [t.p.no...@gmail.com]
> Date d'envoi : mardi 8 mai 2012 11:38
> À : Rinaldini Julien
> Cc: LLVM Developers Mailing List
> Objet : Re: [LLVMdev] svn trunk comilation error
> I've encountered this error (or one very similar to it) when the main
> python binary was a version of Python 3.x instead of 2.x. At a glance
> it might produce the kind of error you're getting above too.
> Tim.
I though of something like this... I'll try to alias python to python2 tomorow...
Cheers
Hi,
I made an svn update this morning, I'm at revision 156468.
I checked... I don't have tools/llvm-config/LibraryDependencies.inc in the source folder.
And:
$ alias python=python2
Don't get rid of the python error...
I changed llvm/utils/llvm-build/llvm-build:
#!/usr/bin/env python
import llvmbuild
if __name__ == '__main__':
llvmbuild.main()
into:
#!/usr/bin/env python2
import llvmbuild
if __name__ == '__main__':
llvmbuild.main()
And it worked!
Thx all,
Cheers
________________________________________
De : llvmdev...@cs.uiuc.edu [llvmdev...@cs.uiuc.edu] de la part de Rinaldini Julien [julien.r...@heig-vd.ch]
Date d'envoi : mercredi 9 mai 2012 10:50
À : LLVM Developers Mailing List
Objet : [LLVMdev] RE : RE : RE : svn trunk comilation error