The end of the saga!
After re-compiling DB_File, re-installing perl, re-installing mh, several
test programs, and getting nowhere. It dawned on me; Maybe the
uirt2_codes.dbm in the distro was corrupt or an incompatible dbm version?
I whacked the file and changed the following parameters to the UIRT2.pm
file, around line 68:
$db = tie (%DBM, 'DB_File', $dbm_file, O_RDWR|O_CREAT, 0666) or print "\nError, can not open dbm file $dbm_file: $!";
If the dbm file is not there, it creates it (in the right format), and all
Bruce / Dave thanks for your help and putting up with this thread. Now to
program the 15+ IR devices I have in the house. :(
On Wed, 26 Mar 2003, Bruce Winter wrote:
> > I wrote the following standalone program which has the same problem.
> > -----
> > #!/bin/perl
> > my $db, %DBM;
> > $db = tie %DBM, 'DB_File', '/usr/local/mh/data/uirt2_codes.dbm'
> > or print 'error: $!';
> > ----
> > Gives me a 'invalid argument'. Does this mean my DB_File install
> > is bad??
> > I installed lastest DB_File this weekend with CPAN after first having
> > these problems and it didnt seem to help. Perl 5.6.1 and DB_File 1.806.
> I tried your test script here. After adding 'use DB_File;', it ran without
> Did the install run without errors? Maybe re-run it and see if 'make test'
> works ok (I don't recall if it comes with a test suite, but they usually
> This SF.net email is sponsored by:
> The Definitive IT and Networking Event. Be There!
> NetWorld+Interop Las Vegas 2003 -- Register today!
> To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365