Hi,

I downloaded the Plone4rc1 UnifiedInstaller on a debian machine
(2.6.26-2-amd64  2.6.26-21lenny4) and I get:
...
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes -fPIC -I/usr/include/freetype2 -IlibImaging
-I/home/zope/instances/webtide.co.za/Python-2.6/include -I/usr/local/include
-I/usr/include -I/home/zope/instances/
webtide.co.za/Python-2.6/include/python2.6 -c _imagingtk.c -o
build/temp.linux-x86_64-2.6/_imagingtk.o
_imagingtk.c:20:16: error: tk.h: No such file or directory

But /usr/include/tk does contain tk.h

I tried the following:
* I apt-get installed tk-dev (8.4.16-2) and tcl-dev and reran the buidout -
same problem.
* I then pulled the Imaging1.1.6 tarball, untarred it and ran setup.py
install using the python2.6 in the new Plone4 instance - same problem.
* I pulled pil.cfg from
http://svn.plone.org/svn/plone/buildouts/plone-coredev/branches/4.0/ and ran
./bin/buildout -c pil.cfg - same problem

Eventually I got it to work by adding the following line in the pil
setup.py:
  add_directory(include_dirs, "/usr/include/tk")

I'm not sure if this is a problem with Debian or python2.6

Mike
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to