in reply to How to open a file more than 2.6 GB?

What output do you get from typing perl -V:uselargefiles?

If you don't get:

uselargefiles='define';

then you will either need to rebuild your copy of it with that option enabled in the makefile, or obtain a copy of perl so built.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Replies are listed 'Best First'.
Re^2: How to open a file more than 2.6 GB?
by zytu (Initiate) on Nov 29, 2005 at 02:08 UTC
    Unfortunately, the output is: uselargefiles='UNKNOWN'; So, if I want to use this option, how to add it into makefile? I didn't find it in the makefile. Can I add it into the makefile directly? Or can I do this in the process of configuration? Thank you very much!

      It depends upon which platform you are running on.

      On win32, you would need to edit the makefile (in the win32 subdirectory) and uncomment the line

      #USE_LARGE_FILES = define

      If you are running on other platforms, you can probably do this as a part of the configure step, but you'll need to look at the readme.XXX where XXX is your platform for the details.


      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.