[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dbi-users
Subject:    DBD::InterBase build fails due to incompatibility with libfbclient
From:       63.251.223.186
Date:       2008-04-29 21:59:44
Message-ID: ec12b5fb-91bc-4885-b83c-2f3032e27541 () 8g2000hse ! googlegroups ! com
[Download RAW message or body]

Hello!

I am trying to compile DBD::InterBase for a 64bit server running
Ubuntu 7.10 (desktop edition) by usage of CPAN.
I had no troubles in building this marvelous package (talking about
DBI as a whole) on 32 bit (system was also Ubuntu 7.10 / desktop).

My question is: is it possible to build DBI module for firebird (I am
using 1.5.2, and I can not change it because of external vendor
decision) on a 64 bit platform?

Thank you for any tips,
have a nice day
and look below if willing to help...

Pawel S.

CPAN LOG: (build was restarted with force as there was no build-
essential and libfbclient1 packages at the very first trial).

cpan> force install DBD::InterBase
Running install for module DBD::InterBase
Running make for E/ED/EDPRATOMO/DBD-InterBase-0.48.tar.gz
Checksum for /root/.cpan/sources/authors/id/E/ED/EDPRATOMO/DBD-
InterBase-0.48.tar.gz ok
DBD-InterBase-0.48/

--cut--

Checking if your kit is complete...
Looks good
Using DBI 1.57 (for perl 5.008008 on x86_64-linux-gnu-thread-multi)
installed in /usr/lib/perl5/auto/DBI/
Writing Makefile for DBD::InterBase
/usr/bin/perl -p -e "s/~DRIVER~/InterBase/g" /usr/lib/perl5/auto/DBI/
Driver.xst > InterBase.xsi
cc -c  -I"/opt/firebird/include" -I"/usr/lib/perl5/auto/DBI" -Wall -
fno-strict-aliasing -O2   -DVERSION=\"0.48\" -DXS_VERSION=\"0.48\" -
fPIC "-I/usr/lib/perl/5.8/CORE"   dbdimp.c
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
Running Mkbootstrap for DBD::InterBase ()
/usr/bin/perl /usr/share/perl/5.8/ExtUtils/xsubpp -noprototypes -
typemap /usr/share/perl/5.8/ExtUtils/typemap -typemap typemap
InterBase.xs > InterBase.xsc && mv InterBase.xsc InterBase.c
chmod 644 InterBase.bs
cp InterBase.bs blib/arch/auto/DBD/InterBase/InterBase.bs
chmod 644 blib/arch/auto/DBD/InterBase/InterBase.bs
cc -c  -I"/opt/firebird/include" -I"/usr/lib/perl5/auto/DBI" -Wall -
fno-strict-aliasing -O2   -DVERSION=\"0.48\" -DXS_VERSION=\"0.48\" -
fPIC "-I/usr/lib/perl/5.8/CORE"   InterBase.c
dbdimp.c: In function ‘create_cursor_name’:
dbdimp.c:60: warning: '0' flag ignored with precision and ‘%x’ printf
format
dbdimp.c:60: warning: format ‘%016.16x’ expects type ‘unsigned int’,
but argument 3 has type ‘isc_stmt_handle’
dbdimp.c: In function ‘ib_st_fetch’:
dbdimp.c:1459: warning: format ‘%04d’ expects type ‘int’, but argument
9 has type ‘long int’
dbdimp.c:1474: warning: format ‘%04d’ expects type ‘int’, but argument
6 has type ‘long int’
dbdimp.c: In function ‘ib_fill_isqlda’:
dbdimp.c:2221: warning: format ‘%d’ expects type ‘int’, but argument 3
has type ‘STRLEN’
dbdimp.c:2221: warning: format ‘%d’ expects type ‘int’, but argument 4
has type ‘long unsigned int’
dbdimp.c:2275: warning: format ‘%d’ expects type ‘int’, but argument 3
has type ‘STRLEN’
dbdimp.c:2275: warning: format ‘%d’ expects type ‘int’, but argument 4
has type ‘long unsigned int’
rm -f blib/arch/auto/DBD/InterBase/InterBase.so
LD_RUN_PATH="/opt/firebird/lib" cc  -shared -L/usr/local/lib
InterBase.o dbdimp.o  -o blib/arch/auto/DBD/InterBase/
InterBase.so         \
          -L/opt/firebird/lib -lfbclient -ldl          \

/usr/bin/ld: skipping incompatible /opt/firebird/lib/libfbclient.so
when searching for -lfbclient
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/
4.1.3/../../../../lib/libfbclient.so when searching for -lfbclient
/usr/bin/ld: skipping incompatible /usr/lib/../lib/libfbclient.so when
searching for -lfbclient
/usr/bin/ld: skipping incompatible /usr/bin/../lib/libfbclient.so when
searching for -lfbclient
/usr/bin/ld: skipping incompatible /usr/lib64/libfbclient.so when
searching for -lfbclient
/usr/bin/ld: skipping incompatible /usr/lib/libfbclient.so when
searching for -lfbclient
/usr/bin/ld: cannot find -lfbclient
collect2: ld returned 1 exit status
make: *** [blib/arch/auto/DBD/InterBase/InterBase.so] Error 1
 /usr/bin/make -j3 -- NOT OK
Running make test
 Can't test without successful make
Running make install
 make had returned bad status, install seems impossible

cpan>

---cut---

Once again TIA,
Pawel Suchanecki / XSUB


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic