Python Kinterbasdb from source on ubuntu

Fri, 30 Dec 2011 by Frank Lazzarini

This is a little tutorial about how to compiler python-kinterbasdb from source in ubuntu, due to the fact that the official packages are broke. First off you need the following dependencies build-essentials, python-dev, firebird2.1-dev.

root@linuxbox:~$ apt-get install build-essential python-dev firebird2.1-dev

Afterwords download the latest package from https://launchpad.net/ubuntu/+source/python-kinterbasdb and extract that file. Next you need to build the source package using the setup.py script.

root@linuxbox:~$ cd kinterbasdb-3.3.0/
root@linuxbox:~$ python setup.py build
root@linuxbox:~$ python setup.py install
root@linuxbox:~$ python
Python 2.7.2+ (default, Oct  4 2011, 20:06:09)
[GCC 4.6.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import kinterbasdb
>>>

That's all folks, if you have any question feel free to comment...


Comments