<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Sapere aude! &#187; plone4</title>
	<atom:link href="http://dukebody.com/tag/plone4/feed/" rel="self" type="application/rss+xml" />
	<link>http://dukebody.com</link>
	<description>Dare to know - Atrévete a servirte de tu propia razón</description>
	<lastBuildDate>Tue, 24 Apr 2012 18:36:42 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Installing Plone 4.0a1 on Debian</title>
		<link>http://dukebody.com/2009/11/installing-plone-40a1-on-debian/</link>
		<comments>http://dukebody.com/2009/11/installing-plone-40a1-on-debian/#comments</comments>
		<pubDate>Thu, 19 Nov 2009 23:48:25 +0000</pubDate>
		<dc:creator>Israel Saeta Pérez</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[plone]]></category>
		<category><![CDATA[plone4]]></category>

		<guid isPermaLink="false">http://dukebody.com/?p=104</guid>
		<description><![CDATA[I just read on a tweet that the first alpha release of Plone 4 is already available for testing and I wasn&#8217;t able to resist the temptation. :P  As some people have already pointed out, Python 2.6 for Debian is only available from the experimental repository, and most of us prefer to stay testing or [...]]]></description>
			<content:encoded><![CDATA[<p>I just read on <a href="http://twitter.com/esteele/status/5868522625">a tweet</a> that the first alpha release of Plone 4 is already available for testing and I wasn&#8217;t able to resist the temptation. :P  As some people have already pointed out, Python 2.6 for Debian is only available from the experimental repository, and most of us prefer to stay testing or unstable at most. :)</p>
<p>Thanks god, there&#8217;s a buildout recipe (we should create a Linux distro based on buildout someday, alecm ;) to build Python from source in an isolated environment. Steps:</p>
<ol>
<li>svn co https://svn.plone.org/svn/collective/buildout/python/ buildout.python</li>
<li>cd buildout.python; python bootstrap.py</li>
<li>Edit buildout.cfg to fit your needs. You might want to comment out the references to the Python versions you don&#8217;t want to install.</li>
<li>bin/buildout</li>
<li>cd to-another-directory; paster create -t plone3_buildout plone4.</li>
<li>Enter &#8220;4.0a1&#8243; (without quotes) when asked about &#8220;Which Plone version to install&#8221;. Make sure you have the last version of ZopeSkel (2.14.1 while I&#8217;m writing this &#8211; easy_install -U ZopeSkel) or the generated buildout.cfg won&#8217;t be valid for Plone 4 otherwise. Thanks to MatthewWilkes for the pointer and of course for the ZopeSkel release. :)</li>
<li>path-to-buildout.python/python-2.6/bin/python bootstrap.py</li>
<li>bin/buildout. If you get tons of lines in your console output about fetching distribute, see <a href="http://reinout.vanrees.org/weblog/2009/11/13/distribute-buildout-recursion-fixed.html">this post</a> by Reinout van Rees.</li>
<li>You&#8217;ll need to install PIL to run Plone, so do either:
<ol>
<li>python-2.6/bin/easy_install-2.6 http://dist.repoze.org/PIL-1.1.6.tar.gz, or</li>
<li>Add PIL or PILwoTk to any of the eggs sections of your Plone 4 buildout and re-run bin/buildout.</li>
</ol>
</li>
</ol>
<p>If you stumble upon an error message similar to:</p>
<pre>Downloading http://dist.repoze.org/PIL-1.1.6.tar.gz
Processing PIL-1.1.6.tar.gz
Running PIL-1.1.6/setup.py -q bdist_egg --dist-dir /tmp/easy_install-Fev48C/PIL-1.1.6/egg-dist-tmp-SNtCRu
In file included from decode.c:608:
libImaging/Zip.h:11:18: error: zlib.h: No such file or directory
In file included from decode.c:608:
libImaging/Zip.h:37: error: expected specifier-qualifier-list before ‘z_stream’
error: Setup script exited with error: command 'gcc' failed with exit status 1</pre>
<p>try &#8220;aptitude install zlib1g-dev&#8221;. Thanks davisagli!</p>
<p>The previous procedure should work&#8230; But it didn&#8217;t in my system. :(  I get an error in the buildout.python bin/buildout:</p>
<pre>SystemError: <span class="br0">(</span>'Failed', 'patch -p0 &lt; /somepath/buildout.python/parts/readline-patch/readline.patch'<span class="br0">)</span></pre>
<p>I&#8217;ve already tweeted fschulze (who is presumably the author of the collective.buildout.python stuff, according to comments in the #plone IRC channel) about this issue. I hope it will get solved soon! :)</p>
<p>In the meanwhile, removing or commenting out the stuff about readline.patch in the collective.buildout.python buildout.cfg before running bin/buildout appears to be a valid workaround, at least for me.</p>
]]></content:encoded>
			<wfw:commentRss>http://dukebody.com/2009/11/installing-plone-40a1-on-debian/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

