[Product-Developers] Re: Plone 4.0 trunk: buildout error installing PIL

Encolpe Degoute encolpe.degoute at free.fr
Tue Dec 29 22:17:09 UTC 2009


Hello,

I got often this error since PIL 1.1.7 is out.
I solved it by downloading the tar archive of 1.1.6 on
http://effbot.org/downloads/#imaging then use easy_install directly on it.

Regards,

Mirto Silvio Busico a écrit :
> Hi all,
> 
> I'm using
> https://svn.plone.org/svn/plone/buildouts/plone-coredev/branches/4.0/ on
> Kubuntu 9.10 64 bit
> Python is 2.6.4
> PIL is 1.1.6-3ubuntu1
> 
> when I try bin/buildout I receive the error:
> 
> .....
> Getting distribution for 'PIL==1.1.6'.
> error: Couldn't find a setup script in /usr/lib/python2.6/dist-packages/PIL
> An error occured when trying to install PIL 1.1.6. Look above this
> message for any errors that were output by easy_install.
> While:
> Installing zopepy.
> Getting distribution for 'PIL==1.1.6'.
> Error: Couldn't install: PIL 1.1.6
> 
> 
> Seems that the system installed PIL is not good for the buildout and it
> tries to override the system wide installation.
> The error appeared probably this week (not sure when I built last time
> without errors).
> 
> What can I do?
> 
> Thanks
> Mirto
> 
> P.S. here the complete
> log:mirto at msb02:/My/SW/Plone/for_plone4/plone40devel$ bin/develop
> checkout Zope2
> INFO: Checking out 'Zope2' with subversion.
> INFO: Activated 'Zope2'.
> WARNING: Don't forget to run buildout again, so the checked out packages
> are used as develop eggs.
> mirto at msb02:/My/SW/Plone/for_plone4/plone40devel$ bin/buildout
> mr.developer: Updating 'Plone' with subversion.
> mr.developer: Updating 'Products.CMFCore' with subversion.
> mr.developer: Updating 'Products.PlacelessTranslationService' with
> subversion.
> mr.developer: Updating 'Products.PortalTransforms' with subversion.
> mr.developer: Updating 'Zope2' with subversion.
> mr.developer: Updating 'plone.app.upgrade' with subversion.
> mr.developer: Updating 'plone.recipe.zope2instance' with subversion.
> Develop: '/My/SW/Plone/for_plone4/plone40devel/src/Zope2'
> src/AccessControl/cAccessControl.c:596: warning: initialization from
> incompatible pointer type
> src/AccessControl/cAccessControl.c:598: warning: 'intargfunc' is deprecated
> src/AccessControl/cAccessControl.c:598: warning: initialization from
> incompatible pointer type
> src/AccessControl/cAccessControl.c:599: warning: 'intargfunc' is deprecated
> src/AccessControl/cAccessControl.c:599: warning: initialization from
> incompatible pointer type
> src/AccessControl/cAccessControl.c:600: warning: 'intintargfunc' is
> deprecated
> src/AccessControl/cAccessControl.c:600: warning: initialization from
> incompatible pointer type
> src/AccessControl/cAccessControl.c:601: warning: initialization from
> incompatible pointer type
> src/AccessControl/cAccessControl.c:602: warning: initialization from
> incompatible pointer type
> src/AccessControl/cAccessControl.c:606: warning: 'intargfunc' is deprecated
> src/AccessControl/cAccessControl.c:606: warning: initialization from
> incompatible pointer type
> src/DocumentTemplate/cDocumentTemplate.c:169: warning: initialization
> from incompatible pointer type
> src/DocumentTemplate/cDocumentTemplate.c:600: warning: initialization
> from incompatible pointer type
> src/MultiMapping/_MultiMapping.c:159: warning: initialization from
> incompatible pointer type
> src/Record/_Record.c: In function 'Record___setstate__':
> src/Record/_Record.c:81: warning: passing argument 2 of 'PyDict_Next'
> from incompatible pointer type
> /usr/include/python2.6/dictobject.h:102: note: expected 'Py_ssize_t *'
> but argument is of type 'int *'
> src/Record/_Record.c: At top level:
> src/Record/_Record.c:338: warning: initialization from incompatible
> pointer type
> src/Record/_Record.c:340: warning: 'intargfunc' is deprecated
> src/Record/_Record.c:340: warning: initialization from incompatible
> pointer type
> src/Record/_Record.c:341: warning: 'intargfunc' is deprecated
> src/Record/_Record.c:341: warning: initialization from incompatible
> pointer type
> src/Record/_Record.c:342: warning: 'intintargfunc' is deprecated
> src/Record/_Record.c:342: warning: initialization from incompatible
> pointer type
> src/Record/_Record.c:343: warning: initialization from incompatible
> pointer type
> src/Record/_Record.c:344: warning: initialization from incompatible
> pointer type
> src/Record/_Record.c:425: warning: initialization from incompatible
> pointer type
> Develop: '/My/SW/Plone/for_plone4/plone40devel/src/plone.app.upgrade'
> Develop:
> '/My/SW/Plone/for_plone4/plone40devel/src/plone.recipe.zope2instance'
> Develop:
> '/My/SW/Plone/for_plone4/plone40devel/src/Products.PlacelessTranslationService'
> 
> Develop: '/My/SW/Plone/for_plone4/plone40devel/src/Plone'
> Develop:
> '/My/SW/Plone/for_plone4/plone40devel/src/Products.PortalTransforms'
> Develop: '/My/SW/Plone/for_plone4/plone40devel/src/Products.CMFCore'
> Updating _mr.developer.
> Installing zopepy.
> Getting distribution for 'PIL==1.1.6'.
> error: Couldn't find a setup script in /usr/lib/python2.6/dist-packages/PIL
> An error occured when trying to install PIL 1.1.6. Look above this
> message for any errors that were output by easy_install.
> While:
> Installing zopepy.
> Getting distribution for 'PIL==1.1.6'.
> Error: Couldn't install: PIL 1.1.6
> *************** PICKED VERSIONS ****************
> [versions]
> 
> *************** /PICKED VERSIONS ***************
> 
> 
> 
> _______________________________________________
> Product-Developers mailing list
> Product-Developers at lists.plone.org
> http://lists.plone.org/mailman/listinfo/product-developers


-- 
Encolpe DEGOUTE
http://encolpe.degoute.free.fr/
Logiciels libres, hockey sur glace et autres activités cérébrales





More information about the Product-Developers mailing list