Skip to content

Instantly share code, notes, and snippets.

@sarahhodne
Created September 30, 2008 13:42
Show Gist options
  • Save sarahhodne/13814 to your computer and use it in GitHub Desktop.
Save sarahhodne/13814 to your computer and use it in GitHub Desktop.
dvyjones@delta:~/Twisted-8.1.0$ python setup.py install --home=~/twisted
running install
running build
running build_py
running build_ext
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.4 -c conftest.c -o conftest.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.4 -c conftest.c -o conftest.o
building 'twisted.runner.portmap' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.4 -c twisted/runner/portmap.c -o build/temp.linux-i686-2.4/twisted/runner/portmap.o
twisted/runner/portmap.c:10:20: error: Python.h: No such file or directory
twisted/runner/portmap.c:14: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â*â token
twisted/runner/portmap.c:31: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â*â token
twisted/runner/portmap.c:45: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before âPortmapMethodsâ
twisted/runner/portmap.c: In function âinitportmapâ:
twisted/runner/portmap.c:55: warning: implicit declaration of function âPy_InitModuleâ
twisted/runner/portmap.c:55: error: âPortmapMethodsâ undeclared (first use in this function)
twisted/runner/portmap.c:55: error: (Each undeclared identifier is reported only once
twisted/runner/portmap.c:55: error: for each function it appears in.)
error: command 'gcc' failed with exit status 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment