Op 26-05-10 17:09, Andreas Jung schreef:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Maurits van Rees wrote:
>> Hi all,
>>
>> So, the latest Ubuntu 10.04 (Lucid Lynx) no longer has python2.4
>> packages. Luckily we have the python buildout, advertised more for the
>> Mac but working on Linux quite well too:
>> http://svn.plone.org/svn/collective/buildout/python
>>
>> PIL even gets installed. Plone 3 starts up fine when you create a
>> buildout with the python2.4 executable created in this way. But
>> uploading a jpeg file will work but fail to create a thumbnail, preview,
>> etcetera. This is because the _imaging module cannot be imported
>> because libjpeg cannot be found:
>>
>
> Are you using the PIL/PilwoTK egg or tried to compile PIL manually?
I am using the PIL that is built as part of the python buildout, with
this part definition:
[python-2.4-PIL]
recipe = plone.recipe.command
location = ${python-2.4:location}
command =
for i in ${opt:location}/include/j*.h; do ln -fs $i
${:location}/include; done
for i in ${opt:location}/lib/libjpeg*; do ln -fs $i
${:location}/lib; done
for i in ${opt:location}/lib/libz*; do ln -fs $i ${:location}/lib; done
${:location}/bin/easy_install -f
http://dist.repoze.org/plone/latest -U PIL==1.1.6
update-command = ${:command}
The dist.repoze.org url contains PIL-1.1.6.tar.gz, so it's a source
distribution that is getting compiled.
--
Maurits van Rees
Programmer, Zest Software
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers