Re: issues installing Cheetah on OS X 10.7.2

"R. Tyler Croy" <[email protected]> Tue, 17 Jan 2012 20:16:56 -0800
Newsgroups gmane.comp.python.cheetah
Message-ID <[email protected]>
--===============3506692155682191616==
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="1ccMZA6j1vT5UqiK"
Content-Disposition: inline


--1ccMZA6j1vT5UqiK
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable


On Tue, 17 Jan 2012, Kerry Kurian wrote:

> Hi group,
>=20
> two parts:
>=20
> 1. I installed Cheetah 2.4.4 via package download and python setup.py
> install, and got this:
>=20
> One or more C extensions failed to build. Performance enhancements
> will not be available. Pure Python installation succeeded.
>=20
> If anyone knows how to fix that, I'd love to know. (FWIW I have
> XCode 4.2.1 installed.)

I wonder if this might have been caused by Lion defaulting to clang(1) for =
its
default C compiler. You might try setting the CC=3D/usr/bin/gcc4.2 (if I re=
member
correctly) environment variable and try again.

>=20
> 2. cheetah test gives me a boadload of errors and two fails.
>=20
> The errors look like this:
>=20
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DERROR: test1
> (Cheetah.Tests.NameMapper.VFFSL) string in dict lookup
> ---------------------------------- Traceback (most recentcall last): File
> "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/
> site-packages/Cheetah-2.4.4-py2.7.egg/Cheetah/Tests/NameMapper.py",
> line 510, in setUp del ns['anInt'] # will be picked up by globals
> KeyError: 'anInt'
>=20
> The two fails are as follows:
>=20
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DFAIL:
> test_compilationCache (Cheetah.Tests.Template.ClassMethods_compile)
> ---------------------------------- Traceback (most recent call last): File
> "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/
> site-packages/Cheetah-2.4.4-py2.7.egg/Cheetah/Tests/Template.py",
> line 158, in test_compilationCache assert not
> klass._CHEETAH_isInCompilationCache AssertionError
>=20
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DFAIL:
> test_keepRefToGeneratedCodeArg (Cheetah.Tests.Template.ClassMethods_compi=
le)
> ---------------------------------- Traceback (most recent call last): File
> "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/
> site-packages/Cheetah-2.4.4-py2.7.egg/Cheetah/Tests/Template.py", line 13=
3,
> in test_keepRefToGeneratedCodeArg assert not t.generatedModuleCode()
> AssertionError
>=20
> ----------------------------------------------------------------------
>=20
> Any ideas? Safe to ignore those? If not, what's the fix?

I've not seen these errors, I also don't have a Mac running around to test =
on
:/

Could you grab the latest from https://github.com/rtyler/cheetah and try th=
at?

- R. Tyler Croy
--------------------------------------
    Code: http://github.com/rtyler
 Chatter: http://twitter.com/agentdero
          [email protected]

--1ccMZA6j1vT5UqiK
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)

iEYEARECAAYFAk8WR7gACgkQFCbH3D9R4W8NrwCfaw+VqRcGGYgfrrKPNqUG64LN
eSUAmwREwaTfqptGJ000WTlR6exPou+p
=hZFX
-----END PGP SIGNATURE-----

--1ccMZA6j1vT5UqiK--


--===============3506692155682191616==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
--===============3506692155682191616==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Cheetahtemplate-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cheetahtemplate-discuss

--===============3506692155682191616==--