Re: Cheetah namemapper.c won't compile on Ubunut 10.04 amd64 with python 2.6.5
Aahz <[email protected]> Sun, 4 Jul 2010 08:18:14 -0700
| Newsgroups | gmane.comp.python.cheetah |
|---|---|
| Organization | The Cat & Dragon |
| Message-ID | <[email protected]> |
On Sun, Jul 04, 2010, Peter Lyons wrote: > > I'm trying to run setup.py to install Cheetah 2.4.2.1 on Ubuntu Server > 10.04 amd64 with gcc 4.4.3. The python version is 2.6.5. Here is the > failure output. Can anyone help me get this fixed up? > > building 'Cheetah._namemapper' extension > creating build/temp.linux-x86_64-2.6 > creating build/temp.linux-x86_64-2.6/cheetah > creating build/temp.linux-x86_64-2.6/cheetah/c > gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall > -Wstrict-prototypes -fPIC -I/usr/include/python2.6 -c > cheetah/c/_namemapper.c -o > build/temp.linux-x86_64-2.6/cheetah/c/_namemapper.o > cheetah/c/_namemapper.c:15:20: error: Python.h: No such file or directory Start right here! You haven't installed python-devel or something like that. -- Aahz ([email protected]) <*> http://www.pythoncraft.com/ "If you don't know what your program is supposed to do, you'd better not start writing it." --Dijkstra ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first