Subject Re: [firebird-python] kinterbasdb: building from source
Author marius adrian popa
On Wed, Oct 21, 2009 at 10:50 PM, Maximiliano Robaina
<maxi_robaina@...> wrote:
>
>
>
> Hi,
>
> I need to install kinterbasdb on linux (ubuntu server 9.02), with python
> 2.6 and firebird 2.1 SS.
> (I need to install kinterbasdb on virtualenv)
>
> Then, I download the source code (3.3.0) and I tried to build it from
> source using: python setup.py build
> A lot of error are raised, and the problem is what I'm not a linux
> expert and I don't understand it at all what it means.
>
> vikingo@terri:~/soft/kinterbasdb$ python setup.py build
> compiling '_configtest.c':
> int main (void) { }
> _configtest.c: In function âmainâ:
> _configtest.c:1: warning: control reaches end of non-void function
> /usr/bin/ld: cannot find -lfbclient
> collect2: ld returned 1 exit status
> compiling '_configtest.c':
> int main (void) { }
> _configtest.c: In function âmainâ:
> _configtest.c:1: warning: control reaches end of non-void function
> /usr/bin/ld: cannot find -lfbembed
> collect2: ld returned 1 exit status
> running build
> running build_py
> copying ./__init__.py -> build/lib.linux-i686-2.6/kinterbasdb
> running build_ext
> running config
> ----------------------------------------------------------
> WILL NOW PROBE DATABASE API FOR FEATURES.
> COMPILER ERRORS THAT ARISE DURING THIS PHASE ARE NOT A PROBLEM.
> ----------------------------------------------------------
> _configtest.c:1:19: error: ibase.h: No such file or directory
> _configtest.c:4: error: expected declaration specifiers or â...â before
> âISC_USHORTâ
> _configtest.c:4: warning: type defaults to âintâ in declaration of
> âISC_UCHARâ
> _configtest.c:4: error: expected â;â, â,â or â)â before â*â token
> _configtest.c:6: warning: function declaration isnât a prototype
>
> Can somebody explain me what is the problem here?

did you installed the dev packages for firebird2.1?
how did you installed firebird ? using apt-get ?

here is my guide to install it on ubuntu
http://mapopa.blogspot.com/2009/02/firebird-python-howto-on-ubuntu-wget.html






>
> Any advice will help
>
> Thank's in advance.
> ----
> Maxi.
>
>