* James Gardner <[EMAIL PROTECTED]> [2006-12-09 00:04:40 +0000]:

> 
> 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?

I've been pushing pylons and whatever dependencies weren't packaged when I
started, into Debian. Pylons is the only package that has not entered the
distrubution archive yet - see the topmost entry at
http://ftp-master.debian.org/new.html. It should go in any day now. A copy of
the package is at
http://debian.tagancha.org/download/python-pylons_0.9.3-1_all.deb.

Once python-pylons is in the Debian archive then tracking pylons and all the
dependencies on a Debian system will be as easy as pushing one button in the
package manager or giving one command to aptitude. Ubuntu will eventually pick
up pylons and the dependencies when they do their branching from
Debian/unstable for a new release, but until then one would have to download
all pylons dependencies separately from the Debian archive and install them
with "dpkg -i package_name.deb". The following information should help if
someone wants to do it package by package:

python-pylons depends on:
python,
python-support
python-routes
python-myghty
python-paste
python-pastedeploy
python-pastescript
python-formencode
python-simplejson
python-webhelpers
python-nose
python-beaker

recommends:
python-sqlalchemy or python-sqlobject

All the above packages can be found via the package search interface at
http://www.debian.org/distrib/packages#search_packages.

I hope it helps,

Alex.

> 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