Thanks for your replies.
I got the virtual machine working. I used windows instead of running it
inside my Ubuntu VMware box. Now, I encounter missing file as I
missing AST.H??
Should I install clang in the VM?
cd ~/dxr
make
vagrant@vagrant-ubuntu-trusty-64:~/dxr$ make
make -C dxr/plugins/clang build
make[1]: llvm-config: Command not found
make[1]: Entering directory `/home/vagrant/dxr/dxr/plugins/clang'
make[1]: llvm-config: Command not found
g++ -Wall -Wno-strict-aliasing -c dxr-index.cpp -o dxr-index.o
dxr-index.cpp:1:27: fatal error: clang/AST/AST.h: No such file or directory
#include "clang/AST/AST.h"
^
compilation terminated.
make[1]: *** [dxr-index.o] Error 1
make[1]: Leaving directory `/home/vagrant/dxr/dxr/plugins/clang'
make: *** [build-plugin-clang] Error 2
Thanks,
On Wed, Jun 10, 2015 at 2:19 AM, Peter Elmers <[email protected]> wrote:
> One problem I've run into on Linux is that by default not all of the
> required Virtualbox modules are probed. I'm not on a Linux machine at the
> moment, but I recall it is necessary to perform `modprobe vboxnetadp` and
> `modprobe vboxnetflp` before calling vagrant up.
> On Jun 9, 2015 8:54 AM, "Erik Rose" <[email protected]> wrote:
>
>> Hi, Andrew. I haven't seen this one before. Do you have a reasonably
>> powerful machine? Have you tried "vagrant destroy" followed by another
>> "vagrant up", in case something went awry during initialization?
>>
>> If neither of those helps, you could try adding the suggested config
>> directive to Vagrantfile: put "config.vm.boot_timeout = 600" after
>> "config.vm.box = "ubuntu/trusty64", and see if more time does the trick.
>>
>> Btw, you very probably want to be on the "es" branch if you're not
>> already; that's "DXR 2.0", where all the development is these days. It'll
>> shortly be merging into master.
>>
>> Cheers,
>> Erik
>> DXR Lead
>>
>> > On Jun 9, 2015, at 5:48 , Andrew Artajos <[email protected]>
>> wrote:
>> >
>> > Hi dev-static-analysis,
>> >
>> > I'm following DXR docs and I got stuck in the part where
>> > $ vagrant up
>> >
>> > it displays an error: http://mibpaste.com/ni0VCs
>> >
>> > I hope you could help.
>> >
>> > --
>> > _______________________________________________
>> > 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
>>
>
--
_______________________________________________
dev-static-analysis mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-static-analysis