Subject: | solaris_make_test_error |
Date: | Tue, 08 Feb 2011 10:33:18 +0300 |
To: | bug-DBD-InterBase [...] rt.cpan.org |
From: | Селявка Евгений <evg.selyavka [...] gmail.com> |
Try to compile DBD::Interbase under Solaris10, but make test fails.
OS:
SunOS 5.10 Generic_118822-25 sun4u sparc SUNW,Sun-Fire-V210
bash-3.00# /usr/local/bin/perl -v
This is perl, v5.8.7 built for sun4-solaris
bash-3.00# /usr/local/bin/perl -MDBI -le 'print $DBI::VERSION'
1.609
[exs@ivr112amts_stat:~]$ pkginfo -l Firebird2
PKGINST: Firebird2
NAME: Firebird2 Relational Database Server CS
CATEGORY: application
ARCH: sparc
VERSION: 2.0.5
BASEDIR: /
VENDOR: www.firebirdsql.org
PSTAMP: anaheim-10320090417141038
INSTDATE: Feb 07 2011 14:17
EMAIL: pbeach at ibphoenix.com
STATUS: completely installed
FILES: 187 installed pathnames
3 shared pathnames
20 directories
25 executables
31292 blocks used (approx)
bash-3.00# /usr/local/bin/perl Makefile.PL
InterBase/Firebird bin directory : [/opt/firebird/bin]
InterBase/Firebird include directory : [/opt/firebird/include]
Reading cached test configuration...
Full path to your test database: [/opt/firebird/databases/test.fdb]
/opt/firebird/databases/test.fdb exists.
Trying to use an existing database..
Please enter a username to connect.
Username : [sysdba]
Password : [masterkey]
Using DBI 1.609 (for perl 5.008007 on sun4-solaris) installed in
/usr/local/lib/perl5/site_perl/5.8.7/sun4-solaris/auto/DBI/
Writing Makefile for DBD::InterBase
bash-3.00# make
gcc -B/usr/ccs/bin/ -c -I"/opt/firebird/include"
-I"/usr/local/lib/perl5/site_perl/5.8.7/sun4-solaris/auto/DBI" -Wall
-fno-strict-aliasing -O -DVERSION=\"0.48\" -DXS_VERSION=\"0.48\" -fPIC
"-I/usr/local/lib/perl5/5.8.7/sun4-solaris/CORE" InterBase.c
gcc -B/usr/ccs/bin/ -c -I"/opt/firebird/include"
-I"/usr/local/lib/perl5/site_perl/5.8.7/sun4-solaris/auto/DBI" -Wall
-fno-strict-aliasing -O -DVERSION=\"0.48\" -DXS_VERSION=\"0.48\" -fPIC
"-I/usr/local/lib/perl5/5.8.7/sun4-solaris/CORE" dbdimp.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: unsigned int format, isc_stmt_handle arg (arg 3)
dbdimp.c: In function `ib_st_fetch':
dbdimp.c:1459: warning: int format, long int arg (arg 9)
dbdimp.c:1474: warning: int format, long int arg (arg 6)
dbdimp.c:1519: warning: statement with no effect
dbdimp.c: In function `ib_discon_all':
dbdimp.c:1991: warning: statement with no effect
Running Mkbootstrap for DBD::InterBase ()
chmod 644 InterBase.bs
rm -f blib/arch/auto/DBD/InterBase/InterBase.so
LD_RUN_PATH="" gcc -B/usr/ccs/bin/ -G -L/usr/local/lib InterBase.o
dbdimp.o -o blib/arch/auto/DBD/InterBase/InterBase.so -lm -lc
chmod 755 blib/arch/auto/DBD/InterBase/InterBase.so
cp InterBase.bs blib/arch/auto/DBD/InterBase/InterBase.bs
chmod 644 blib/arch/auto/DBD/InterBase/InterBase.bs
Manifying blib/man3/DBD::InterBase.3
bash-3.00# make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00base..............install_driver(InterBase) failed: Can't load
'/export/home/exs/source/DBD-InterBase-0.48/blib/arch/auto/DBD/InterBase/InterBase.so'
for module DBD::InterBase: ld.so.1: perl: fatal: relocation error: file
/export/home/exs/source/DBD-InterBase-0.48/blib/arch/auto/DBD/InterBase/InterBase.so:
symbol isc_cancel_events: referenced symbol not found at
/usr/local/lib/perl5/5.8.7/sun4-solaris/DynaLoader.pm line 230.
at (eval 3) line 3
Compilation failed in require at (eval 3) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/00base.t line 38
dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 4-5
Failed 2/5 tests, 60.00% okay
.
.
.
.
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/00base.t 2 512 5 4 80.00% 4-5
t/10dsnlist.t 2 512 2 4 200.00% 1-2
t/20createdrop.t 2 512 5 10 200.00% 1-5
t/30insertfetch.t 2 512 17 34 200.00% 1-17
t/31prepare.t 2 512 36 72 200.00% 1-36
t/40alltypes.t 2 512 27 54 200.00% 1-27
t/40bindparam.t 2 512 26 52 200.00% 1-26
t/40blobs.t 2 512 222 444 200.00% 1-222
t/40cursor.t 2 512 20 40 200.00% 1-20
t/40cursoron.t 2 512 18 36 200.00% 1-18
t/40datetime.t 2 512 14 28 200.00% 1-14
t/40doparam.t 2 512 10 20 200.00% 1-10
t/40listfields.t 2 512 16 32 200.00% 1-16
t/40nulls.t 2 512 11 22 200.00% 1-11
t/40numrows.t 2 512 25 50 200.00% 1-25
t/41numeric.t 2 512 30 60 200.00% 1-30
t/50chopblanks.t 2 512 35 70 200.00% 1-35
t/50commit.t 2 512 30 60 200.00% 1-30
t/61settx.t 2 512 20 40 200.00% 1-20
t/62timeout.t 2 512 14 28 200.00% 1-14
t/70nested-sth.t 2 512 24 48 200.00% 1-24
t/80event-ithreads.t 2 512 22 44 200.00% 1-22
t/81event-fork.t 2 512 17 34 200.00% 1-17
t/90dbinfo.t 2 512 13 26 200.00% 1-13
t/91txinfo.t 2 512 9 18 200.00% 1-9
t/ak-dbd.t 2 512 48 96 200.00% 1-48
t/dbdadmin.t 2 512 3 6 200.00% 1-3
1 test skipped.
Failed 27/28 test scripts, 3.57% okay. 716/719 subtests failed, 0.42% okay.
make: *** [test_dynamic] Error 2
--
С уважением,
Селявка Евгений
Message body is not shown because it is too large.