> -----Original Message----- > From: Mariusz [mailto:[EMAIL PROTECTED]] > Sent: Monday, August 19, 2002 6:41 AM > To: [EMAIL PROTECTED] > Subject: Perl and Berkley DB - troubles > > > Hello, > > 1. I have installed perl (perl-5.6.1.tar.gz) > 2. I have installed Berkley DB (db-4.0.14.tar.gz) > 3. now, when I try to run a Perl script, it says: > > ------------------------ > Checking for installation of Berkely DB or GNU DB capability... > No DBM package was successfully found or installed at > /usr/local/lib/perl5/5.6.1/AnyDBM_File.pm line 14. > Compilation failed in require at ./setup.pl line 40. > ------------------------ > > What's wrong? "AnyDBM_File.pm" is present in the proper > directory, but the > script keeps moniting... Should I recompile Perl with some options or > install DBM first? > I also tried to install DB from .rpm and as perl modules > (cpan) as well but > it didn't change anything. > Could you please help me with that?
1. You need to install DB_File 2. If you specifically want to use Berkeley DB, then use DB_File, not AnyDBM_File. The latter is for use only when you aren't particular about what kind of database to use and are willing to accept anything that's found. Note also that there are other modules on CPAN for talking to Berkely DB that let you access the advanced features of that database. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]