[tor-bugs] #10625 [Ooni]: Cannot build the 'GeoIP' extension

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Jan 13 19:48:58 UTC 2014


#10625: Cannot build the 'GeoIP' extension
---------------------+-------------------------
 Reporter:  anadahz  |          Owner:  hellais
     Type:  defect   |         Status:  new
 Priority:  blocker  |      Milestone:
Component:  Ooni     |        Version:
 Keywords:           |  Actual Points:
Parent ID:           |         Points:
---------------------+-------------------------
 https://gitweb.torproject.org/ooni-
 probe.git/blob/HEAD:/requirements.txt#l7
 {{{
 building 'GeoIP' extension

 creating build

 creating build/temp.linux-armv6l-2.7

 gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-
 prototypes -fPIC -I/usr/local/include -I/usr/include/python2.7 -c
 py_GeoIP.c -o build/temp.linux-armv6l-2.7/py_GeoIP.o

 py_GeoIP.c:22:19: fatal error: GeoIP.h: No such file or directory

 compilation terminated.

 error: command 'gcc' failed with exit status 1

 ----------------------------------------
 Command /usr/bin/python -c "import setuptools;__file__='/tmp/pip-build-
 root/geoip/setup.py';exec(compile(open(__file__).read().replace('\r\n',
 '\n'), __file__, 'exec'))" install --record /tmp/pip-ZvoViF-record
 /install-record.txt --single-version-externally-managed failed with error
 code 1 in /tmp/pip-build-root/geoip
 Exception information:
 Traceback (most recent call last):
   File "/usr/local/lib/python2.7/dist-
 packages/pip-1.3.1-py2.7.egg/pip/basecommand.py", line 139, in main
     status = self.run(options, args)
   File "/usr/local/lib/python2.7/dist-
 packages/pip-1.3.1-py2.7.egg/pip/commands/install.py", line 271, in run
     requirement_set.install(install_options, global_options,
 root=options.root_path)
   File "/usr/local/lib/python2.7/dist-
 packages/pip-1.3.1-py2.7.egg/pip/req.py", line 1185, in install
     requirement.install(install_options, global_options, *args, **kwargs)
   File "/usr/local/lib/python2.7/dist-
 packages/pip-1.3.1-py2.7.egg/pip/req.py", line 592, in install
     cwd=self.source_dir, filter_stdout=self._filter_install,
 show_stdout=False)
   File "/usr/local/lib/python2.7/dist-
 packages/pip-1.3.1-py2.7.egg/pip/util.py", line 662, in call_subprocess
     % (command_desc, proc.returncode, cwd))
 InstallationError: Command /usr/bin/python -c "import
 setuptools;__file__='/tmp/pip-build-
 root/geoip/setup.py';exec(compile(open(__file__).read().replace('\r\n',
 '\n'), __file__, 'exec'))" install --record /tmp/pip-ZvoViF-record
 /install-record.txt --single-version-externally-managed failed with error
 code 1 in /tmp/pip-build-root/geoip
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/10625>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list