OK, this is a bit desperate but download cheetah 1.0, extract it, then 
disable the _namemapper extension by commenting out lines 24-29 of 
SetupConfig.py then run python2.5 setup.py sdist to create a source 
distribution. The file will be in the dist sub directory and then you 
can install your new egg:

easy_install -U Cheetah-1.0.egg

If I'm not mistaken this should install Cheetah without doing the 
compilation and I think it should work without it, just a little slower. 
Then you can install Pylons again.

If that doesn't work you could try looking for an Ubuntu package that 
someone has already made?

Hope it works,

James




3KWA wrote:
> James Gardner wrote:
>> You could try installing Cheetah 1.0 instead. Using the Python 2.5
>> version of easy_install and all one line:
>>
>> easy_install -U
>> http://cheeseshop.python.org/packages/source/C/Cheetah/Cheetah-1.0.tar.gz#md5=aaa4907b8877093b9bb11e6cea6b029b
> 
> Hi James,
> 
> I tried but didn't reach the try installing Pylons again stage as
> Cheetah fails:
> 
> Downloading
> http://cheeseshop.python.org/packages/source/C/Cheetah/Cheetah-1.0.tar.gz#md5=aaa4907b8877093b9bb11e6cea6b029b
> Processing Cheetah-1.0.tar.gz
> Running Cheetah-1.0/setup.py -q bdist_egg --dist-dir
> /tmp/easy_install-3_5yGP/Cheetah-1.0/egg-dist-tmp-Q2IkMn
> 
> [...]
> 
> src/_namemapper.c:456: warning: excess elements in struct initializer
> src/_namemapper.c:456: warning: (near initialization for
> `namemapper_methods[5]')
> src/_namemapper.c: In function `init_namemapper':
> src/_namemapper.c:466: error: `m' undeclared (first use in this
> function)
> src/_namemapper.c:466: error: `d' undeclared (first use in this
> function)
> src/_namemapper.c:466: error: `pprintMod' undeclared (first use in this
> function)
> src/_namemapper.c:466: warning: left-hand operand of comma expression
> has no effect
> src/_namemapper.c:466: warning: left-hand operand of comma expression
> has no effect
> src/_namemapper.c:469: error: syntax error before ')' token
> src/_namemapper.c:479: error: syntax error before ')' token
> src/_namemapper.c:479: error: syntax error before ')' token
> src/_namemapper.c:479: error: syntax error before ')' token
> src/_namemapper.c: In function `wrapInternalNotFoundException':
> src/_namemapper.c:95: warning: statement with no effect
> src/_namemapper.c: In function `init_namemapper':
> src/_namemapper.c:466: warning: statement with no effect
> error: Setup script exited with error: command 'gcc' failed with exit
> status 1
> 
> I am in the dark ... :(
> 
> Thanks for your help,
> 
> EuGeNe
> 
> 
> > 


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to