Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

DBD::InterBase build fails due to incompatibility with libfbclient
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=3D\"0.48\" -DXS_VERSION=3D\"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=3D\"0.48\" -DXS_VERSION=3D\"0.48\" -
fPIC "-I/usr/lib/perl/5.8/CORE"   InterBase.c
dbdimp.c: In function =91create_cursor_name=92:
dbdimp.c:60: warning: '0' flag ignored with precision and =91%x=92 printf
format
dbdimp.c:60: warning: format =91%016.16x=92 expects type =91unsigned int=92,
=

but argument 3 has type =91isc_stmt_handle=92
dbdimp.c: In function =91ib_st_fetch=92:
dbdimp.c:1459: warning: format =91%04d=92 expects type =91int=92, but argume
=
nt
9 has type =91long int=92
dbdimp.c:1474: warning: format =91%04d=92 expects type =91int=92, but argume
=
nt
6 has type =91long int=92
dbdimp.c: In function =91ib_fill_isqlda=92:
dbdimp.c:2221: warning: format =91%d=92 expects type =91int=92, but argument
=
3
has type =91STRLEN=92
dbdimp.c:2221: warning: format =91%d=92 expects type =91int=92, but argument
=
4
has type =91long unsigned int=92
dbdimp.c:2275: warning: format =91%d=92 expects type =91int=92, but argument
=
3
has type =91STRLEN=92
dbdimp.c:2275: warning: format =91%d=92 expects type =91int=92, but argument
=
4
has type =91long unsigned int=92
rm -f blib/arch/auto/DBD/InterBase/InterBase.so
LD_RUN_PATH=3D"/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


Report this thread to moderator Post Follow-up to this message
Old Post
XSUB
04-30-08 09:52 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PERL DBI archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 11:13 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.