Hello,
I have an OpenBSD (GENERIC.MP) 5.4 i386 box and trying to compile
Tahoe-LAFS
------------------------------------------------
$ python setup.py build
Not found: tahoe-deps
Not found: ../tahoe-deps
cc: error trying to exec 'as': execvp: No such file or directory
conftest.c:1:21: fatal error: rpc/rpc.h: No such file or directory
#include <rpc/rpc.h>
^
compilation terminated.
cc: error trying to exec 'as': execvp: No such file or directory
conftest.c:1:23: fatal error: sys/epoll.h: No such file or directory
#include <sys/epoll.h>
^
compilation terminated.
cc: error trying to exec 'as': execvp: No such file or directory
In file included from
/usr/local/lib/gcc/i386-unknown-openbsd5.4/4.8.1/include-fixed/syslimits.h:7:0,
from
/usr/local/lib/gcc/i386-unknown-openbsd5.4/4.8.1/include-fixed/limits.h:34,
from /usr/local/include/python2.7/Python.h:19,
from twisted/test/raiser.c:4:
/usr/local/lib/gcc/i386-unknown-openbsd5.4/4.8.1/include-fixed/limits.h:168:61:
fatal error: limits.h: No such file or directory
#include_next <limits.h> /* recurse down to the real one */
^
compilation terminated.
Traceback (most recent call last):
File "setup.py", line 452, in <module>
**setup_args
File "/usr/local/lib/python2.7/distutils/core.py", line 112, in setup
_setup_distribution = dist = klass(attrs)
File
"/usr/local/temp/allmydata-tahoe-1.10.0/setuptools-0.6c16dev4.egg/setuptools/dist.py", line 260, in __init__
self.fetch_build_eggs(attrs.pop('setup_requires'))
File
"/usr/local/temp/allmydata-tahoe-1.10.0/setuptools-0.6c16dev4.egg/setuptools/dist.py", line 284, in fetch_build_eggs
parse_requirements(requires), installer=self.fetch_build_egg
File
"/usr/local/temp/allmydata-tahoe-1.10.0/setuptools-0.6c16dev4.egg/pkg_resources.py", line 576, in resolve
dist = best[req.key] = env.best_match(req, self, installer)
File
"/usr/local/temp/allmydata-tahoe-1.10.0/setuptools-0.6c16dev4.egg/pkg_resources.py", line 826, in best_match
return self.obtain(req, installer) # try and download/install
File
"/usr/local/temp/allmydata-tahoe-1.10.0/setuptools-0.6c16dev4.egg/pkg_resources.py", line 838, in obtain
return installer(requirement)
File
"/usr/local/temp/allmydata-tahoe-1.10.0/setuptools-0.6c16dev4.egg/setuptools/dist.py", line 327, in fetch_build_egg
return cmd.easy_install(req)
File
"/usr/local/temp/allmydata-tahoe-1.10.0/setuptools-0.6c16dev4.egg/setuptools/command/easy_install.py", line 453, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File
"/usr/local/temp/allmydata-tahoe-1.10.0/setuptools-0.6c16dev4.egg/setuptools/command/easy_install.py", line 483, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File
"/usr/local/temp/allmydata-tahoe-1.10.0/setuptools-0.6c16dev4.egg/setuptools/command/easy_install.py", line 663, in install_eggs
return self.build_and_install(setup_script, setup_base)
File
"/usr/local/temp/allmydata-tahoe-1.10.0/setuptools-0.6c16dev4.egg/setuptools/command/easy_install.py", line 938, in build_and_install
self.run_setup(setup_script, setup_base, args)
File
"/usr/local/temp/allmydata-tahoe-1.10.0/setuptools-0.6c16dev4.egg/setuptools/command/easy_install.py", line 929, in run_setup
raise DistutilsError("Setup script exited with %s" % (v.args[0],))
distutils.errors.DistutilsError: Setup script exited with error: command
'cc' failed with exit status 1
------------------------------------------------
$ pkg_info
bzip2-1.0.6p0 block-sorting file compressor, unencumbered
curl-7.26.0p3 get files from FTP, Gopher, HTTP or HTTPS servers
g++-4.8.1p0 GNU compiler collection: C++ compiler
gcc-4.8.1p2 GNU compiler collection: core C compiler
gettext-0.18.2p3 GNU gettext
glib2-2.36.3 general-purpose utility library
gmp-5.0.2p2 library for arbitrary precision arithmetic
libelf-0.8.13p1 read, modify, create ELF files on any arch
libffi-3.0.9p5 Foreign Function Interface
libiconv-1.14p0 character set conversion library
libidn-1.27 internationalized string handling
libmpc-0.9p0 complex numbers math library
libsigc++-2.2.11p1 callback framework for C++
libslang-2.2.4 stack-based interpreter for terminal applications
libstdc++-4.8.1 GNU compiler collection: C++ compiler library
libtorrent-0.12.9p2v0 BitTorrent library written in C++
mc-4.8.1.7 free Norton Commander clone with many useful
features
mpfr-3.1.0.3 library for multiple-precision floating-point
computations
oniguruma-5.9.2 regular expressions library
pcre-8.33 perl-compatible regular expression library
png-1.6.2p0 library for manipulating PNG images
py-crypto-2.6p1 cryptographic tools for Python
py-openssl-0.13 Python interface to the OpenSSL library
py-setuptools-0.6.11p5v0 simplified packaging system for Python modules
py-twisted-conch-11.1.0 SSH and SFTP protocol implementation
py-twisted-core-11.1.0 event-based Python framework (core module)
py-zopeinterface-3.6.1p2 object interface infrastructure from Zope 3
python-2.7.5 interpreted object-oriented programming language
rtorrent-0.8.9p0v0 ncurses BitTorrent client based on libTorrent
screen-4.0.3p3 multi-screen window manager
smartmontools-6.1 control and monitor storage systems using SMART
unzip-6.0p2 extract, list & test files in a ZIP archive
vsftpd-3.0.2p0 FTP daemon which aims to be secure
wget-1.14p0 retrieve files from the web via HTTP, HTTPS and FTP
zip-3.0 create/update ZIP files compatible with PKZip(tm)
--------------------------------------------------
Looks like there are some headers missing?
Thank you.