I just installed Texis and I am wondering where the Perl DBD::TEXIS module is. It did not automatically compile (that is, Perl gives an error on "use DBD::TEXIS;"), and I cannot find any .pm files in the directories. Also, where would documentation for the modulde be?
DBD::TEXIS?
DBD::TEXIS?
I found the module! But, the readme file just tells how to install it. Any info on the location fo the docs?
DBD::TEXIS?
After making DBD::TEXIS, I get an error (and when I try to run a program which calls the module I get a similar error). Any suggestions would be appreciated. I am running Perl v5.8.3 on Fedora Core 2 with the gcc compiler. I did not set up the specified environment variables -- because I don't know how. Sorry for what is probably a silly hole in my knowledge, but I have not compiled a package before which asks you to set environment variables. So, if this could be the problem, please let me know how to do this. If this would not effect the end result, any thoughts as to why the error is happening would be appreciated. Here is the make output:
-----------------------------------
[root@localhost DBD-TEXIS-0.95]# 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.43 (for perl 5.008003 on i386-linux-thread-multi) installed in /usr/lib/perl5/sit e_perl/5.8.3/i386-linux-thread-multi/auto/DBI
Use of uninitialized value in concatenation (.) or string at Makefile.PL line 75.
Checking if your kit is complete...
Looks good
Using DBI 1.43 (for perl 5.008003 on i386-linux-thread-multi) installed in /usr/lib/perl5/sit e_perl/5.8.3/i386-linux-thread-multi/auto/DBI
Writing Makefile for DBD::TEXIS
[root@localhost DBD-TEXIS-0.95]# make
cp TEXIS.pm blib/lib/DBD/TEXIS.pm
/usr/bin/perl -p -e "s/~DRIVER~/TEXIS/g" /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-mul ti/auto/DBI/Driver.xst > TEXIS.xsi
/usr/bin/perl /usr/lib/perl5/5.8.3/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.3/ExtUtils/ty pemap TEXIS.xs > TEXIS.xsc && mv TEXIS.xsc TEXIS.c
gcc -c -I/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/auto/DBI -I/usr/local/morph3 /api -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/l ocal/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -mar ch=i386 -mcpu=i686 -DVERSION=\"0.94\" -DXS_VERSION=\"0.94\" -fPIC "-I/usr/lib/perl5/5.8.3/i 386-linux-thread-multi/CORE" TEXIS.c
gcc -c -I/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/auto/DBI -I/usr/local/morph3 /api -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/l ocal/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -mar ch=i386 -mcpu=i686 -DVERSION=\"0.94\" -DXS_VERSION=\"0.94\" -fPIC "-I/usr/lib/perl5/5.8.3/i 386-linux-thread-multi/CORE" putil.c
Running Mkbootstrap for DBD::TEXIS ()
chmod 644 TEXIS.bs
rm -f blib/arch/auto/DBD/TEXIS/TEXIS.so
gcc -shared -L/usr/local/lib TEXIS.o putil.o -o blib/arch/auto/DBD/TEXIS/TEXIS.so -L/usr/ local/morph3/api -ltexis -lcgi -lntexis -lapi3 -lcrypt -ldl -lpthread -L/usr/lib/gcc-lib/i386 -redhat-linux/3.3.3 -lgcc
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
[root@localhost DBD-TEXIS-0.95]# make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', ' blib/arch')" t/*.t
t/01base......install_driver(TEXIS) failed: Can't load '/thunder/trial-version/usr/local/morp h3/DBD-TEXIS-0.95/blib/arch/auto/DBD/TEXIS/TEXIS.so' for module DBD::TEXIS: /thunder/trial-ve rsion/usr/local/morph3/DBD-TEXIS-0.95/blib/arch/auto/DBD/TEXIS/TEXIS.so: undefined symbol: pe rl_get_sv at /usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line 229.
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)
Scalar found where operator expected at (eval 152) line 1, near "'int' $__val"
(Missing operator before $__val?)
DIED. FAILED tests 4-5
Failed 2/5 tests, 60.00% okay
t/02simple....ok 1/9Can't connect to data source , no database driver specified and DBI_DSN e nv var not set 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/5Can't connect to data source , no database driver specified and DBI_DSN e nv var not set 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/6Can't connect to data source , no database driver specified and DBI_DSN e nv var not set 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/5Can't connect to data source , no database driver specified and DBI_DSN e nv var not set 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 4 80.00% 4-5
t/02simple.t 255 65280 9 16 177.78% 2-9
t/03dbatt.t 255 65280 5 8 160.00% 2-5
t/05meth.t 255 65280 6 10 166.67% 2-6
t/09bind.t 255 65280 5 8 160.00% 2-5
Failed 5/5 test scripts, 0.00% okay. 23/30 subtests failed, 23.33% okay.
make: *** [test_dynamic] Error 255
[root@localhost DBD-TEXIS-0.95]# make install
Installing /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/auto/DBD/TEXIS/TEXIS.so
Installing /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/auto/DBD/TEXIS/TEXIS.bs
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Installing /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/DBD/TEXIS.pm
Installing /usr/share/man/man3/DBD::TEXIS.3pm
Writing /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/auto/DBD/TEXIS/.packlist
Appending installation info to /usr/lib/perl5/5.8.3/i386-linux-thread-multi/perllocal.pod
-----------------------------------
[root@localhost DBD-TEXIS-0.95]# 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.43 (for perl 5.008003 on i386-linux-thread-multi) installed in /usr/lib/perl5/sit e_perl/5.8.3/i386-linux-thread-multi/auto/DBI
Use of uninitialized value in concatenation (.) or string at Makefile.PL line 75.
Checking if your kit is complete...
Looks good
Using DBI 1.43 (for perl 5.008003 on i386-linux-thread-multi) installed in /usr/lib/perl5/sit e_perl/5.8.3/i386-linux-thread-multi/auto/DBI
Writing Makefile for DBD::TEXIS
[root@localhost DBD-TEXIS-0.95]# make
cp TEXIS.pm blib/lib/DBD/TEXIS.pm
/usr/bin/perl -p -e "s/~DRIVER~/TEXIS/g" /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-mul ti/auto/DBI/Driver.xst > TEXIS.xsi
/usr/bin/perl /usr/lib/perl5/5.8.3/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.3/ExtUtils/ty pemap TEXIS.xs > TEXIS.xsc && mv TEXIS.xsc TEXIS.c
gcc -c -I/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/auto/DBI -I/usr/local/morph3 /api -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/l ocal/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -mar ch=i386 -mcpu=i686 -DVERSION=\"0.94\" -DXS_VERSION=\"0.94\" -fPIC "-I/usr/lib/perl5/5.8.3/i 386-linux-thread-multi/CORE" TEXIS.c
gcc -c -I/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/auto/DBI -I/usr/local/morph3 /api -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/l ocal/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -mar ch=i386 -mcpu=i686 -DVERSION=\"0.94\" -DXS_VERSION=\"0.94\" -fPIC "-I/usr/lib/perl5/5.8.3/i 386-linux-thread-multi/CORE" putil.c
Running Mkbootstrap for DBD::TEXIS ()
chmod 644 TEXIS.bs
rm -f blib/arch/auto/DBD/TEXIS/TEXIS.so
gcc -shared -L/usr/local/lib TEXIS.o putil.o -o blib/arch/auto/DBD/TEXIS/TEXIS.so -L/usr/ local/morph3/api -ltexis -lcgi -lntexis -lapi3 -lcrypt -ldl -lpthread -L/usr/lib/gcc-lib/i386 -redhat-linux/3.3.3 -lgcc
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
[root@localhost DBD-TEXIS-0.95]# make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', ' blib/arch')" t/*.t
t/01base......install_driver(TEXIS) failed: Can't load '/thunder/trial-version/usr/local/morp h3/DBD-TEXIS-0.95/blib/arch/auto/DBD/TEXIS/TEXIS.so' for module DBD::TEXIS: /thunder/trial-ve rsion/usr/local/morph3/DBD-TEXIS-0.95/blib/arch/auto/DBD/TEXIS/TEXIS.so: undefined symbol: pe rl_get_sv at /usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line 229.
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)
Scalar found where operator expected at (eval 152) line 1, near "'int' $__val"
(Missing operator before $__val?)
DIED. FAILED tests 4-5
Failed 2/5 tests, 60.00% okay
t/02simple....ok 1/9Can't connect to data source , no database driver specified and DBI_DSN e nv var not set 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/5Can't connect to data source , no database driver specified and DBI_DSN e nv var not set 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/6Can't connect to data source , no database driver specified and DBI_DSN e nv var not set 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/5Can't connect to data source , no database driver specified and DBI_DSN e nv var not set 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 4 80.00% 4-5
t/02simple.t 255 65280 9 16 177.78% 2-9
t/03dbatt.t 255 65280 5 8 160.00% 2-5
t/05meth.t 255 65280 6 10 166.67% 2-6
t/09bind.t 255 65280 5 8 160.00% 2-5
Failed 5/5 test scripts, 0.00% okay. 23/30 subtests failed, 23.33% okay.
make: *** [test_dynamic] Error 255
[root@localhost DBD-TEXIS-0.95]# make install
Installing /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/auto/DBD/TEXIS/TEXIS.so
Installing /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/auto/DBD/TEXIS/TEXIS.bs
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Installing /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/DBD/TEXIS.pm
Installing /usr/share/man/man3/DBD::TEXIS.3pm
Writing /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/auto/DBD/TEXIS/.packlist
Appending installation info to /usr/lib/perl5/5.8.3/i386-linux-thread-multi/perllocal.pod
DBD::TEXIS?
I figured out how to set the environment variables, and the errors are exactly the same still.
DBD::TEXIS?
Most likely it is due to an incompatible version of Perl. They keep changing the standards of how to link to it.
John Turnbull
Thunderstone Software
Thunderstone Software