Problem with install on Debian Wheezy (XEN-VirtuaMachine)
-
created xen machine with: xen-create-image --hostname ooni --dhcp --size=10Gb --swap=1Gb --memory=1024Mb --arch=amd64 --role=udev --dir=/home/xen (dhcp on WAN-Side NIC)
-
Logged in
-
apt-get install git vim sudo lsb-release && git clone https://github.com/thetorproject/ooni-probe
-
./setup-dependencies.sh -p
First Crash: ------------SNIP------------ Running: sudo pip install setuptools --no-use-wheel --upgrade FAIL COMBINED STDOUT/STDERR OUTPUT OF FAILED COMMAND: Downloading/unpacking setuptools from https://pypi.python.org/packages/source/s/setuptools/setuptools-10.0.1.tar.gz#md5=abaf3b5d654eb525b9ca67c6d4522292 Running setup.py (path:/tmp/pip_build_root/setuptools/setup.py) egg_info for package setuptools ------------SNIP------------
-->removed --no-use-wheel parameter -> works
- rerun ./setup-dependencies.sh -p
Second Crash ------------SNIP------------ gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c dnet/dnet.c -o build/temp.linux-x86_64-2.7/dnet/dnet.o
In file included from dnet/dnet.c:22:0:
dnet/dnet.h:1:18: fatal error: dnet.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1 ------------SNIP------------
->apt-get install libdumbnet-dev -> works
-
mkdir /root/.ooni
-
cp /root/ooni-probe/data/ooniprobe.conf.sample ~/.ooni/
-
python setup.py install -> seems to work
-
the deck generation and testing seems to work too oonideckgen --country-code=CH -o /root/.ooni/ ooniprobe -i /root/.ooni/deck-ch/0.0.1-ch-user-deck
-
"not sure" if result really uploaded :) isn't there any message? ------------SNIP------------ Doing the test lookups on www.yola.com Doing the test lookups on www.netaddress.com Doing the test lookups on www.outlook.com Doing the test lookups on www.paypal.com Starting factory <ooni.templates.tcpt.TCPSenderFactory instance at 0x3718248> Starting factory <ooni.templates.tcpt.TCPSenderFactory instance at 0x4a5d3b0> Starting factory <ooni.templates.tcpt.TCPSenderFactory instance at 0x489fd88> Doing the test lookups on www.torproject.org Doing the test lookups on www.transferbigfiles.com Doing the test lookups on www.tumblr.com Doing the test lookups on www.yola.com Starting factory <ooni.templates.tcpt.TCPSenderFactory instance at 0x46eb098> Checking for tampering on http://4.71.251.156:81 total: False request_line_capitalization: False header_name_capitalization: False header_field_value: False header_field_number: False Doing the test lookups on www.torproject.org Doing the test lookups on www.transferbigfiles.com Doing the test lookups on www.tumblr.com Doing the test lookups on www.yola.com Stopping factory <ooni.templates.tcpt.TCPSenderFactory instance at 0x3718248> Stopping factory <ooni.templates.tcpt.TCPSenderFactory instance at 0x4a5d3b0> Stopping factory <ooni.templates.tcpt.TCPSenderFactory instance at 0x489fd88> Stopping factory <ooni.templates.tcpt.TCPSenderFactory instance at 0x46eb098> Main loop terminated. ------------SNIP------------
Trac:
Username: landev