Maximiliano Robaina | 18 May 2012 23:23
Picon
Favicon

Error installing kinterbasdb on Ubuntu 12.04 64 bit

Hi,
I'm trying to install kinterbasdb on Ubuntu Server 12.04 64 bits (python 2.7.3) but I get this error:

building 'kinterbasdb._kiservices' extension

gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -UNDEBUG
-I/usr/include/python2.7 -I/usr/include/python2.7 -c _kiservices.c -o
build/temp.linux-x86_64-2.7/_kiservices.o -pedantic -g -std=c99 -fno-strict-aliasing -pthread -O3

_kiservices.c: In function ‘_init_kiservices_ibase_header_constants’:

_kiservices.c:809:3: error: ‘isc_info_db_impl_isc_a’ undeclared (first use in this function)

_kiservices.c:809:3: note: each undeclared identifier is reported only once for each function it
appears in

_kiservices.c:811:3: error: ‘isc_info_db_impl_isc_u’ undeclared (first use in this function)

_kiservices.c:813:3: error: ‘isc_info_db_impl_isc_v’ undeclared (first use in this function)

_kiservices.c:815:3: error: ‘isc_info_db_impl_isc_s’ undeclared (first use in this function)

error: command 'gcc' failed with exit status 1

What am I doing wrong here?
How can I resolve this?

Regards.
---
Maxi
(Continue reading)

Philippe Makowski | 19 May 2012 14:56
Picon

Re: Error installing kinterbasdb on Ubuntu 12.04 64 bit


LTake sources from svn truck or aven the new driver fdb



__._,_.___

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___
mariuz | 19 May 2012 21:37
Picon
Favicon

Re: Error installing kinterbasdb on Ubuntu 12.04 64 bit

On Fri, May 18, 2012 at 02:23:59PM -0700, Maximiliano Robaina wrote:
> Hi,
> I'm trying to install kinterbasdb on Ubuntu Server 12.04 64 bits (python 2.7.3) but I get this error:
> 
> building 'kinterbasdb._kiservices' extension
> 
> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -UNDEBUG
-I/usr/include/python2.7 -I/usr/include/python2.7 -c _kiservices.c -o
build/temp.linux-x86_64-2.7/_kiservices.o -pedantic -g -std=c99 -fno-strict-aliasing -pthread -O3
> 
> _kiservices.c: In function ‘_init_kiservices_ibase_header_constants’:
> 
> _kiservices.c:809:3: error: ‘isc_info_db_impl_isc_a’ undeclared (first use in this function)
> 
> _kiservices.c:809:3: note: each undeclared identifier is reported only once for each function it
appears in
> 
> _kiservices.c:811:3: error: ‘isc_info_db_impl_isc_u’ undeclared (first use in this function)
> 
> _kiservices.c:813:3: error: ‘isc_info_db_impl_isc_v’ undeclared (first use in this function)
> 
> _kiservices.c:815:3: error: ‘isc_info_db_impl_isc_s’ undeclared (first use in this function)
> 
> error: command 'gcc' failed with exit status 1
> 
> 
> What am I doing wrong here?
> How can I resolve this?
Old driver 
svn co https://firebird.svn.sourceforge.net/svnroot/firebird/python/kinterbasdb/trunk/ kinterbasdb
cd kinterbasdb
sudo python setup.py install

New driver can installed with 
pip install fdb

To use the documentation for the moment you can use the kinterbasdb 
one just for reference
http://www.firebirdsql.org/file/documentation/drivers_documentation/python/3.3.0/tutorial.html#connecting-to-a-database
this might be handy 
import fdb as kinterbasdb

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/firebird-python/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/firebird-python/join
    (Yahoo! ID required)

<*> To change settings via email:
    firebird-python-digest@... 
    firebird-python-fullfeatured@...

<*> To unsubscribe from this group, send an email to:
    firebird-python-unsubscribe@...

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/


Gmane