User:Garethky
From DreamHost
My Blog, hosted with DreamHost of course.
Articles I'm currently editing/helping with:
Things I'm currently voting for on the wishlist:
- Trac Support
Contents |
Rant
Whats up with the '$' signs everywhere?:
$ make $ make install
I don't think people get that users COPY these commands into a shell and expect them to WORK. The fact that its in a pre formatted block should be enough to show that its a command. If you need further proof consider the output:
[khan]$ $ make -bash: $: command not found [khan]$ $ make install -bash: $: command not found
The issue of telling a command from a config file edit can be addressed by carefully using headings and text to describe whats going on. No one wants to type these things out by hand and risk making a mistake.
Trac Install Commands
Trac Install Status: Not Working!
Feb 24
I did some updating and re-ran the install from scratch today. I had some weirdness with sqlite but I could have been careless and not copied the make install command over. The Trac site will be here: Indrio Trac. At the moment its set up with Fast CGI and giving a 500 error.
Start (Early Feb?)
Got trac-latest up and running. It its however unusable. Subversion 1.3.0 to without swig does not seem to work. I need to write some python code that can test if swig-py is working...
Environment Setup:
mkdir bin mkdir lib mkdir tools export LD_LIBRARY_PATH=$HOME/lib/ export PATH="$HOME/bin:$PATH" echo $LD_LIBRARY_PATH echo $PATH
Output: yours should be similar to this, but with your user name where mine is.
$ /home/garethky/lib/ $ /home/garethky/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
Python 2.3.5 Install:
cd tools wget http://python.org/ftp/python/2.3.5/Python-2.3.5.tgz tar zxf Python-2.3.5.tgz cd Python-2.3.5 ./configure --prefix=$HOME make make install cd ..
Clear Silver 0.10.2 Install:
wget http://www.clearsilver.net/downloads/clearsilver-0.10.2.tar.gz tar zxf clearsilver-0.10.2.tar.gz cd clearsilver-0.10.2 sed -i "s@/usr/local/bin/python@/usr/bin/env python@g" scripts/document.py PYTHON_SITE=`$HOME/bin/python -c \ "import sys; print [path for path in sys.path if path.find('site-packages') != -1][0]"` \ ./configure --with-python=$HOME/bin/python --prefix=$HOME \ --disable-ruby --disable-java --disable-apache --disable-csharp --disable-perl make make install cd ..
SQLite 3.3.4 Install:
wget http://www.sqlite.org/sqlite-3.3.4.tar.gz tar zxf sqlite-3.3.4.tar.gz cd sqlite-3.3.4 ./configure --prefix=$HOME --enable-threadsafe make make Install cd ~/bin ln -s sqlite3 sqlite cd ~/tools
PySQLite 2.1.3 Install
wget http://initd.org/pub/software/pysqlite/releases/2.1/2.1.3/pysqlite-2.1.3.tar.gz tar zxf pysqlite-2.1.3.tar.gz cd pysqlite-2.1.3 pico setup.py
set library paths as recommended here. e.g.:
include_dirs = ['/home/garethky/include'] library_dirs = ['/home/garethky/lib']
Then continue with the installation
~/bin/python setup.py build ~/bin/python setup.py install cd ..
SWIG Version 1.3.25 Install:
wget http://easynews.dl.sourceforge.net/sourceforge/swig/swig-1.3.25.tar.gz tar zxf swig-1.3.25.tar.gz cd swig-1.3.25 ./configure --prefix=$HOME --with-python=$HOME/bin/python make make install cd ..
Subversion 1.2.3 with Python Bindings Install
cd ~/lib/python2.3/site-packages mv libsvn libsvn.b0rk ln -s /usr/lib/python2.3/site-packages/libsvn ln -s /usr/lib/python2.3/site-packages/svn cd ~/tools wget http://subversion.tigris.org/downloads/subversion-1.2.3.tar.gz tar zxf subversion-1.2.3.tar.gz cd subversion-1.2.3 ./configure PYTHON=$HOME/bin/python --prefix=$HOME --with-swig=$HOME/bin/swig \ --without-berkeley-db --with-ssl --with-zlib make make install make swig-py make install-swig-py make install echo $HOME/lib/svn-python > $HOME/lib/python2.3/site-packages/subversion.pth cd..
Test Python bindings to make sure it worked:
~/bin/python -c "from svn import client"
Trac 0.9.4 Install
wget http://ftp.edgewall.com/pub/trac/trac-0.9.4.tar.gz tar zxf trac-0.9.4.tar.gz cd trac-0.9.4 ~/bin/python setup.py install --prefix=$HOME

