DBD::Texis

Post Reply
MiniMe
Posts: 210
Joined: Thu Mar 15, 2001 4:30 pm

DBD::Texis

Post by MiniMe »

I am trying to install the DBD driver for texis under linux but the make test is erroring out.. do you have any idea what library it may be looking for...??



/usr/local/morph3/DBD-TEXIS-0.93 # make test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.6.1/i586-linux -I/usr/lib/perl5/5.6.1 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/01base......install_driver(TEXIS) failed: Can't load 'blib/arch/auto/DBD/TEXIS/TEXIS.so' for module DBD::TEXIS: blib/arch/auto/DBD/TEXIS/TEXIS.so: undefined symbol: Perl_no_modify at /usr/lib/perl5/5.6.1/i586-linux/DynaLoader.pm line 206.
at (eval 1) line 3
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/01base.t line 14
t/01base......dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 4-5
Failed 2/5 tests, 60.00% okay
t/02simple....ok 1/9install_driver(TEXIS) failed: Can't load 'blib/arch/auto/DBD/TEXIS/TEXIS.so' for module DBD::TEXIS: blib/arch/auto/DBD/TEXIS/TEXIS.so: undefined symbol: Perl_no_modify at /usr/lib/perl5/5.6.1/i586-linux/DynaLoader.pm line 206.
at (eval 1) line 3
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/02simple.t line 16
t/02simple....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-9
Failed 8/9 tests, 11.11% okay
t/03dbatt.....ok 1/5install_driver(TEXIS) failed: Can't load 'blib/arch/auto/DBD/TEXIS/TEXIS.so' for module DBD::TEXIS: blib/arch/auto/DBD/TEXIS/TEXIS.so: undefined symbol: Perl_no_modify at /usr/lib/perl5/5.6.1/i586-linux/DynaLoader.pm line 206.
at (eval 1) line 3
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/03dbatt.t line 12
t/03dbatt.....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-5
Failed 4/5 tests, 20.00% okay
t/05meth......ok 1/6install_driver(TEXIS) failed: Can't load 'blib/arch/auto/DBD/TEXIS/TEXIS.so' for module DBD::TEXIS: blib/arch/auto/DBD/TEXIS/TEXIS.so: undefined symbol: Perl_no_modify at /usr/lib/perl5/5.6.1/i586-linux/DynaLoader.pm line 206.
at (eval 1) line 3
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/05meth.t line 13
t/05meth......dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-6
Failed 5/6 tests, 16.67% okay
t/09bind......ok 1/5install_driver(TEXIS) failed: Can't load 'blib/arch/auto/DBD/TEXIS/TEXIS.so' for module DBD::TEXIS: blib/arch/auto/DBD/TEXIS/TEXIS.so: undefined symbol: Perl_no_modify at /usr/lib/perl5/5.6.1/i586-linux/DynaLoader.pm line 206.
at (eval 1) line 3
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/09bind.t line 11
t/09bind......dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-5
Failed 4/5 tests, 20.00% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/01base.t 255 65280 5 2 40.00% 4-5
t/02simple.t 255 65280 9 8 88.89% 2-9
t/03dbatt.t 255 65280 5 4 80.00% 2-5
t/05meth.t 255 65280 6 5 83.33% 2-6
t/09bind.t 255 65280 5 4 80.00% 2-5
Failed 5/5 test scripts, 0.00% okay. 23/30 subtests failed, 23.33% okay.
make: *** [test_dynamic] Error 11
User avatar
John
Site Admin
Posts: 2605
Joined: Mon Apr 24, 2000 3:18 pm
Location: Cleveland, OH
Contact:

DBD::Texis

Post by John »

It looks as if you are trying to run a version of the DBD driver that was compiled for Perl 5.4.4 on a Perl 5.6.1 system.
John Turnbull
Thunderstone Software
MiniMe
Posts: 210
Joined: Thu Mar 15, 2001 4:30 pm

DBD::Texis

Post by MiniMe »

Is 5.4.4 the latest supported version of perl?? because I have anothe linux box that this works fine on.. all the same versions.. see below:

bambi:/home/mike/texis/usr/local/morph3/DBD-TEXIS-0.93 # perl Makefile.PL
Name "main::opt_o" used only once: possible typo at Makefile.PL line 39.

Configuring DBD::TEXIS ...

>>> Remember to actually *READ* the README file!
And re-read it if you have any problems.

Using DBI 1.30 installed in /usr/lib/perl5/site_perl/5.6.1/i586-linux/auto/DBI

Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -lgcc
Using DBI 1.30 installed in /usr/lib/perl5/site_perl/5.6.1/i586-linux/auto/DBI
Writing Makefile for DBD::TEXIS

bambi:/home/mike/texis/usr/local/morph3/DBD-TEXIS-0.93 # make
cp TEXIS.pm blib/lib/DBD/TEXIS.pm
/usr/bin/perl -p -e "s/~DRIVER~/TEXIS/g" < /usr/lib/perl5/site_perl/5.6.1/i586-linux/auto/DBI/Driver.xst > TEXIS.xsi
/usr/bin/perl -I/usr/lib/perl5/5.6.1/i586-linux -I/usr/lib/perl5/5.6.1 /usr/lib/perl5/5.6.1/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.6.1/ExtUtils/typemap TEXIS.xs > TEXIS.xsc && mv TEXIS.xsc TEXIS.c
cc -c -I/usr/lib/perl5/site_perl/5.6.1/i586-linux/auto/DBI -I/usr/local/morph3/api -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -DVERSION=\"0.93\" -DXS_VERSION=\"0.93\" -fpic -I/usr/lib/perl5/5.6.1/i586-linux/CORE TEXIS.c
cc -c -I/usr/lib/perl5/site_perl/5.6.1/i586-linux/auto/DBI -I/usr/local/morph3/api -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -DVERSION=\"0.93\" -DXS_VERSION=\"0.93\" -fpic -I/usr/lib/perl5/5.6.1/i586-linux/CORE putil.c
Running Mkbootstrap for DBD::TEXIS ()
chmod 644 TEXIS.bs
rm -f blib/arch/auto/DBD/TEXIS/TEXIS.so
LD_RUN_PATH="/usr/local/morph3/api" cc -shared -L/usr/local/lib TEXIS.o putil.o -o blib/arch/auto/DBD/TEXIS/TEXIS.so -L/usr/local/morph3/api -ltexis -lcgilite -lntexis -lapi3
chmod 755 blib/arch/auto/DBD/TEXIS/TEXIS.so
cp TEXIS.bs blib/arch/auto/DBD/TEXIS/TEXIS.bs
chmod 644 blib/arch/auto/DBD/TEXIS/TEXIS.bs
Manifying blib/man3/DBD::TEXIS.3pm
bambi:/home/mike/texis/usr/local/morph3/DBD-TEXIS-0.93 # make test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.6.1/i586-linux -I/usr/lib/perl5/5.6.1 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/01base............ok
t/02simple..........ok
t/03dbatt...........ok
t/05meth............ok
t/09bind............ok
All tests successful.
Files=5, Tests=30, 1 wallclock secs ( 0.53 cusr + 0.09 csys = 0.62 CPU)
Post Reply