JPL & MLDBM

[email protected] ("Sheely, Kevin D") Thu, 4 Nov 1999 15:43:48 -0800
Newsgroups perl.jpl
Message-ID <71676651AAABD011A1DD00805FBEB420030F6184@xch-blv-01.ca.boeing.com>
We have a large JPL application that is using MLDBM (DB_File Storable)
to access several large databases.  This has been running on HP-UX 10.20
with
perl5.004_04
Berkeley db 1.85
Data-Dumper 2.09
DB_File 1.60
Storable-0.6@3
MLDBM-2.00
We are still using the JPL version that came with the Perl Resource Kit (11/97).

We tried moving JPL over to an HP-UX b.11.00 system and we were able to get it to
compile successfully.  But when we try running our application , we get an error
when attempting to tie to a new file (using MLDBM).  Our code look like :

tie(%top, "MLDBM", $file, O_CREAT|O_RDWR, 0666) 

The error we get is :

MLDBM error: Second level tie failed, "Invalid argument" 

We can take the same perl code and call it successfully outside of JPL with no
tie problems.  We only see the problem when called from JPL code.  

Has anyone seen anything similar to this problem?  We haven't tried moving to 
a newer perl/JPL  yet because we had heard there were problems getting JPL to compile
on HP-UX 11.00 .  



Kevin D. Sheely              425-957-5678
P.O. Box 24346  M/S  7M-HC
Seattle, WA 98124                     425-957-5060  fax

[email protected]