SliTaz SliTaz Forum

You are not logged in.

#1 2012-12-19 21:38:54

emgi
Member
Registered: 2012-12-17
Posts: 127

Can't install DBD::SQLite

Want to use Perl with SQLite. This requires the above DBI extension.

I've installed all packages that could possibly be related but that didn't fix it, it seems this module is not in there:

leo@svm01:~$ perl read-DE.pl

install_driver(SQLite) failed: Can't locate DBD/SQLite.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.12.3/i686-linux /usr/lib/perl5/site_perl/5.12.3 /usr/lib/perl5/5.12.3/i686-linux /usr/lib/perl5/5.12.3 .) at (eval 3) line 3.

Perhaps the DBD::SQLite perl module hasn't been fully installed,

or perhaps the capitalisation of 'SQLite' isn't right.

Available drivers: DBM, ExampleP, File, Gofer, Proxy, Sponge, mysql.

at read-DE.pl.txt line 10

Normally you can add missing modules via cpan but that also fails:

cpan[4]> install DBD::SQLite

Running install for module 'DBD::SQLite'

Running make for A/AD/ADAMK/DBD-SQLite-1.37.tar.gz

Checksum for /root/.cpan/sources/authors/id/A/AD/ADAMK/DBD-SQLite-1.37.tar.gz ok

  CPAN.pm: Going to build A/AD/ADAMK/DBD-SQLite-1.37.tar.gz

Checking if your kit is complete...

Looks good

Using DBI 1.607 (for perl 5.012003 on i686-linux) installed in /usr/lib/perl5/site_perl/5.12.3/i686-linux/auto/DBI/

Writing Makefile for DBD::SQLite

Can't exec "make": No such file or directory at /usr/lib/perl5/5.12.3/CPAN/Distribution.pm line 2026.

  ADAMK/DBD-SQLite-1.37.tar.gz

  make -- NOT OK

Running make test

  Can't test without successful make

Running make install

  Make had returned bad status, install seems impossible

Failed during this command:

ADAMK/DBD-SQLite-1.37.tar.gz                 : make NO

I'm a bit lost now.

/emgi

Offline

#2 2012-12-20 08:24:59

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: Can't install DBD::SQLite

Added: http://hg.slitaz.org/wok-stable/rev/9ddf6146044d

Should be built soon and I will provide the link when it is.

A few things you should know about Perl on SliTaz:

CPAN doesn't work - probably for the same reason git addresses using https sites doesn't work. It seems related to the OpenSSL libraries and it doesn't work even if you compiled perl from scratch (I tried it). Another thing is that perldoc looks a little weird, but it can be partially fixed by installing http://www.trixarian.net/downloads/groff-base-1.20.1-10.tazpkg

Offline

#3 2012-12-20 11:50:20

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: Can't install DBD::SQLite

Package built: http://cook.slitaz.org/stable/cooker.cgi?download=perl-dbd-sqlite-1.37.tazpkg

Offline

#4 2012-12-20 14:09:14

emgi
Member
Registered: 2012-12-17
Posts: 127

Re: Can't install DBD::SQLite

With this level of support,who would want to go for an official (paid) Unix version?

Package installed and my problem was resolved.

I'm really sorry that I can only act as a tester who simply yells when something doesn't work. At least that is the situation at the moment but I must say that I'm really eager to learn this kind of black-art. ;-)

BTW: Did I see it correctly that this package was added to 4.0 stable?

ToT (Tonnes of Thnx)

/emgi

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]