[Windmill-dev] Problem installing windmill on ubuntu

Adam Christian adam at osafoundation.org
Mon Oct 15 11:30:19 PDT 2007


Everything went fine until:

Downloading http://pypi.python.org/packages/source/s/simplejson/ 
simplejson-1.7.3.tar.gz#md5=03935eda1211f29d6856481baf6cba59
Processing simplejson-1.7.3.tar.gz
Running simplejson-1.7.3/setup.py -q bdist_egg --dist-dir /tmp/ 
easy_install-KOOdBg/simplejson-1.7.3/egg-dist-tmp-AkbUlT
simplejson/_speedups.c:1:20: error: Python.h: No such file or directory
simplejson/_speedups.c:9: error: expected ‘)’ before ‘c’
simplejson/_speedups.c:10: error: expected ‘=’, ‘,’, ‘;’,  
‘asm’ or ‘__attribute__’ before ‘*’ token
simplejson/_speedups.c:12: error: expected ‘=’, ‘,’, ‘;’,  
‘asm’ or ‘__attribute__’ before ‘*’ token
simplejson/_speedups.c:14: error: expected ‘=’, ‘,’, ‘;’,  
‘asm’ or ‘__attribute__’ before ‘*’ token
simplejson/_speedups.c:28: error: expected ‘)’ before ‘c’
simplejson/_speedups.c:72: error: expected ‘=’, ‘,’, ‘;’,  
‘asm’ or ‘__attribute__’ before ‘*’ token
simplejson/_speedups.c:120: error: expected ‘=’, ‘,’,  
‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
simplejson/_speedups.c:180: error: expected ‘)’ before string  
constant
simplejson/_speedups.c:185: error: expected ‘=’, ‘,’,  
‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
simplejson/_speedups.c:204: error: expected ‘=’, ‘,’,  
‘;’, ‘asm’ or ‘__attribute__’ before ‘speedups_methods’
simplejson/_speedups.c: In function ‘init_speedups’:
simplejson/_speedups.c:213: error: ‘PyObject’ undeclared (first  
use in this function)
simplejson/_speedups.c:213: error: (Each undeclared identifier is  
reported only once
simplejson/_speedups.c:213: error: for each function it appears in.)
simplejson/_speedups.c:213: error: ‘m’ undeclared (first use in  
this function)
simplejson/_speedups.c:214: warning: implicit declaration of function  
‘Py_InitModule4’
simplejson/_speedups.c:214: error: ‘speedups_methods’ undeclared  
(first use in this function)
simplejson/_speedups.c:214: error: ‘NULL’ undeclared (first use  
in this function)
simplejson/_speedups.c:214: error: ‘PYTHON_API_VERSION’  
undeclared (first use in this function)
**********************************************************************


WARNING: The C extension could not be compiled, speedups are not  
enabled.

Above is the output showing how the compilation failed.

**********************************************************************

error: Setup script exited with error: can't copy 'simplejson.egg- 
info/native_libs.txt': doesn't exist or not a regular file


More information about the Windmill-dev mailing list