Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

(newbie) ActivePerl - No DBM package found......

Status
Not open for further replies.

fernan82

Technical User
Oct 29, 2002
10
US
I'm running iis on a Win2k Advanced Server box, w/ ActivePerl 5.6 installed, I'm trying to install a web based email script called NeoMail ( when i run the setup script (setup.pl) I get the following error:

No DBM package was succesfully found or installed on c:/perl/lib/AnyDBM_File.pm line 14.

Compilation failed in require at d:\http root\mail\setup.pl line 40.

I've tried installing the latest version of ActivePerl as well but got the same results. Any help would be greatly appreciated!

Fernan
 
Hey Fernan,

The error is telling you that you need the Perl module "AnyDBM_File.pm". If you look in the script at the top should list the Perl modules it is trying to use.

Here is what someone else said:


They don't have a complete installation of perl. There's nothing you can do until they install either a DBM module (DB_File is the best) or install a real version of perl, like ActiveState's build for Win32.. If they just install the DBM, then you might find yourself looking at a different error message because something else might be missing too..

Sorry I couldn't help more..
--KTFA


I would try to download that module...

Good Luck!
-pd
 
Thanks ProbablyDown, I did read that post on that other forum, but the thing is I do have ActiveState's build for Win32....... this is what the line 40 says on the setup.pl script: "require AnyDBM_File;"...... and this is what line 14 says on the AnyDBM_File.pm file: "die "No DBM package was successfully found or installed";" .............this is exactly what it says on top of the AnyDBM_File.pm (lines 1-15):

package AnyDBM_File;

use 5.005_64;
our @ISA = qw(NDBM_File DB_File GDBM_File SDBM_File ODBM_File) unless @ISA;

my $mod;
for $mod (@ISA) {
if (eval "require $mod") {
@ISA = ($mod); # if we leave @ISA alone, warnings abound
return 1;
}
}

die "No DBM package was successfully found or installed";
#return 0;

I'm new to this so I don't have an idea what that means..., hope someone else does.... anyways thanks for the help ProbablyDown.
 
Ah.... now I get it :)

It's looking for one of the DBM modules that it supports access to.

What *does* puzzle me though is that I can run the following script on my Win2k activestate perl without error.

use strict;
use warnings;
use AnyDBM_File;

So I *have* got one of those installed... Mike

Want to get great answers to your Tek-Tips questions? Have a look at faq219-2884

It's like this; even samurai have teddy bears, and even teddy bears get drunk.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top