How can I use DBM with Puppy Perl?

Talk about and post software packages known to work or packaged for Puppy.
Post Reply
Message
Author
User avatar
Abnormalter
Posts: 95
Joined: Sun 31 Jan 2010, 10:56
Location: Russia

How can I use DBM with Puppy Perl?

#1 Post by Abnormalter »

Hello, I have needs to using DBM database with my Perl program under Puppy. I find that it's workedn't here. But under other Linux (non Puppy modeline) the Perl supports DBM 'in box'.

Under Pyppy (by slacko-531 or other distros) the Perl says:

Code: Select all

No dbm on this machine...
Directive 'use DB_File' throw many lines for unresolved depending...

Environment and my attempts. I was googled it, but any suggestions worked not too. Shortly, I attempted manually using the ActivePerl components library, for adds any needs modules, but it resolved not too...

Any ideas?

UPD. So, for testing may use this symple perl-program:

Code: Select all

#!/usr/bin/perl -w
use strict;
use DB_File;
%h=();
$_db = 'test';
dbmopen(%h, $_db, 0644) || die "Cannot open DBM: ".$_db." file\n";
sleep 2;
dbmclose(%h);
exit;

User avatar
Abnormalter
Posts: 95
Joined: Sun 31 Jan 2010, 10:56
Location: Russia

#2 Post by Abnormalter »

Well, I find a pet for FULL Perl install here:
http://distro.ibiblio.org/puppylinux/pet_packages-4/
perl-5.8.8.pet 2009-Feb-28 20:22:35 11.3M
Thanks

Post Reply