I'm also having the same problem with installing Turbogears on Leopard
10.5.2.   Here's the list of exception messages:

Installed /Library/Python/2.5/site-packages/TurboGears-1.0.4.3-
py2.5.egg
Reading http://files.turbogears.org/eggs/
Processing dependencies for TurboGears
Searching for simplejson>=1.3
Reading http://pypi.python.org/simple/simplejson/
Reading http://undefined.org/python/#simplejson
Best match: simplejson 1.7.4
Downloading 
http://pypi.python.org/packages/source/s/simplejson/simplejson-1.7.4.tar.gz#md5=0395956395d22657c333a1de57dce2d3
Processing simplejson-1.7.4.tar.gz
Running simplejson-1.7.4/setup.py -q bdist_egg --dist-dir /tmp/
easy_install-wVn-mb/simplejson-1.7.4/egg-dist-tmp-Kd0ji4
simplejson/_speedups.c:1:20: error: Python.h: No such file or
directory
simplejson/_speedups.c:1:20: error: Python.h: No such file or
directory
simplejson/_speedups.c:15: error: parse error before 'c'
simplejson/_speedups.c:15: warning: function declaration isn't a
prototype
simplejson/_speedups.c:16: error: parse error before '*' token
simplejson/_speedups.c:17: error: parse error before '*' token
simplejson/_speedups.c:17: warning: type defaults to 'int' in
declaration of 'ascii_escape_unicode'
simplejson/_speedups.c:17: warning: function declaration isn't a
prototype
simplejson/_speedups.c:17: warning: data definition has no type or
storage class
simplejson/_speedups.c:18: error: parse error before '*' token
simplejson/_speedups.c:19: error: parse error before '*' token
simplejson/_speedups.c:19: warning: type defaults to 'int' in
declaration of 'ascii_escape_str'
simplejson/_speedups.c:19: warning: function declaration isn't a
prototype
simplejson/_speedups.c:19: warning: data definition has no type or
storage class
simplejson/_speedups.c:20: error: parse error before '*' token
simplejson/_speedups.c:21: error: parse error before '*' token
simplejson/_speedups.c:34: error: parse error before 'c'
simplejson/_speedups.c:34: warning: function declaration isn't a
prototype
simplejson/_speedups.c:15: error: parse error before 'c'
simplejson/_speedups.c:15: warning: function declaration isn't a
prototype
simplejson/_speedups.c:16: error: parse error before '*' token
simplejson/_speedups.c:17: error: parse error before '*' token
simplejson/_speedups.c:17: warning: type defaults to 'int' in
declaration of 'ascii_escape_unicode'
simplejson/_speedups.c:17: warning: function declaration isn't a
prototype
simplejson/_speedups.c:17: warning: data definition has no type or
storage class
simplejson/_speedups.c:18: error: parse error before '*' token
simplejson/_speedups.c:19: error: parse error before '*' token
simplejson/_speedups.c:19: warning: type defaults to 'int' in
declaration of 'ascii_escape_str'
simplejson/_speedups.c:19: warning: function declaration isn't a
prototype
simplejson/_speedups.c:19: warning: data definition has no type or
storage class
simplejson/_speedups.c:20: error: parse error before '*' token
simplejson/_speedups.c:21: error: parse error before '*' token
simplejson/_speedups.c:34: error: parse error before 'c'
simplejson/_speedups.c:34: warning: function declaration isn't a
prototype
simplejson/_speedups.c: In function 'ascii_escape_char':
simplejson/_speedups.c:35: error: 'Py_UNICODE' undeclared (first use
in this function)
simplejson/_speedups.c:35: error: (Each undeclared identifier is
reported only once
simplejson/_speedups.c:35: error: for each function it appears in.)
simplejson/_speedups.c:35: error: parse error before 'x'
simplejson/_speedups.c:36: error: 'output' undeclared (first use in
this function)
simplejson/_speedups.c:36: error: 'chars' undeclared (first use in
this function)
simplejson/_speedups.c: In function 'ascii_escape_char':
simplejson/_speedups.c:35: error: 'Py_UNICODE' undeclared (first use
in this function)
simplejson/_speedups.c:35: error: (Each undeclared identifier is
reported only once
simplejson/_speedups.c:35: error: for each function it appears in.)
simplejson/_speedups.c:35: error: parse error before 'x'
simplejson/_speedups.c:36: error: 'output' undeclared (first use in
this function)
simplejson/_speedups.c:36: error: 'chars' undeclared (first use in
this function)
simplejson/_speedups.c:37: error: 'c' undeclared (first use in this
function)
simplejson/_speedups.c:66: error: 'x' undeclared (first use in this
function)
simplejson/_speedups.c:37: error: 'c' undeclared (first use in this
function)
simplejson/_speedups.c:66: error: 'x' undeclared (first use in this
function)
simplejson/_speedups.c: At top level:
simplejson/_speedups.c:78: error: parse error before '*' token
simplejson/_speedups.c:79: error: parse error before '*' token
simplejson/_speedups.c:79: warning: return type defaults to 'int'
simplejson/_speedups.c:79: warning: function declaration isn't a
prototype
simplejson/_speedups.c: In function 'ascii_escape_unicode':
simplejson/_speedups.c:84: error: 'PyObject' undeclared (first use in
this function)
simplejson/_speedups.c:84: error: 'rval' undeclared (first use in this
function)
simplejson/_speedups.c:86: error: 'Py_UNICODE' undeclared (first use
in this function)
simplejson/_speedups.c:86: error: 'input_unicode' undeclared (first
use in this function)
simplejson/_speedups.c:88: warning: implicit declaration of function
'PyUnicode_GET_SIZE'
simplejson/_speedups.c:88: error: 'pystr' undeclared (first use in
this function)
simplejson/_speedups.c: At top level:
simplejson/_speedups.c:78: error: parse error before '*' token
simplejson/_speedups.c:79: error: parse error before '*' token
simplejson/_speedups.c:79: warning: return type defaults to 'int'
simplejson/_speedups.c:89: warning: implicit declaration of function
'PyUnicode_AS_UNICODE'
simplejson/_speedups.c:92: warning: implicit declaration of function
'PyString_FromStringAndSize'
simplejson/_speedups.c:92: error: 'NULL' undeclared (first use in this
function)
simplejson/_speedups.c:96: warning: implicit declaration of function
'PyString_AS_STRING'
simplejson/_speedups.c:96: warning: assignment makes pointer from
integer without a cast
simplejson/_speedups.c:100: error: parse error before 'c'
simplejson/_speedups.c:101: error: 'c' undeclared (first use in this
function)
simplejson/_speedups.c:113: warning: implicit declaration of function
'_PyString_Resize'
simplejson/_speedups.c:116: warning: assignment makes pointer from
integer without a cast
simplejson/_speedups.c: At top level:
simplejson/_speedups.c:126: error: parse error before '*' token
simplejson/_speedups.c:127: error: parse error before '*' token
simplejson/_speedups.c:127: warning: return type defaults to 'int'
simplejson/_speedups.c:127: warning: function declaration isn't a
prototype
simplejson/_speedups.c: In function 'ascii_escape_str':
simplejson/_speedups.c:132: error: 'PyObject' undeclared (first use in
this function)
simplejson/_speedups.c:132: error: 'rval' undeclared (first use in
this function)
simplejson/_speedups.c:136: warning: implicit declaration of function
'PyString_GET_SIZE'
simplejson/_speedups.c:136: error: 'pystr' undeclared (first use in
this function)
simplejson/_speedups.c:137: warning: assignment makes pointer from
integer without a cast
simplejson/_speedups.c:140: error: 'NULL' undeclared (first use in
this function)
simplejson/_speedups.c:144: warning: assignment makes pointer from
integer without a cast
simplejson/_speedups.c:148: error: 'Py_UNICODE' undeclared (first use
in this function)
simplejson/_speedups.c:148: error: parse error before 'c'
simplejson/_speedups.c:149: error: 'c' undeclared (first use in this
function)
simplejson/_speedups.c:153: error: 'uni' undeclared (first use in this
function)
simplejson/_speedups.c:154: warning: implicit declaration of function
'Py_DECREF'
simplejson/_speedups.c:155: warning: implicit declaration of function
'PyUnicode_DecodeUTF8'
simplejson/_speedups.c:175: warning: assignment makes pointer from
integer without a cast
simplejson/_speedups.c: At top level:
simplejson/_speedups.c:189: error: parse error before string constant
simplejson/_speedups.c:189: warning: type defaults to 'int' in
declaration of 'PyDoc_STRVAR'
simplejson/_speedups.c:189: warning: function declaration isn't a
prototype
simplejson/_speedups.c:189: warning: data definition has no type or
storage class
simplejson/_speedups.c:191: error: parse error before '*' token
simplejson/_speedups.c:192: error: parse error before '*' token
simplejson/_speedups.c:199: error: parse error before string constant
simplejson/_speedups.c:199: warning: type defaults to 'int' in
declaration of 'PyErr_SetString'
simplejson/_speedups.c:199: warning: function declaration isn't a
prototype
simplejson/_speedups.c:199: warning: data definition has no type or
storage class
simplejson/_speedups.c:210: error: parse error before
'speedups_methods'
simplejson/_speedups.c:210: warning: type defaults to 'int' in
declaration of 'speedups_methods'
simplejson/_speedups.c:211: warning: braces around scalar initializer
simplejson/_speedups.c:211: warning: (near initialization for
'speedups_methods[0]')
simplejson/_speedups.c:211: warning: initialization makes integer from
pointer without a cast
simplejson/_speedups.c:211: error: 'PyCFunction' undeclared here (not
in a function)
simplejson/_speedups.c:211: warning: excess elements in scalar
initializer
simplejson/_speedups.c:211: warning: (near initialization for
'speedups_methods[0]')
simplejson/_speedups.c:211: error: parse error before
'py_encode_basestring_ascii'
simplejson/_speedups.c:211: error: 'METH_O' undeclared here (not in a
function)
simplejson/_speedups.c:211: warning: excess elements in scalar
initializer
simplejson/_speedups.c:211: warning: (near initialization for
'speedups_methods[0]')
simplejson/_speedups.c:211: error: 'pydoc_encode_basestring_ascii'
undeclared here (not in a function)
simplejson/_speedups.c:211: warning: excess elements in scalar
initializer
simplejson/_speedups.c:211: warning: (near initialization for
'speedups_methods[0]')
simplejson/_speedups.c:212: warning: braces around scalar initializer
simplejson/_speedups.c:212: warning: (near initialization for
'speedups_methods[1]')
simplejson/_speedups.c:212: error: empty scalar initializer
simplejson/_speedups.c:212: error: (near initialization for
'speedups_methods[1]')
simplejson/_speedups.c:213: warning: data definition has no type or
storage class
simplejson/_speedups.c: In function 'init_speedups':
simplejson/_speedups.c:219: error: 'PyObject' undeclared (first use in
this function)
simplejson/_speedups.c:219: error: 'm' undeclared (first use in this
function)
simplejson/_speedups.c:219: error: invalid operands to binary *
simplejson/_speedups.c:219: warning: statement with no effect
simplejson/_speedups.c:220: warning: implicit declaration of function
'Py_InitModule4'
simplejson/_speedups.c:220: error: 'NULL' undeclared (first use in
this function)
simplejson/_speedups.c:220: error: 'PYTHON_API_VERSION' undeclared
(first use in this function)
simplejson/_speedups.c:220: warning: statement with no effect
simplejson/_speedups.c:79: warning: function declaration isn't a
prototype
simplejson/_speedups.c: In function 'ascii_escape_unicode':
simplejson/_speedups.c:84: error: 'PyObject' undeclared (first use in
this function)
simplejson/_speedups.c:84: error: 'rval' undeclared (first use in this
function)
simplejson/_speedups.c:86: error: 'Py_UNICODE' undeclared (first use
in this function)
simplejson/_speedups.c:86: error: 'input_unicode' undeclared (first
use in this function)
simplejson/_speedups.c:88: warning: implicit declaration of function
'PyUnicode_GET_SIZE'
simplejson/_speedups.c:88: error: 'pystr' undeclared (first use in
this function)
simplejson/_speedups.c:89: warning: implicit declaration of function
'PyUnicode_AS_UNICODE'
simplejson/_speedups.c:92: warning: implicit declaration of function
'PyString_FromStringAndSize'
simplejson/_speedups.c:92: error: 'NULL' undeclared (first use in this
function)
simplejson/_speedups.c:96: warning: implicit declaration of function
'PyString_AS_STRING'
simplejson/_speedups.c:96: warning: assignment makes pointer from
integer without a cast
simplejson/_speedups.c:100: error: parse error before 'c'
simplejson/_speedups.c:101: error: 'c' undeclared (first use in this
function)
simplejson/_speedups.c:113: warning: implicit declaration of function
'_PyString_Resize'
simplejson/_speedups.c:116: warning: assignment makes pointer from
integer without a cast
simplejson/_speedups.c: At top level:
simplejson/_speedups.c:126: error: parse error before '*' token
simplejson/_speedups.c:127: error: parse error before '*' token
simplejson/_speedups.c:127: warning: return type defaults to 'int'
simplejson/_speedups.c:127: warning: function declaration isn't a
prototype
simplejson/_speedups.c: In function 'ascii_escape_str':
simplejson/_speedups.c:132: error: 'PyObject' undeclared (first use in
this function)
simplejson/_speedups.c:132: error: 'rval' undeclared (first use in
this function)
simplejson/_speedups.c:136: warning: implicit declaration of function
'PyString_GET_SIZE'
simplejson/_speedups.c:136: error: 'pystr' undeclared (first use in
this function)
simplejson/_speedups.c:137: warning: assignment makes pointer from
integer without a cast
simplejson/_speedups.c:140: error: 'NULL' undeclared (first use in
this function)
simplejson/_speedups.c:144: warning: assignment makes pointer from
integer without a cast
simplejson/_speedups.c:148: error: 'Py_UNICODE' undeclared (first use
in this function)
simplejson/_speedups.c:148: error: parse error before 'c'
simplejson/_speedups.c:149: error: 'c' undeclared (first use in this
function)
simplejson/_speedups.c:153: error: 'uni' undeclared (first use in this
function)
simplejson/_speedups.c:154: warning: implicit declaration of function
'Py_DECREF'
simplejson/_speedups.c:155: warning: implicit declaration of function
'PyUnicode_DecodeUTF8'
simplejson/_speedups.c:175: warning: assignment makes pointer from
integer without a cast
simplejson/_speedups.c: At top level:
simplejson/_speedups.c:189: error: parse error before string constant
simplejson/_speedups.c:189: warning: type defaults to 'int' in
declaration of 'PyDoc_STRVAR'
simplejson/_speedups.c:189: warning: function declaration isn't a
prototype
simplejson/_speedups.c:189: warning: data definition has no type or
storage class
simplejson/_speedups.c:191: error: parse error before '*' token
simplejson/_speedups.c:192: error: parse error before '*' token
simplejson/_speedups.c:199: error: parse error before string constant
simplejson/_speedups.c:199: warning: type defaults to 'int' in
declaration of 'PyErr_SetString'
simplejson/_speedups.c:199: warning: function declaration isn't a
prototype
simplejson/_speedups.c:199: warning: data definition has no type or
storage class
simplejson/_speedups.c:210: error: parse error before
'speedups_methods'
simplejson/_speedups.c:210: warning: type defaults to 'int' in
declaration of 'speedups_methods'
simplejson/_speedups.c:211: warning: braces around scalar initializer
simplejson/_speedups.c:211: warning: (near initialization for
'speedups_methods[0]')
simplejson/_speedups.c:211: warning: initialization makes integer from
pointer without a cast
simplejson/_speedups.c:211: error: 'PyCFunction' undeclared here (not
in a function)
simplejson/_speedups.c:211: warning: excess elements in scalar
initializer
simplejson/_speedups.c:211: warning: (near initialization for
'speedups_methods[0]')
simplejson/_speedups.c:211: error: parse error before
'py_encode_basestring_ascii'
simplejson/_speedups.c:211: error: 'METH_O' undeclared here (not in a
function)
simplejson/_speedups.c:211: warning: excess elements in scalar
initializer
simplejson/_speedups.c:211: warning: (near initialization for
'speedups_methods[0]')
simplejson/_speedups.c:211: error: 'pydoc_encode_basestring_ascii'
undeclared here (not in a function)
simplejson/_speedups.c:211: warning: excess elements in scalar
initializer
simplejson/_speedups.c:211: warning: (near initialization for
'speedups_methods[0]')
simplejson/_speedups.c:212: warning: braces around scalar initializer
simplejson/_speedups.c:212: warning: (near initialization for
'speedups_methods[1]')
simplejson/_speedups.c:212: error: empty scalar initializer
simplejson/_speedups.c:212: error: (near initialization for
'speedups_methods[1]')
simplejson/_speedups.c:213: warning: data definition has no type or
storage class
simplejson/_speedups.c: In function 'init_speedups':
simplejson/_speedups.c:219: error: 'PyObject' undeclared (first use in
this function)
simplejson/_speedups.c:219: error: 'm' undeclared (first use in this
function)
simplejson/_speedups.c:219: error: invalid operands to binary *
simplejson/_speedups.c:219: warning: statement with no effect
simplejson/_speedups.c:220: warning: implicit declaration of function
'Py_InitModule4'
simplejson/_speedups.c:220: error: 'NULL' undeclared (first use in
this function)
simplejson/_speedups.c:220: error: 'PYTHON_API_VERSION' undeclared
(first use in this function)
simplejson/_speedups.c:220: warning: statement with no effect
lipo: can't open input file: /var/tmp//cct8D6wj.out (No such file or
directory)
**********************************************************************
WARNING: The C extension could not be compiled, speedups are not
enabled.

Below is the output showing how the compilation failed:

command 'gcc' failed with exit status 1
**********************************************************************
error: Setup script exited with error: can't copy 'simplejson.egg-info/
native_libs.txt': doesn't exist or not a regular file


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to