Hi, Noufal. Thanks for trying out DXR! I can certainly tell you that we require at least LLVM 3.2. Newer versions may work, but your evidence suggests that they don't. Our testing setup pulls down the binary tarball from http://llvm.org/releases/3.2/clang+llvm-3.2-x86_64-linux-ubuntu-12.04.tar.gz; see the install_llvm.sh script that's used by the Vagrant box. You should probably download a similar tarball, depending on your architecture.
Let me know how that works out! Cheers, Erik On May 4, 2013, at 9:30 AM, Noufal Ibrahim <[email protected]> wrote: > > Hello everyone, > I'm interested in dxr and have been trying to set it up > today. I've run into some problems which I'd like help with. I'm > feel that some of these issues can be resolved by fixing the > documentation (which I'll gladly provide patches for once I get the > whole thing up and running on my machine). > > My laptop runs Debian wheezy. I cloned the dxr repository from > https://github.com/mozilla/dxr and then created a virtualenv. I > installed the dependencies and did the "setup.py develop" bit to get the > environment ready. > > I then eagerly went into the tests/test_basic directory and ran > make. I got a traceback the last line of which was. > > OSError: libtrilite.so: cannot open shared object file: No such > file or directory > > I went into the trilite directory and manually ran make. It > fetched some stuff via. mercurial from google code and built the > library. I came back to the tests/test_basic directory and ran make. I > saw this. http://pastebin.com/TTqkXpu9 > > It suggested that libclang-index-plugin.so wasn't built so I > went into the plugins directory and tried to run make over there. Some > of the dev libraries that are necessary were missing. I installed all of > them and tried to build it using llvm-3.0 and llvm-3.1 (which are > packaged and available on wheezy). It failed. I then checked out and > built the latest version of llvm from svn (version 3.3 trunk). I tried > building using that and still failed. All with the same error which I've > pasted at http://pastebin.com/GKUJFdUT > > So I'm at an impasse. jcranmer on the irc channel suggested that > I try it with 3.2 which I'm checking out from svn and trying to > build. I'll post the results back here. I'd appreciate any other help. > > Thanks! > > -- > Cordially, > Noufal > http://nibrahim.net.in > _______________________________________________ > dev-static-analysis mailing list > [email protected] > https://lists.mozilla.org/listinfo/dev-static-analysis _______________________________________________ dev-static-analysis mailing list [email protected] https://lists.mozilla.org/listinfo/dev-static-analysis
