perl DBD::TEXIS driver

Post Reply
wtian
Posts: 11
Joined: Thu Apr 05, 2001 3:23 pm

perl DBD::TEXIS driver

Post by wtian »

We have full version of TEXIS and want to implement functions using perl.
I understand that the perl driver is not fully supported but hope for some help here.

I got some error/warning message during compile. The test phase just wont go through. The message during "make test TEST_VERBOSE=1" is something like this (not just this one, but that are all similar):
---------------------------------------------------------------------------
t/01base............install_driver(TEXIS) failed: Can't load 'blib/arch/auto/DBD/TEXIS/TEXIS.so' for module DBD::TEXIS: dlopen: blib/arch/auto/DBD/TEXIS/TEXIS.so: symbol "Perl_no_modify" unresolved at /usr/local/lib/perl5/5.6.1/alpha-dec_osf/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
------------------------------------------------------------------------------
I even tried copy TEXIS.pm and TEXIS.so to the perl library tree where perl can find them. The driver will load but them I got core dump when I try some thing like this:
----------------------------------------------------------------------
#!/usr/bin/perl
use DBI;
use DBD::TEXIS;

$database="/usr2/httpd/html/database/testing";

DBI->trace(9);
my $dbh = DBI->connect("DBI:TEXIS:$database")
------------------------------------------------------------------------------------


I can tell that the dbd tar ball we got was version 0.93 and compiled under 5.00404. I have the newest perl
(5.6.1) which I understand is what I should do. I compiled perl without backward binary compatible option. Just as I was told to do somewhere in the document.

Please let me know which version of perl is supported. If you have a new version of DBD driver, where can I get it. Detailed error message is available if they may help.

Any help is sincerely appreciated.

Wenlai
bart
Posts: 251
Joined: Wed Apr 26, 2000 12:42 am

perl DBD::TEXIS driver

Post by bart »

John,

With Perl constantly changing as it is, is there any version flexibility is there with our DBD or do we have to rebuild Texis for every Perl upgrade?
wtian
Posts: 11
Joined: Thu Apr 05, 2001 3:23 pm

perl DBD::TEXIS driver

Post by wtian »

Thanks.

It is working after I installed perl5.00404.

John, Your last message seems suggest that perl support is compiled in texis binarys.
Maybe your "recompile" means that the driver need to be revised? I found that the non-compatible issue with new perl release also exists for some other DBDs. But not all of them.

I do not know details involving a DBD driver, is it possible to build a dll(so) for texis and use them? Then, the DBD should be able to be writen in pure perl which use the loadable lib, or even user applications.
I thought DBD::TEXIS is built on the texis API. Just some thoughts.

I am glad to hear that you are planing on working on the DBD.
Post Reply