Installing Clearsilver
Posted by: MartinLundberg
Posted on: 2006-03-12 02:37:00
Hello again!
In the wiki entry for installing Clearsilver they describe a fix that looks like this:
sed -i "s@/usr/local/bin/python@/usr/bin/env python@g" scripts/document.py
PYTHON_SITE=`$HOME/{your_python} -c
"import sys; print [path for path in sys.path if path.find('site-packages') != -1][0]"`
./configure --with-python=$HOME/{your_python} --prefix=$HOME
--disable-ruby --disable-java --disable-apache --disable-csharp --disable-perl
I don't understand it... I understand the ./configure part, but the part before that I don't understand. How should I enter it? Should I first enter:
sed -i "s@/usr/local/bin/python@/usr/bin/env python@g" scripts/document.py
into the terminal and then:
PYTHON_SITE=`$HOME/{your_python} -c
"import sys; print [path for path in sys.path if path.find('site-packages') != -1][0]"`
And then the configure part?
Thanks in advance!
Martin Lundberg
Student, Sweden