[Setup] buildout problem

Richard Berger richi.berger at aon.at
Tue Jan 8 22:50:55 UTC 2008


Hello everybody!

I'm currently reading Martin Aspeli's book "Professional Plone
Development". However, I got stuck while trying to use buildout. After
searching various forums, mailing lists and googling most of this day
without any success, I feel quite lost. I hope someone can help me out
here:

I get this error while running ./bin/buildout -v

	Installing 'zc.buildout', 'setuptools'.
	We have the best distribution that satisfies 'zc.buildout'.
	Picked: zc.buildout = 1.0.0b31
	We have the best distribution that satisfies 'setuptools'.
	Picked: setuptools = 0.6c7
	Installing 'plone.recipe.plone'.
	We have no distributions for plone.recipe.plone that satisfies
	'plone.recipe.plone'.

After asking my question at #plone, it became clear that something must
be wrong with my environment, since my buildout.cfg seemed to be fine
for someone else. However I really can't find my mistake. Anyway, these
are the things I did:

My environment:
- Ubuntu 7.10 Gutsy Gibbon
- Python 2.5.1 and Python 2.4.4 (including dev packages) installed
- PIL installed
- elementtree installed

	$ cd ~
	$ wget http://peak.telecommunity.com/dist/ez_setup.py
	$ sudo python2.4 ez_setup.py
	$ sudo easy_install ZopeSkel
	$ paster create -t plone3_buildout optilux
	$ cd optilux

I added the following line to the buildout.cfg in the [buildout] section
to make sure I'm using python 2.4 (as mentioned in the README.txt):

	executable = /usr/bin/python2.4

And entered the following commands:

	$ python2.4 bootstrap.py
	$ ./bin/buildout -v

Which produced the output mentioned above.

I tried various things like reinstalling the prerequisites and doing
everything all over again. But without luck. As I mentioned, the
buildout.cfg seems to be fine, so I'm kinda running out of ideas...

HELP! :-)

Best regards,

Richard




More information about the Setup mailing list