in reply to Problem with Large Files

Check if your Perl was built with large files support with 'perl -V'. Look for uselargefiles in the Platform section, and any large files defines in the Compiler. If your Perl does not have large file support, you will need to find a package that does or build a new interpreter.

What OS are you using? Recent Linux distros should have large file support in glibc, and the ones I know of build Perl with large file support.

Replies are listed 'Best First'.
Re^2: Problem with Large Files
by jfroebe (Parson) on Jun 11, 2004 at 20:05 UTC

    Some operating systems require you to explicitly mount the filesystem with large file support (man mount).

    No one has seen what you have seen, and until that happens, we're all going to think that you're nuts. - Jack O'Neil, Stargate SG-1

Re^2: Problem with Large Files
by Dru (Hermit) on Jun 11, 2004 at 20:26 UTC
    Yeah, it does:
    [jdoe@pc]$ /opt/perl/bin/perl -V | grep large config_args='-d -Dprefix=/opt/perl -Duselargerfiles'
    It's a RH 9.0 machine. I'm going to be upgrading it soon to RH ES.

    Thanks.
      Please correct me if I am wrong, but is the configuration option not supposed to be -Duselargefiles (instead of -Duselargerfiles as shown in your post)? When checking the configuration on my own build of perl (which does have large file support), I receive the following output:
      rob@robc:~ > /opt/bin/perl -V | grep -i large useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef Compile-time options: USE_LARGE_FILES

       

      perl -le "print unpack'N', pack'B32', '00000000000000000000001011100011'"