Re: JPL & MLDBM

[email protected] Wed, 10 Nov 1999 18:27:06 -0500 (EST)
Newsgroups perl.jpl
Message-ID <Pine.LNX.4.10.9911101826430.2676-100000@oscorb.sking1.ri.home.com>
On Thu, 4 Nov 1999, Sheely, Kevin D wrote:

[...]

> 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" 
> 

Java overrides some of the standard C library calls in a slightly
incompatible fashion. This usually doesn't cause a problem, but sometimes
it does.

Can you find out what MLDBM is trying to do when it gets this error
message?  You could either use a tool similar to strace or truss, or look
in the MLDBM source and look around for this error string.  Maybe there is
something happening that just doesn't work with the overridden calls.

> 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 .

I haven't tried this myself, yet - I have a 712/60 with HP-UX 11.00, but
it's been in storage because of a lack of space (and a spare monitor)... 

Brian Jepson * ([email protected])  *  http://users.ids.net/~bjepson