Just deleted TG1.1 and tried TG1.0.4b2 and get the same problem. On Oct 29, 8:05 am, "Dr.T" <[EMAIL PROTECTED]> wrote: > Guys, > > Has anyone come across this problem - can't install TG 1.1 on a new > install of Ubuntu 7.10 (running gcc version 4.1.3 - the default). > > The Cheetah installation (which I don't use) blows up as follows: (any > ideas on a fix?) > > Using /usr/lib/python2.5/site-packages/TurboGears-1.1b1dev_r3555- > py2.5.egg > Processing dependencies for turbogears > Searching for Cheetah>=2.0rc8 > Readinghttp://files.turbogears.org/eggs/ > Best match: Cheetah 2.0rc8 > Downloadinghttp://files.turbogears.org/eggs/Cheetah-2.0rc8.tar.gz > Processing Cheetah-2.0rc8.tar.gz > Running Cheetah-2.0rc8/setup.py -q bdist_egg --dist-dir /tmp/ > easy_install-6O1FHQ/Cheetah-2.0rc8/egg-dist-tmp-HcKDrw > warning: no files found matching '*.cfg' > warning: no files found matching 'examples' > warning: no files found matching 'docs' > warning: no files found matching 'bin' > warning: no files found matching '*' under directory 'docs' > warning: no files found matching '*' under directory 'examples' > warning: no previously-included files matching '*.pyc' found under > directory 'src' > warning: no previously-included files matching '*~' found under > directory 'src' > warning: no previously-included files matching '*.aux' found under > directory 'src' > warning: no previously-included files matching '*~' found under > directory 'docs' > warning: no previously-included files matching '*.aux' found under > directory 'docs' > src/_namemapper.c:15:58: error: Python.h: No such file or directory > src/_namemapper.c:16:20: error: string.h: No such file or directory > src/_namemapper.c:17:20: error: stdlib.h: No such file or directory > src/_namemapper.c:24: error: expected '=', ',', ';', 'asm' or > '__attribute__' before '*' token > src/_namemapper.c:25: error: expected '=', ',', ';', 'asm' or > '__attribute__' before '*' token > src/_namemapper.c:26: error: expected '=', ',', ';', 'asm' or > '__attribute__' before '*' token > src/_namemapper.c:75: error: expected declaration specifiers or '...' > before 'PyObject' > src/_namemapper.c: In function 'setNotFoundException': > src/_namemapper.c:79: error: 'PyObject' undeclared (first use in this > function) > src/_namemapper.c:79: error: (Each undeclared identifier is reported > only once > src/_namemapper.c:79: error: for each function it appears in.) > src/_namemapper.c:79: error: 'exceptionStr' undeclared (first use in > this function) > src/_namemapper.c:79: error: 'NULL' undeclared (first use in this > function) > src/_namemapper.c:80: warning: implicit declaration of function > 'Py_BuildValue' > src/_namemapper.c:81: warning: implicit declaration of function > 'PyString_ConcatAndDel' > src/_namemapper.c:86: warning: implicit declaration of function > 'PyObject_CallFunctionObjArgs' > src/_namemapper.c:86: error: 'pprintMod_pformat' undeclared (first use > in this function) > src/_namemapper.c:86: error: 'namespace' undeclared (first use in this > function) > src/_namemapper.c:88: warning: implicit declaration of function > 'PyErr_SetObject' > src/_namemapper.c:88: error: 'NotFound' undeclared (first use in this > function) > src/_namemapper.c:89: warning: implicit declaration of function > 'Py_DECREF' > src/_namemapper.c: At top level: > src/_namemapper.c:93: error: expected declaration specifiers or '...' > before 'PyObject' > src/_namemapper.c: In function 'wrapInternalNotFoundException': > src/_namemapper.c:95: error: 'PyObject' undeclared (first use in this > function) > src/_namemapper.c:95: error: 'excType' undeclared (first use in this > function) > src/_namemapper.c:95: error: 'excValue' undeclared (first use in this > function) > src/_namemapper.c:95: warning: left-hand operand of comma expression > has no effect > src/_namemapper.c:95: error: 'excTraceback' undeclared (first use in > this function) > src/_namemapper.c:95: warning: left-hand operand of comma expression > has no effect > src/_namemapper.c:95: error: 'isAlreadyWrapped' undeclared (first use > in this function) > src/_namemapper.c:95: error: 'NULL' undeclared (first use in this > function) > src/_namemapper.c:95: warning: left-hand operand of comma expression > has no effect > src/_namemapper.c:99: warning: implicit declaration of function > 'PyErr_Occurred' > src/_namemapper.c:99: warning: implicit declaration of function > 'PyErr_GivenExceptionMatches' > src/_namemapper.c:99: error: 'NotFound' undeclared (first use in this > function) > src/_namemapper.c:100: warning: implicit declaration of function > 'PyErr_Fetch' > src/_namemapper.c:101: warning: implicit declaration of function > 'PyObject_CallMethod' > src/_namemapper.c:102: warning: implicit declaration of function > 'PyInt_AsLong' > src/_namemapper.c:110: error: 'pprintMod_pformat' undeclared (first > use in this function) > src/_namemapper.c:110: error: 'namespace' undeclared (first use in > this function) > src/_namemapper.c:114: warning: implicit declaration of function > 'PyErr_Restore' > src/_namemapper.c: In function 'getNameChunks': > src/_namemapper.c:131: warning: implicit declaration of function > 'PyErr_SetString' > src/_namemapper.c:131: error: 'TooManyPeriods' undeclared (first use > in this function) > src/_namemapper.c: At top level: > src/_namemapper.c:150: error: expected ')' before '*' token > src/_namemapper.c:162: error: expected '=', ',', ';', 'asm' or > '__attribute__' before '*' token > src/_namemapper.c:179: error: expected '=', ',', ';', 'asm' or > '__attribute__' before '*' token > src/_namemapper.c:234: error: expected '=', ',', ';', 'asm' or > '__attribute__' before '*' token > src/_namemapper.c:248: error: expected '=', ',', ';', 'asm' or > '__attribute__' before '*' token > src/_namemapper.c:282: error: expected '=', ',', ';', 'asm' or > '__attribute__' before '*' token > src/_namemapper.c:335: error: expected '=', ',', ';', 'asm' or > '__attribute__' before '*' token > src/_namemapper.c:402: error: expected '=', ',', ';', 'asm' or > '__attribute__' before '*' token > src/_namemapper.c:450: error: array type has incomplete element type > src/_namemapper.c:451: error: 'namemapper_valueForKey' undeclared here > (not in a function) > src/_namemapper.c:452: error: 'PyCFunction' undeclared here (not in a > function) > src/_namemapper.c:452: error: expected '}' before > 'namemapper_valueForName' > src/_namemapper.c:453: error: expected '}' before > 'namemapper_valueFromSearchList' > src/_namemapper.c:454: error: expected '}' before > 'namemapper_valueFromFrame' > src/_namemapper.c:455: error: expected '}' before > 'namemapper_valueFromFrameOrSearchList' > src/_namemapper.c:456: error: 'NULL' undeclared here (not in a > function) > src/_namemapper.c:464: warning: return type defaults to 'int' > src/_namemapper.c: In function 'DL_EXPORT': > src/_namemapper.c:464: error: expected declaration specifiers before > 'init_namemapper' > src/_namemapper.c:483: error: expected '{' at end of input > error: Setup script exited with error: command 'gcc' failed with exit > status 1 > > Thanks for your help, regards, > > Tim
--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

