Ok, I think I got most of the dependencies installed by either using PIP or pkg.
PIP:
pyopenssl
pyxdg
chardet
setproctitle
mako
PKG:
setuptools-26
openssl
zlib
gnu-gettext
I've previously installed these packages as recommended for building stuff on OmniOS using pkg:
gcc46
gnu-make
cpp
header-math
object-file
header
So I have three things left;
intltool
twisted
twisted-web
Twisted is in PIP, but fails to install with this error message:
Code: Select all
error: command 'gcc' failed with exit status
----------------------------------------
Command /usr/bin/python -c "import setuptools;__file__='/tmp/pip-build-root/twisted/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-Xbca5m-record/install-record.txt --single-version-externally-managed failed with error code 1 in /tmp/pip-build-root/twisted
Storing complete log in /root/.pip/pip.log
The pip.log:
Code: Select all
/usr/bin/pip run on Fri Mar 22 12:29:49 2013
Downloading/unpacking twisted
Running setup.py egg_info for package twisted
running egg_info
writing requirements to pip-egg-info/Twisted.egg-info/requires.txt
writing pip-egg-info/Twisted.egg-info/PKG-INFO
writing top-level names to pip-egg-info/Twisted.egg-info/top_level.txt
writing dependency_links to pip-egg-info/Twisted.egg-info/dependency_links.txt
warning: manifest_maker: standard file '-c' not found
reading manifest file 'pip-egg-info/Twisted.egg-info/SOURCES.txt'
writing manifest file 'pip-egg-info/Twisted.egg-info/SOURCES.txt'
Source in /tmp/pip-build-root/twisted has version 12.3.0, which satisfies requirement twisted
Downloading/unpacking zope.interface>=3.6.0 (from twisted)
Running setup.py egg_info for package zope.interface
running egg_info
writing requirements to pip-egg-info/zope.interface.egg-info/requires.txt
writing pip-egg-info/zope.interface.egg-info/PKG-INFO
writing namespace_packages to pip-egg-info/zope.interface.egg-info/namespace_packages.txt
writing top-level names to pip-egg-info/zope.interface.egg-info/top_level.txt
writing dependency_links to pip-egg-info/zope.interface.egg-info/dependency_links.txt
warning: manifest_maker: standard file '-c' not found
reading manifest file 'pip-egg-info/zope.interface.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*.dll' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.pyo' found anywhere in distribution
warning: no previously-included files matching '*.so' found anywhere in distribution
writing manifest file 'pip-egg-info/zope.interface.egg-info/SOURCES.txt'
Source in /tmp/pip-build-root/zope.interface has version 4.0.5, which satisfies requirement zope.interface>=3.6.0 (from twisted)
skipping extra test
skipping extra docs
skipping extra docs
skipping extra testing
skipping extra testing
skipping extra testing
Requirement already satisfied (use --upgrade to upgrade): setuptools in /usr/lib/python2.6/vendor-packages/setuptools-0.6c11-py2.6.egg (from zope.interface>=3.6.0->twisted)
Installing collected packages: twisted, zope.interface
Running setup.py install for twisted
Running command /usr/bin/python -c "import setuptools;__file__='/tmp/pip-build-root/twisted/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-ivxVJz-record/install-record.txt --single-version-externally-managed
running install
running build
running build_py
running egg_info
writing requirements to Twisted.egg-info/requires.txt
writing Twisted.egg-info/PKG-INFO
writing top-level names to Twisted.egg-info/top_level.txt
writing dependency_links to Twisted.egg-info/dependency_links.txt
warning: manifest_maker: standard file '-c' not found
reading manifest file 'Twisted.egg-info/SOURCES.txt'
writing manifest file 'Twisted.egg-info/SOURCES.txt'
running build_ext
gcc -m64 -fno-strict-aliasing -std=c99 -m64 -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.6 -c conftest.c -o conftest.o
gcc -m64 -fno-strict-aliasing -std=c99 -m64 -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.6 -c conftest.c -o conftest.o
conftest.c:1:23: fatal error: sys/epoll.h: No such file or directory
compilation terminated.
building 'twisted.python.sendmsg' extension
gcc -m64 -fno-strict-aliasing -std=c99 -m64 -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.6 -c twisted/python/sendmsg.c -o build/temp.solaris-2.11-i86pc-2.6/twisted/python/sendmsg.o
twisted/python/sendmsg.c: In function 'sendmsg_sendmsg':
twisted/python/sendmsg.c:206:19: error: 'struct msghdr' has no member named 'msg_control'
twisted/python/sendmsg.c:207:19: error: 'struct msghdr' has no member named 'msg_controllen'
twisted/python/sendmsg.c:209:19: error: 'struct msghdr' has no member named 'msg_flags'
twisted/python/sendmsg.c:251:13: warning: implicit declaration of function 'CMSG_SPACE' [-Wimplicit-function-declaration]
twisted/python/sendmsg.c:276:27: error: 'struct msghdr' has no member named 'msg_control'
twisted/python/sendmsg.c:277:32: error: 'struct msghdr' has no member named 'msg_control'
twisted/python/sendmsg.c:282:27: error: 'struct msghdr' has no member named 'msg_control'
twisted/python/sendmsg.c:284:23: error: 'struct msghdr' has no member named 'msg_controllen'
twisted/python/sendmsg.c:293:16: warning: implicit declaration of function 'CMSG_FIRSTHDR' [-Wimplicit-function-declaration]
twisted/python/sendmsg.c:293:43: warning: initialization makes pointer from integer without a cast [enabled by default]
twisted/python/sendmsg.c:315:13: warning: implicit declaration of function 'CMSG_LEN' [-Wimplicit-function-declaration]
twisted/python/sendmsg.c:325:13: warning: implicit declaration of function 'CMSG_DATA' [-Wimplicit-function-declaration]
twisted/python/sendmsg.c:325:23: warning: assignment makes pointer from integer without a cast [enabled by default]
twisted/python/sendmsg.c:331:13: warning: implicit declaration of function 'CMSG_NXTHDR' [-Wimplicit-function-declaration]
twisted/python/sendmsg.c:331:29: warning: assignment makes pointer from integer without a cast [enabled by default]
twisted/python/sendmsg.c:360:23: error: 'struct msghdr' has no member named 'msg_control'
twisted/python/sendmsg.c:361:34: error: 'struct msghdr' has no member named 'msg_control'
twisted/python/sendmsg.c:362:23: error: 'struct msghdr' has no member named 'msg_control'
twisted/python/sendmsg.c: In function 'sendmsg_recvmsg':
twisted/python/sendmsg.c:423:19: error: 'struct msghdr' has no member named 'msg_control'
twisted/python/sendmsg.c:425:19: error: 'struct msghdr' has no member named 'msg_controllen'
twisted/python/sendmsg.c:438:26: warning: assignment makes pointer from integer without a cast [enabled by default]
twisted/python/sendmsg.c:440:26: warning: assignment makes pointer from integer without a cast [enabled by default]
twisted/python/sendmsg.c:459:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
twisted/python/sendmsg.c:486:23: error: 'struct msghdr' has no member named 'msg_flags'
error: command 'gcc' failed with exit status 1
Complete output from command /usr/bin/python -c "import setuptools;__file__='/tmp/pip-build-root/twisted/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-ivxVJz-record/install-record.txt --single-version-externally-managed:
running install
running build
running build_py
running egg_info
writing requirements to Twisted.egg-info/requires.txt
writing Twisted.egg-info/PKG-INFO
writing top-level names to Twisted.egg-info/top_level.txt
writing dependency_links to Twisted.egg-info/dependency_links.txt
warning: manifest_maker: standard file '-c' not found
reading manifest file 'Twisted.egg-info/SOURCES.txt'
writing manifest file 'Twisted.egg-info/SOURCES.txt'
running build_ext
gcc -m64 -fno-strict-aliasing -std=c99 -m64 -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.6 -c conftest.c -o conftest.o
gcc -m64 -fno-strict-aliasing -std=c99 -m64 -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.6 -c conftest.c -o conftest.o
conftest.c:1:23: fatal error: sys/epoll.h: No such file or directory
compilation terminated.
building 'twisted.python.sendmsg' extension
gcc -m64 -fno-strict-aliasing -std=c99 -m64 -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.6 -c twisted/python/sendmsg.c -o build/temp.solaris-2.11-i86pc-2.6/twisted/python/sendmsg.o
twisted/python/sendmsg.c: In function 'sendmsg_sendmsg':
twisted/python/sendmsg.c:206:19: error: 'struct msghdr' has no member named 'msg_control'
twisted/python/sendmsg.c:207:19: error: 'struct msghdr' has no member named 'msg_controllen'
twisted/python/sendmsg.c:209:19: error: 'struct msghdr' has no member named 'msg_flags'
twisted/python/sendmsg.c:251:13: warning: implicit declaration of function 'CMSG_SPACE' [-Wimplicit-function-declaration]
twisted/python/sendmsg.c:276:27: error: 'struct msghdr' has no member named 'msg_control'
twisted/python/sendmsg.c:277:32: error: 'struct msghdr' has no member named 'msg_control'
twisted/python/sendmsg.c:282:27: error: 'struct msghdr' has no member named 'msg_control'
twisted/python/sendmsg.c:284:23: error: 'struct msghdr' has no member named 'msg_controllen'
twisted/python/sendmsg.c:293:16: warning: implicit declaration of function 'CMSG_FIRSTHDR' [-Wimplicit-function-declaration]
twisted/python/sendmsg.c:293:43: warning: initialization makes pointer from integer without a cast [enabled by default]
twisted/python/sendmsg.c:315:13: warning: implicit declaration of function 'CMSG_LEN' [-Wimplicit-function-declaration]
twisted/python/sendmsg.c:325:13: warning: implicit declaration of function 'CMSG_DATA' [-Wimplicit-function-declaration]
twisted/python/sendmsg.c:325:23: warning: assignment makes pointer from integer without a cast [enabled by default]
twisted/python/sendmsg.c:331:13: warning: implicit declaration of function 'CMSG_NXTHDR' [-Wimplicit-function-declaration]
twisted/python/sendmsg.c:331:29: warning: assignment makes pointer from integer without a cast [enabled by default]
twisted/python/sendmsg.c:360:23: error: 'struct msghdr' has no member named 'msg_control'
twisted/python/sendmsg.c:361:34: error: 'struct msghdr' has no member named 'msg_control'
twisted/python/sendmsg.c:362:23: error: 'struct msghdr' has no member named 'msg_control'
twisted/python/sendmsg.c: In function 'sendmsg_recvmsg':
twisted/python/sendmsg.c:423:19: error: 'struct msghdr' has no member named 'msg_control'
twisted/python/sendmsg.c:425:19: error: 'struct msghdr' has no member named 'msg_controllen'
twisted/python/sendmsg.c:438:26: warning: assignment makes pointer from integer without a cast [enabled by default]
twisted/python/sendmsg.c:440:26: warning: assignment makes pointer from integer without a cast [enabled by default]
twisted/python/sendmsg.c:459:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
twisted/python/sendmsg.c:486:23: error: 'struct msghdr' has no member named 'msg_flags'
error: command 'gcc' failed with exit status 1
----------------------------------------
Command /usr/bin/python -c "import setuptools;__file__='/tmp/pip-build-root/twisted/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-ivxVJz-record/install-record.txt --single-version-externally-managed failed with error code 1 in /tmp/pip-build-root/twisted
Exception information:
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/pip/basecommand.py", line 139, in main
status = self.run(options, args)
File "/usr/lib/python2.6/site-packages/pip/commands/install.py", line 271, in run
requirement_set.install(install_options, global_options, root=options.root_path)
File "/usr/lib/python2.6/site-packages/pip/req.py", line 1185, in install
requirement.install(install_options, global_options, *args, **kwargs)
File "/usr/lib/python2.6/site-packages/pip/req.py", line 592, in install
cwd=self.source_dir, filter_stdout=self._filter_install, show_stdout=False)
File "/usr/lib/python2.6/site-packages/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/twisted/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-ivxVJz-record/install-record.txt --single-version-externally-managed failed with error code 1 in /tmp/pip-build-root/twisted
Any ideas on how to proceed?
Btw, OmniOS comes with
Python 2.6.7 and I've downloaded
PIP 1.3.1