Looks like that was the problem. Thanks for the help Mr. Singh. Much appreciated. I was beginning to think I'd be forced to use a alternative system.
William On Oct 11, 2:24 pm, Sanjiv Singh <[email protected]> wrote: > Do you have python2.5-dev installed too? You need the file > /usr/include/python2.5/Python.h > from that package. > > Sanjiv > > On Sun, Oct 11, 2009 at 11:49 PM, William Chambers > > <[email protected]> wrote: > > > I've tried running it with python2.5 and while it got a bit further, > > ran into a gcc compiling error. > > > Processing zope.interface-3.4.1.tar.gz > > Running zope.interface-3.4.1/setup.py -q bdist_egg --dist-dir /tmp/ > > easy_install-cYMsoK/zope.interface-3.4.1/egg-dist-tmp-ePYy7u > > src/zope/interface/_zope_interface_coptimizations.c:15:20: error: > > Python.h: No such file or directory > > src/zope/interface/_zope_interface_coptimizations.c:16:26: error: > > structmember.h: No such file or directory > > src/zope/interface/_zope_interface_coptimizations.c:22: error: > > expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token > > > It goes on for quite some time. > > > I double checked on a fresh install of karmic and I can confirm I 'do' > > have python-dev and build-essentials. > > > William > > > On Oct 9, 9:17 am, Hotsyk <[email protected]> wrote: > >> Try to use python2.5 - had the same bug with 2.6.3 > > >> On Oct 8, 2:07 am, William Chambers <[email protected]> wrote: > > >> > Whenever I try to install turbogears, I get this same error. Anyone > >> > have an idea of what I can do to fix it? > > >> > Searching for zope.interface > >> > Readinghttp://www.turbogears.org/2.0/downloads/current/index/zope.interface/ > >> > Best match: zope.interface 3.4.1 > >> > Downloadinghttp://www.turbogears.org/2.0/downloads/current/zope.interface-3.4.1.... > >> > Processing zope.interface-3.4.1.tar.gz > >> > Running zope.interface-3.4.1/setup.py -q bdist_egg --dist-dir /tmp/ > >> > easy_install-a0mBPZ/zope.interface-3.4.1/egg-dist-tmp-z3SAfT > >> > Traceback (most recent call last): > >> > File "tg2env/bin/easy_install", line 8, in <module> > >> > load_entry_point('setuptools==0.6c9', 'console_scripts', > >> > 'easy_install')() > >> > File "/home/william/Projects/tg2env/lib/python2.6/site-packages/ > >> > setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py", line > >> > 1671, in main > >> > File "/home/william/Projects/tg2env/lib/python2.6/site-packages/ > >> > setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py", line > >> > 1659, in with_ei_usage > >> > File "/home/william/Projects/tg2env/lib/python2.6/site-packages/ > >> > setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py", line > >> > 1675, in <lambda> > >> > File "/usr/lib/python2.6/distutils/core.py", line 152, in setup > >> > dist.run_commands() > >> > File "/usr/lib/python2.6/distutils/dist.py", line 975, in > >> > run_commands > >> > self.run_command(cmd) > >> > File "/usr/lib/python2.6/distutils/dist.py", line 995, in > >> > run_command > >> > cmd_obj.run() > >> > File "/home/william/Projects/tg2env/lib/python2.6/site-packages/ > >> > setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py", line > >> > 211, in run > >> > File "/home/william/Projects/tg2env/lib/python2.6/site-packages/ > >> > setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py", line > >> > 446, in easy_install > >> > File "/home/william/Projects/tg2env/lib/python2.6/site-packages/ > >> > setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py", line > >> > 478, in install_item > >> > File "/home/william/Projects/tg2env/lib/python2.6/site-packages/ > >> > setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py", line > >> > 519, in process_distribution > >> > File "/home/william/Projects/tg2env/lib/python2.6/site-packages/ > >> > setuptools-0.6c9-py2.6.egg/pkg_resources.py", line 522, in resolve > >> > File "/home/william/Projects/tg2env/lib/python2.6/site-packages/ > >> > setuptools-0.6c9-py2.6.egg/pkg_resources.py", line 758, in best_match > >> > File "/home/william/Projects/tg2env/lib/python2.6/site-packages/ > >> > setuptools-0.6c9-py2.6.egg/pkg_resources.py", line 770, in obtain > >> > File "/home/william/Projects/tg2env/lib/python2.6/site-packages/ > >> > setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py", line > >> > 446, in easy_install > >> > File "/home/william/Projects/tg2env/lib/python2.6/site-packages/ > >> > setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py", line > >> > 476, in install_item > >> > File "/home/william/Projects/tg2env/lib/python2.6/site-packages/ > >> > setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py", line > >> > 655, in install_eggs > >> > File "/home/william/Projects/tg2env/lib/python2.6/site-packages/ > >> > setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py", line > >> > 930, in build_and_install > >> > File "/home/william/Projects/tg2env/lib/python2.6/site-packages/ > >> > setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py", line > >> > 919, in run_setup > >> > File "/home/william/Projects/tg2env/lib/python2.6/site-packages/ > >> > setuptools-0.6c9-py2.6.egg/setuptools/sandbox.py", line 27, in > >> > run_setup > >> > File "/home/william/Projects/tg2env/lib/python2.6/site-packages/ > >> > setuptools-0.6c9-py2.6.egg/setuptools/sandbox.py", line 63, in run > >> > File "/home/william/Projects/tg2env/lib/python2.6/site-packages/ > >> > setuptools-0.6c9-py2.6.egg/setuptools/sandbox.py", line 29, in > >> > <lambda> > >> > File "setup.py", line 85, in <module> > >> > File "/usr/lib/python2.6/distutils/core.py", line 152, in setup > >> > dist.run_commands() > >> > File "/usr/lib/python2.6/distutils/dist.py", line 975, in > >> > run_commands > >> > self.run_command(cmd) > >> > File "/usr/lib/python2.6/distutils/dist.py", line 995, in > >> > run_command > >> > cmd_obj.run() > >> > File "/home/william/Projects/tg2env/lib/python2.6/site-packages/ > >> > setuptools-0.6c9-py2.6.egg/setuptools/command/bdist_egg.py", line 174, > >> > in run > >> > File "/home/william/Projects/tg2env/lib/python2.6/site-packages/ > >> > setuptools-0.6c9-py2.6.egg/setuptools/command/bdist_egg.py", line 161, > >> > in call_command > >> > File "/usr/lib/python2.6/distutils/cmd.py", line 333, in run_command > >> > self.distribution.run_command(command) > >> > File "/usr/lib/python2.6/distutils/dist.py", line 995, in > >> > run_command > >> > cmd_obj.run() > >> > File "/home/william/Projects/tg2env/lib/python2.6/site-packages/ > >> > setuptools-0.6c9-py2.6.egg/setuptools/command/install_lib.py", line > >> > 20, in run > >> > File "/usr/lib/python2.6/distutils/command/install_lib.py", line > >> > 113, in build > >> > self.run_command('build_ext') > >> > File "/usr/lib/python2.6/distutils/cmd.py", line 333, in run_command > >> > self.distribution.run_command(command) > >> > File "/usr/lib/python2.6/distutils/dist.py", line 995, in > >> > run_command > >> > cmd_obj.run() > >> > File "/home/william/Projects/tg2env/lib/python2.6/site-packages/ > >> > setuptools-0.6c9-py2.6.egg/setuptools/command/build_ext.py", line 46, > >> > in run > >> > File "/usr/lib/python2.6/distutils/command/build_ext.py", line 340, > >> > in run > >> > self.build_extensions() > >> > File "/usr/lib/python2.6/distutils/command/build_ext.py", line 449, > >> > in build_extensions > >> > self.build_extension(ext) > >> > File "/home/william/Projects/tg2env/lib/python2.6/site-packages/ > >> > setuptools-0.6c9-py2.6.egg/setuptools/command/build_ext.py", line 175, > >> > in build_extension > >> > File "/usr/lib/python2.6/distutils/command/build_ext.py", line 460, > >> > in build_extension > >> > ext_path = self.get_ext_fullpath(ext.name) > >> > File "/usr/lib/python2.6/distutils/command/build_ext.py", line 633, > >> > in get_ext_fullpath > >> > filename = self.get_ext_filename(modpath[-1]) > >> > File "/home/william/Projects/tg2env/lib/python2.6/site-packages/ > >> > setuptools-0.6c9-py2.6.egg/setuptools/command/build_ext.py", line 85, > >> > in get_ext_filename > >> > KeyError: '_zope_interface_coptimizations' --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

