net-zope/plone-3.1.7 depends on dev-lang/python-2.4 and dev-python/imaging-1.1.7 but imaging gets installed for dev-lang/python-2.6 only. So if you follow the guides on various gentoo howtos and start the zope-server, you are not able to choose a Plone-Site to set up the CMS in the zope ZMI. If you start the zope server in foreground by using zopectl you get an error: ImportError: No module named PIL Reproducible: Always Steps to Reproduce: 1. emerge plone 2. zope-config 3. zprod-manager add 4. cd /var/lib/zope/zope-INSTANCE/bin 5. ./zopectl -i 6. fg Actual Results: ImportError: No module named PIL Expected Results: Install dev-python/imaging-1.1.7 as a python-2.4 site-package Workaround: Download source-code from http://www.pythonware.com/products/pil/ and unpack. Use eselect python set VERSION to switch python version, type python setup.py install to install imaging as python-2.4 package. Don't forget to reset you python version by running eselct again.
@python: what is the common approach to resolve this issue?
I think you can do USE_PYTHON="2.4" emerge imaging.
(In reply to comment #2) > I think you can do USE_PYTHON="2.4" emerge imaging. dev-python/imaging might be required by some packages installed for Python 2.6, so USE_PYTHON="2.4 2.6" might be better.
The next version of Plone will support Python 2.6. (In reply to comment #3) Also it's generally recommended to set USE_PYTHON variable in /etc/make.conf, so that all packages are built for the same versions of Python. Please remember to run python-updater after setting/changing USE_PYTHON variable.
Has there been any move to make an ebuild using the Plone Unified Installer. This seems to be the recommended way to install plone.
net-zope packages have been removed from the tree.