<?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>pko.ch &#187; bluehost</title>
	<atom:link href="http://pko.ch/category/bluehost/feed/" rel="self" type="application/rss+xml" />
	<link>http://pko.ch</link>
	<description>Reflections about reflection</description>
	<lastBuildDate>Sat, 28 Mar 2009 16:23:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Moar python on Bluehost</title>
		<link>http://pko.ch/2008/05/08/moar-python-on-bluehost/</link>
		<comments>http://pko.ch/2008/05/08/moar-python-on-bluehost/#comments</comments>
		<pubDate>Thu, 08 May 2008 23:26:27 +0000</pubDate>
		<dc:creator>pkoch</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Mercurial]]></category>
		<category><![CDATA[bluehost]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[troubleshooting]]></category>

		<guid isPermaLink="false">http://pko.ch/?p=4</guid>
		<description><![CDATA[It all began with me wanting Mergurial (hg for short) on Bluehost. I find mercurial as good as git but with more polish. I just followed some tutorial to get hg on Bluehost, and it was good. However, I longed for more. Pylons more. It&#8217;s a lot of packages to install, so I really didn&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>It all began with me wanting <a href="http://www.selenic.com/mercurial/">Mergurial</a> (hg for short) on <a href="http://www.bluehost.com/">Bluehost</a>. I find mercurial as good as <a href="http://git.or.cz/">git</a> but with more polish. I just followed <a href="http://www.blusb.eu/blog/2007/09/17/mercurial-scm-in-shared-hosts-bluehostcom/">some tutorial to get hg on Bluehost</a>, and it was good.</p>
<p>However, I longed for more. <a href="http://pylonshq.com/">Pylons</a> more. It&#8217;s a lot of packages to install, so I really didn&#8217;t want to do it by hand. If I resign to do it this time, it will happen on my next coding whim too. I tried to use <a href="http://peak.telecommunity.com/dist/ez_setup.py">ez_setup</a>, but it would screw up with my prefix. Tried virtual python from the <a href="http://peak.telecommunity.com/DevCenter/EasyInstall">easy_install  guys</a>, no go either. Tried messing with PYTHONPATH, PATH and the like, but it became really ugly really fast.</p>
<p>Bluehost&#8217;s python is very old. Has a big beard and all. Bluehost already forces me to use cgi after all, so i get to choose who runs the script. It might as well be my own version of python. And so it was! Grabbed the source, built it with a prefix and, lo and behold, I had a shiny python working. That simple. The night before it was configuration madness. This time, <code>./configure --PREFIX=$HOME/local &#038;&#038; make &#038;&#038; make install</code> or some cash equivalent operation. All went good from there.</p>
<p>Lesson learned: In shared hosting, when forced to use cgi, <code>./configure --PREFIX=$HOME/local</code> goes a long way. Use it!</p>
]]></content:encoded>
			<wfw:commentRss>http://pko.ch/2008/05/08/moar-python-on-bluehost/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
