<?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>Alain M. Lafon &#187; Compile Python</title> <atom:link href="http://blog.dispatched.ch/tag/compile-python/feed/" rel="self" type="application/rss+xml" /><link>http://blog.dispatched.ch</link> <description>code, life and struggles thereof</description> <lastBuildDate>Mon, 16 Jan 2012 13:44:17 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>Juno on Solaris 10</title><link>http://blog.dispatched.ch/2009/05/18/juno-on-solaris-10/</link> <comments>http://blog.dispatched.ch/2009/05/18/juno-on-solaris-10/#comments</comments> <pubDate>Mon, 18 May 2009 13:23:30 +0000</pubDate> <dc:creator>Alain M. Lafon</dc:creator> <category><![CDATA[articles]]></category> <category><![CDATA[Compile Python]]></category> <category><![CDATA[howto]]></category> <category><![CDATA[Juno]]></category> <category><![CDATA[lightweight]]></category> <category><![CDATA[python]]></category> <category><![CDATA[Solaris 10]]></category> <category><![CDATA[tutorial]]></category> <category><![CDATA[webframework]]></category> <guid
isPermaLink="false">http://blog.dispatched.ch/?p=753</guid> <description><![CDATA[Juno is an incredibly lightweight webframework. Using Python as backend, it fullfills my very need for just about every small application I want to deploy against the web. It has no need for big runtimes on the server, no files to configure a great many files and most importantly: there&#8217;s no coding overhead &#8211; the [...]]]></description> <content:encoded><![CDATA[<p><a
href="http://brianreily.com/project/juno" class="broken_link">Juno</a> is an incredibly lightweight webframework. Using Python as backend, it fullfills my very need for just about every small application I want to deploy against the web. It has no need for big runtimes on the server, no files to configure a great many files and most importantly: there&#8217;s no coding overhead &#8211; the programmer defines only the distinctively wanted features.<br
/> However, installing Juno on Solaris 10 isn&#8217;t quite as easy as described in Junos&#8217; documentation. Solaris ships with Python 2.4, but Juno depends in Jinja2(a templating engine) which itself depends on Python 2.5+. Even installing Blastwave&#8217;s or Sunfreeware&#8217;s version won&#8217;t help. But that&#8217;s no biggie since compiling your own Python is incredibly easy.</p><ol><li>Get, compile and install Python (I have used version 2.5.4)<ul><li><a
href="http://www.python.org/download/releases/" target="_blank">http://www.python.org/download/releases/</a></li><li>unpack</li><li>make sure you have a recent version of GCC installed</li><li>./configure &amp;&amp; make &amp;&amp; make install</li><li>as a result Python will be installed in /usr/local</li></ul></li><p></p><li>Get, compile and install Setuptools<ul><li><a
href="http://pypi.python.org/pypi/setuptools" target="_self">http://pypi.python.org/pypi/setuptools</a></li><li>unpack</li><li>python setup.py install</li></ul><p></li><li> Get, compile and install  pysqlite<ul><li><a
href="http://oss.itsystementwicklung.de/trac/pysqlite/wiki/WikiStart#Downloads" target="_blank">http://oss.itsystementwicklung.de/trac/pysqlite/wiki/WikiStart#Downloads</a></li><li>unpack</li><li>add line &#8220;library_dirs=/usr/local/lib&#8221; to pysqlite-x.y.z/setup.cfg</li><li>globally export your library paths:<li>LD_LIBRARY_PATH=/opt/csw/lib/:/usr/lib/:/lib/:/usr/local/lib:$LD_LIBRARY_PATH ; export LD_LIBRARY_PATH</li><li>python setup.py install</li></ul></li><li>easy_install install sqlalchemy</li><p></p><li>easy_install jinja2</li><p></p><li>Get, compile and install Juno<ul><li><a
href="http://brianreily.com/project/juno" target="_blank" class="broken_link"> http://brianreily.com/project/juno</a></li><li>python setup.py install</li></ul><p></li></ol><p>Enjoy.</p> ]]></content:encoded> <wfw:commentRss>http://blog.dispatched.ch/2009/05/18/juno-on-solaris-10/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>

<!-- W3 Total Cache: Minify debug info:
Engine:             disk: basic
Theme:              44184
Template:           tag
-->
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Served from: blog.dispatched.ch @ 2012-02-10 15:25:47 -->

<!-- W3 Total Cache: Page cache debug info:
Engine:             disk: basic
Cache key:          w3tc_blog.dispatched.ch_1_page_d3fa01318b1ba2a652b7305b3936c2bc_gzip
Caching:            enabled
Status:             not cached
Creation Time:      1.001s
Header info:
ETag:               "274915380f43058ea86f113a32d41d8b"
Last-Modified:      Mon, 16 Jan 2012 13:44:17 GMT
Vary:               Accept-Encoding, Cookie
X-Powered-By:       W3 Total Cache/0.9.2.4
Content-Encoding:   gzip
X-Pingback:         http://blog.dispatched.ch/xmlrpc.php
Content-Type:       text/xml; charset=UTF-8
-->
