At 11:30 PM -0600 2/6/08, John E. Malmberg wrote:
>Hein van den Heuvel wrote:
>>Hope this is the right place to ask...
>>If not, feel free to tell me to 'go away' as long as you indicate a
>>better place.
>>
>>anyway... I am experimenting with getpos/setpos on OpenVMS for large
>>files (> 2GB) and have some trouble using perl 5.8.6 on I64.
>
>I am not sure that Perl 5.8.6 as distributed by HP has large file support 
>compiled in.

You can tell whether your Perl has largefile support with the following:

$ perl -"V:uselargefiles"

Not only would 5.8.6 not have had largefile support enabled by default, I'm not 
sure we'd even added the option yet.

>>I realize I should try 5.8.10, and will install that asap.

No such animal.  The current release in the 5.8.x stream is 5.8.8, but a 5.8.9 
maintenance release is in preparation.  I believe it will be the first 5.8.x 
release to have large file support available, but off by default.  To build 
5.8.x with largefile support, configure like so:

$ @configure -"Duselargefiles" -"des"

Then build normally.  This has not been tested all that extensively, but your 
example should give it a workout.

While the 5.8.x stream is still getting bug fixes, 5.10.0 is out and has 
largefile support enabled by default (on VMS systems that have the capability) 
as well as tons of other new features, particularly on VMS.  For new projects, 
I think 5.10.0 is really the way to go.  Side note: there is no 5.9.x, which 
was just a development stream leading up to 5.10.0.

While almost all the effort and testing has gone into 5.10 over the last few 
years, I doubt anyone has actually tested the large file support with files 
over 2GB.  Seeing how your test script fares with 5.10.0 would be most 
interesting, so be sure to post results if you get a chance to do that.

-- 
________________________________________
Craig A. Berry
mailto:[EMAIL PROTECTED]

"... getting out of a sonnet is much more
 difficult than getting in."
                 Brad Leithauser

Reply via email to