Juno on Solaris 10
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’s no coding overhead – the programmer defines only the distinctively wanted features.
However, installing Juno on Solaris 10 isn’t quite as easy as described in Junos’ 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’s or Sunfreeware’s version won’t help. But that’s no biggie since compiling your own Python is incredibly easy.
- Get, compile and install Python (I have used version 2.5.4)
- http://www.python.org/download/releases/
- unpack
- make sure you have a recent version of GCC installed
- ./configure && make && make install
- as a result Python will be installed in /usr/local
- Get, compile and install Setuptools
- http://pypi.python.org/pypi/setuptools
- unpack
- python setup.py install
- Get, compile and install pysqlite
- http://oss.itsystementwicklung.de/trac/pysqlite/wiki/WikiStart#Downloads
- unpack
- add line “library_dirs=/usr/local/lib” to pysqlite-x.y.z/setup.cfg
- globally export your library paths:
- LD_LIBRARY_PATH=/opt/csw/lib/:/usr/lib/:/lib/:/usr/local/lib:$LD_LIBRARY_PATH ; export LD_LIBRARY_PATH
- python setup.py install
- easy_install install sqlalchemy
- easy_install jinja2
- Get, compile and install Juno
- http://brianreily.com/project/juno
- python setup.py install
Enjoy.