DarPython
Revision 1 as of 2007-02-16 09:29:49
Clear message
- Download the dar source and all depends {{{ apt-get build-dep dar
apt-get source dar }}}
- Download everything else you need {{{ apt-get install python-dev swig autoconf automake1.9
}}}
- go to source directory {{{ cd dar-2.3.0
}}}
get the patch from [http://sourceforge.net/project/downloading.php?group_id=131569filename=dar-python-0.1.0-cvs-2.4.0.patch&47448731 here]
apply the patch {{{ patch -p0 < /path/to/dar-python-*.patch
}}} (Ignore the fail, it doesn't matter)
- Prepare everything so that you compile it {{{aclocal -I m4
autoconf }}}
- configure it {{{ ./configure --with-python
}}}
- compile it {{{ make
}}}
- 8.1 It fails, just do {{{ make
}}}
- install everything where you want it to be
- 9.1 for a quick test, you can copy the libdar/.libs/libdar.so.4 to /usr/lib/ and go to libdar/bindings/swig/python and run python -c 'from dar import archive' if everything is ok, you'll see {{{ DEBUG: Loading python bindings
}}}
TODO
fix the build error