Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

Hi Monks,

I'm experiencing some problems with DBD::InterBase (the Firebird 2.1 driver). See below for the dump of it's output. Maybe it's related to the Version of (K)ubuntu that I'm using (12.04 LTS) as everything installed fine on previous versions. There seem to be two points of failure and I don't know if they're linked:

First failure

InterBase/Firebird bin directory : [/usr/bin] /usr/lib/firebird/2.1/bi +n InterBase/Firebird include directory : [/usr/include] Cannot proceed. Aborting..

One could imagine a little more in the way of error reporting.

Second failure

/usr/lib/firebird/2.1/bin/gstat: 11: exec: /usr/lib/firebird/2.1/bin/gstat.real: not found

I'm not sure if this was fatal or the cause of the latter warnings and errors.

What do you think?

Regards

Steve.

cpan -i DBD::InterBase Reading '/home/image/.cpan/Metadata' Database was generated on Thu, 05 Jul 2012 08:15:03 GMT Running install for module 'DBD::InterBase' Running make for E/ED/EDPRATOMO/DBD-InterBase-0.48.tar.gz Fetching with LWP: http://cpan.kinghost.net/authors/id/E/ED/EDPRATOMO/DBD-InterBase-0.48. +tar.gz Fetching with LWP: http://cpan.kinghost.net/authors/id/E/ED/EDPRATOMO/CHECKSUMS Checksum for /home/image/.cpan/sources/authors/id/E/ED/EDPRATOMO/DBD-I +nterBase-0.48.tar.gz ok CPAN.pm: Building E/ED/EDPRATOMO/DBD-InterBase-0.48.tar.gz InterBase/Firebird bin directory : [/usr/bin] /usr/lib/firebird/2.1/bi +n InterBase/Firebird include directory : [/usr/include] Cannot proceed. Aborting.. Full path to your test database: /home/image/Documents/Endoscopia/DB +/ENDOSCOPIA.FDB /home/image/Documents/Endoscopia/DB/ENDOSCOPIA.FDB exists. Trying to use an existing database.. Please enter a username to connect. Username : SYSDBA Password : <password> /usr/lib/firebird/2.1/bin/gstat: 11: exec: /usr/lib/firebird/2.1/bin/g +stat.real: not found Dialect of /home/image/Documents/Endoscopia/DB/ENDOSCOPIA.FDB is UNKNO +WN. This test requires a database of dialect 3. You may specify a non-exis +tent database to create a new one. Proceed anyway or create a NEW test database (P/N)? [P] Checking if your kit is complete... Looks good Note (probably harmless): No library found for -lgds Using DBI 1.616 (for perl 5.014002 on i686-linux-gnu-thread-multi-64in +t) installed in /usr/lib/perl5/auto/DBI/ Writing Makefile for DBD::InterBase Writing MYMETA.yml and MYMETA.json cp lib/DBD/InterBase/TypeInfo.pm blib/lib/DBD/InterBase/TypeInfo.pm cp InterBase.pm blib/lib/DBD/InterBase.pm cp lib/DBD/InterBase/GetInfo.pm blib/lib/DBD/InterBase/GetInfo.pm /usr/bin/perl -p -e "s/~DRIVER~/InterBase/g" /usr/lib/perl5/auto/DBI/D +river.xst > InterBase.xsi /usr/bin/perl /usr/share/perl/5.14/ExtUtils/xsubpp -noprototypes -type +map /usr/share/perl/5.14/ExtUtils/typemap -typemap typemap InterBase +.xs > InterBase.xsc && mv InterBase.xsc InterBase.c cc -c -I"/usr/include" -I"/usr/lib/perl5/auto/DBI" -Wall -fno-strict- +aliasing -O2 -g -DVERSION=\"0.48\" -DXS_VERSION=\"0.48\" -fPIC "-I/ +usr/lib/perl/5.14/CORE" InterBase.c InterBase.c: In function ‘XS_DBD__InterBase__db__do’: InterBase.c:1461:7: warning: variable ‘attr’ set but not used [-Wunuse +d-but-set-variable] InterBase.c: In function ‘XS_DBD__InterBase__db_ib_register_callback’: InterBase.c:2652:14: warning: cast to pointer from integer of differen +t size [-Wint-to-pointer-cast] InterBase.c: In function ‘XS_DBD__InterBase__db_ib_cancel_callback’: InterBase.c:2711:14: warning: cast to pointer from integer of differen +t size [-Wint-to-pointer-cast] InterBase.c: In function ‘XS_DBD__InterBase__db_ib_wait_event’: InterBase.c:2747:14: warning: cast to pointer from integer of differen +t size [-Wint-to-pointer-cast] InterBase.c: In function ‘XS_DBD__InterBase__Event_DESTROY’: InterBase.c:2806:15: warning: cast to pointer from integer of differen +t size [-Wint-to-pointer-cast] cc -c -I"/usr/include" -I"/usr/lib/perl5/auto/DBI" -Wall -fno-strict- +aliasing -O2 -g -DVERSION=\"0.48\" -DXS_VERSION=\"0.48\" -fPIC "-I/ +usr/lib/perl/5.14/CORE" dbdimp.c dbdimp.c: In function ‘create_cursor_name’: dbdimp.c:60:5: warning: '0' flag ignored with precision and ‘%x’ gnu_p +rintf format [-Wformat] dbdimp.c:60:5: warning: format ‘%x’ expects argument of type ‘unsigned + int’, but argument 3 has type ‘isc_stmt_handle’ [-Wformat] dbdimp.c: In function ‘do_error’: dbdimp.c:116:23: error: ‘na’ undeclared (first use in this function) dbdimp.c:116:23: note: each undeclared identifier is reported only onc +e for each function it appears in dbdimp.c:116:23: warning: left-hand operand of comma expression has no + effect [-Wunused-value] dbdimp.c: In function ‘ib_db_FETCH_attrib’: dbdimp.c:696:25: error: ‘sv_yes’ undeclared (first use in this functio +n) dbdimp.c:696:48: error: ‘sv_no’ undeclared (first use in this function +) dbdimp.c: In function ‘ib_st_fetch’: dbdimp.c:1459:41: warning: format ‘%d’ expects argument of type ‘int’, + but argument 9 has type ‘long int’ [-Wformat] dbdimp.c:1474:41: warning: format ‘%d’ expects argument of type ‘int’, + but argument 6 has type ‘long int’ [-Wformat] dbdimp.c:1406:31: warning: variable ‘fpsec’ set but not used [-Wunused +-but-set-variable] dbdimp.c:1549:36: warning: cast from pointer to integer of different s +ize [-Wpointer-to-int-cast] dbdimp.c:1549:36: warning: passing argument 7 of ‘isc_open_blob2’ make +s pointer from integer without a cast [enabled by default] /usr/include/ibase.h:801:23: note: expected ‘const ISC_UCHAR *’ but ar +gument is of type ‘unsigned char’ dbdimp.c: In function ‘ib_discon_all’: dbdimp.c:1991:9: warning: value computed is not used [-Wunused-value] dbdimp.c:1994:9: error: ‘perl_destruct_level’ undeclared (first use in + this function) dbdimp.c: In function ‘ib_blob_write’: dbdimp.c:2042:9: warning: format ‘%d’ expects argument of type ‘int’, +but argument 3 has type ‘long int’ [-Wformat] dbdimp.c: In function ‘ib_fill_isqlda’: dbdimp.c:2103:5: warning: format ‘%ld’ expects argument of type ‘long +int’, but argument 5 has type ‘int’ [-Wformat] dbdimp.c: In function ‘ib_commit_transaction’: dbdimp.c:2789:5: warning: format ‘%d’ expects argument of type ‘int’, +but argument 3 has type ‘long unsigned int’ [-Wformat] dbdimp.c: In function ‘ib_db_FETCH_attrib’: dbdimp.c:701:1: warning: control reaches end of non-void function [-Wr +eturn-type] make: *** [dbdimp.o] Error 1 EDPRATOMO/DBD-InterBase-0.48.tar.gz make -- NOT OK Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible

In reply to Install problems with DBD::InterBase by Steve_BZ

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2024-04-25 16:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found