Hi,
I am getting the following error message and would like to be able to install bjoern. I am trying to install it on a Webfaction server so don't have write access to everythin.
thanks,
Ken Dere
$ pip -v install bjoern
Downloading/unpacking bjoern
Running setup.py egg_info for package bjoern
running egg_info
writing pip-egg-info/bjoern.egg-info/PKG-INFO
writing top-level names to pip-egg-info/bjoern.egg-info/top_level.txt
writing dependency_links to pip-egg-info/bjoern.egg-info/dependency_links.txt
warning: manifest_maker: standard file '-c' not found
reading manifest file 'pip-egg-info/bjoern.egg-info/SOURCES.txt'
writing manifest file 'pip-egg-info/bjoern.egg-info/SOURCES.txt'
Installing collected packages: bjoern
Running setup.py install for bjoern
running install
running build
running build_ext
building 'bjoern' extension
gcc -pthread -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/home/kdere/include -fPIC -DWANT_SENDFILE=1 -DWANT_SIGINT_HANDLING=1 -Ihttp-parser -I/usr/local/include/python2.5 -c bjoern/wsgi.c -o build/temp.linux-i686-2.5/bjoern/wsgi.o -std=c99 -fno-strict-aliasing -Wall -Wextra -Wno-unused -g -fPIC
In file included from bjoern/wsgi.c:1:
bjoern/common.h:13: warning: function declaration isn’t a prototype
In file included from bjoern/wsgi.c:3:
bjoern/wsgi.h:4: warning: function declaration isn’t a prototype
bjoern/wsgi.c: In function ‘inspect_headers’:
bjoern/wsgi.c:188: warning: implicit declaration of function ‘Py_TYPE’
bjoern/wsgi.c:188: error: invalid type argument of ‘->’
bjoern/wsgi.c: At top level:
bjoern/wsgi.h:6: warning: ‘wsgi_iterable_get_next_chunk’ declared inline after being called
bjoern/wsgi.h:6: warning: previous declaration of ‘wsgi_iterable_get_next_chunk’ was here
bjoern/wsgi.c: In function ‘wsgi_iterable_get_next_chunk’:
bjoern/wsgi.c:236: error: invalid type argument of ‘->’
bjoern/wsgi.c: In function ‘start_response’:
bjoern/wsgi.c:282: error: invalid type argument of ‘->’
bjoern/wsgi.c:305: error: invalid type argument of ‘->’
bjoern/wsgi.c:309: error: invalid type argument of ‘->’
bjoern/wsgi.c: At top level:
bjoern/wsgi.c:339: warning: missing initializer
bjoern/wsgi.c:339: warning: (near initialization for ‘StartResponse_Type.tp_str’)
bjoern/wsgi.c:383: warning: function declaration isn’t a prototype
error: command 'gcc' failed with exit status 1
Complete output from command /usr/local/bin/python2.5 -c "import setuptools;file='/home/kdere/build/bjoern/setup.py';exec(compile(open(file).read().replace('\r\n', '\n'), file, 'exec'))" install --single-version-externally-managed --record /tmp/pip-6G5FIb-record/install-record.txt:
running install
running build
running build_ext
building 'bjoern' extension
gcc -pthread -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/home/kdere/include -fPIC -DWANT_SENDFILE=1 -DWANT_SIGINT_HANDLING=1 -Ihttp-parser -I/usr/local/include/python2.5 -c bjoern/wsgi.c -o build/temp.linux-i686-2.5/bjoern/wsgi.o -std=c99 -fno-strict-aliasing -Wall -Wextra -Wno-unused -g -fPIC
In file included from bjoern/wsgi.c:1:
bjoern/common.h:13: warning: function declaration isn’t a prototype
In file included from bjoern/wsgi.c:3:
bjoern/wsgi.h:4: warning: function declaration isn’t a prototype
bjoern/wsgi.c: In function ‘inspect_headers’:
bjoern/wsgi.c:188: warning: implicit declaration of function ‘Py_TYPE’
bjoern/wsgi.c:188: error: invalid type argument of ‘->’
bjoern/wsgi.c: At top level:
bjoern/wsgi.h:6: warning: ‘wsgi_iterable_get_next_chunk’ declared inline after being called
bjoern/wsgi.h:6: warning: previous declaration of ‘wsgi_iterable_get_next_chunk’ was here
bjoern/wsgi.c: In function ‘wsgi_iterable_get_next_chunk’:
bjoern/wsgi.c:236: error: invalid type argument of ‘->’
bjoern/wsgi.c: In function ‘start_response’:
bjoern/wsgi.c:282: error: invalid type argument of ‘->’
bjoern/wsgi.c:305: error: invalid type argument of ‘->’
bjoern/wsgi.c:309: error: invalid type argument of ‘->’
bjoern/wsgi.c: At top level:
bjoern/wsgi.c:339: warning: missing initializer
bjoern/wsgi.c:339: warning: (near initialization for ‘StartResponse_Type.tp_str’)
bjoern/wsgi.c:383: warning: function declaration isn’t a prototype
error: command 'gcc' failed with exit status 1
Command /usr/local/bin/python2.5 -c "import setuptools;file='/home/kdere/build/bjoern/setup.py';exec(compile(open(file).read().replace('\r\n', '\n'), file, 'exec'))" install --single-version-externally-managed --record /tmp/pip-6G5FIb-record/install-record.txt failed with error code 1
Exception information:
Traceback (most recent call last):
File "/home/kdere/lib/python2.5/pip-1.0-py2.5.egg/pip/basecommand.py", line 126, in main
self.run(options, args)
File "/home/kdere/lib/python2.5/pip-1.0-py2.5.egg/pip/commands/install.py", line 228, in run
requirement_set.install(install_options, global_options)
File "/home/kdere/lib/python2.5/pip-1.0-py2.5.egg/pip/req.py", line 1093, in install
requirement.install(install_options, global_options)
File "/home/kdere/lib/python2.5/pip-1.0-py2.5.egg/pip/req.py", line 566, in install
cwd=self.source_dir, filter_stdout=self._filter_install, show_stdout=False)
File "/home/kdere/lib/python2.5/pip-1.0-py2.5.egg/pip/init.py", line 255, in call_subprocess
% (command_desc, proc.returncode))
InstallationError: Command /usr/local/bin/python2.5 -c "import setuptools;file='/home/kdere/build/bjoern/setup.py';exec(compile(open(file).read().replace('\r\n', '\n'), file, 'exec'))" install --single-version-externally-managed --record /tmp/pip-6G5FIb-record/install-record.txt failed with error code 1