Perl: DBD-SQLite installieren
Ralph Müller <[email protected]>
| Newsgroups | gmane.linux.suse.programming |
|---|---|
| Message-ID | <[email protected]> |
Hallo,
ich möchte gerne das Perl-Modul DBD-SQLite-1.11 von cpan.org
installieren.
Das "make" ging noch wie gewohnt ohne Probleme. Bei "make test"
kommt es zu folgendem Fehler (Meldungen sind gekürzt):
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
[u6911372: /homepages/37/d19249310/htdocs/bko/tmp/DBD-SQLite-1.11]$ make
test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
-I/usr/lib/perl/5.6.1 -I/usr/share/perl/5.6.1 -e 'use Test::Harness
qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/00basic...........ok
..
t/02cr_table........ok
t/03insert..........dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 6-10
Failed 5/10 tests, 50.00% okay
t/04select..........ok
..
t/dbdadmin..........ok
Failed Test Status Wstat Total Fail Failed List of Failed
--------------------------------------------------------------------------------
t/03insert.t 2 512 10 5 50.00% 6-10
Can't locate object method "last_insert_id" via package
"DBI::db" (perhaps you forgot to load "DBI::db"?) at t/03insert.t line
13.
Failed 1/25 test scripts, 96.00% okay. 5/406 subtests failed, 98.77%
okay.
make: *** [test_dynamic] Error 29
[u6911372: /homepages/37/d19249310/htdocs/bko/tmp/DBD-SQLite-1.11]$
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
Ein "perl -V" sagt:
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
[u6911372: /homepages/37/d19249310/htdocs/bko/tmp/DBD-SQLite-1.11]$ perl
-V
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
Platform:
osname=linux, osvers=2.4.28-es, archname=i386-linux
uname='linux gluck 2.4.28-es #1 smp sun nov 21 19:05:12 est 2004
i686 unknown '
config_args='-Dccflags=-DDEBIAN -Dcccdlflags=-fPIC
-Dlibperl=libperl.so.5.6.1 -Dd_dosuid -des'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
Compiler:
cc='cc', ccflags ='-DDEBIAN -fno-strict-aliasing
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-DDEBIAN -fno-strict-aliasing -I/usr/local/include'
ccversion='', gccversion='2.95.4 20011002 (Debian prerelease)',
gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lgdbm -ldb -ldl -lm -lc -lcrypt
perllibs=-ldl -lm -lc -lcrypt
libc=/lib/libc-2.2.5.so, so=so, useshrplib=true,
libperl=libperl.so.5.6.1
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib'
Characteristics of this binary (from libperl):
@INC:
/usr/local/lib/perl/5.6.1
/usr/local/share/perl/5.6.1
/usr/lib/perl5
/usr/share/perl5
/usr/lib/perl/5.6.1
/usr/share/perl/5.6.1
/usr/local/lib/site_perl
.
[u6911372: /homepages/37/d19249310/htdocs/bko/tmp/DBD-SQLite-1.11]$
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
Nach langem Googlen habe ich in einem Forum eine Vermutung gefunden,
daß Perl in dieser Version (5.6) möglicherweise ein Problem mit
"Scalar::List::Utils" oder "Scalar::Utils" hätte? Kann das hier die
Fehlerursache sein? Im voraus Danke für Tips.
LG,
Ralph
PS: Es handelt sich um einen Webserver. Da ich keine root-Rechte besitze
Installation in priv.Verzeichnis. Das hat in der Vergangenheit immer gut
geklappt. Ach ja, MySql ist nicht möglich.
--
Um die Liste abzubestellen, schicken Sie eine Mail an:
[email protected]
Um eine Liste aller verfügbaren Kommandos zu bekommen, schicken
Sie eine Mail an: [email protected]