First of all, thanks for the original patch!

OK, now for the part where I sound like an idiot.  I built flow-tools with large file support on two other machines, each of which had a different OS version.  Large file support worked on both, no problems.  So, I came back to my original machine and started from scratch.  That is I deleted the /flow-tools-0.6.8/ directory from which I had been configuring.  I ran ./configure with --enable-lfs and guess what, it now works great.

Previously I had done a 'make distclean' and 'make clean', but perhaps I had a file sticking around that messed me up.  Anyway, the clean build worked for me.

Also, for what it is worth I get the same error message in config.log on all three builds, all of which work just fine.

configure:6364: Large File Support Enabled.
configure:6374: checking for special C compiler options needed for large files
configure:6454: result: no
configure:6460: checking for _FILE_OFFSET_BITS value needed for large files
configure:6492: gcc -c -g -Wall  conftest.c >&5
configure:6529: warning: left shift count >= width of type
configure:6529: warning: left shift count >= width of type
configure:6531: error: size of array `off_t_is_large' is negative
configure:6495: $? = 1

Thanks all for your help!

Dave



V. Alex Brennen wrote:
On 1/23/06, Dave Lien <[EMAIL PROTECTED]> wrote:
  
Obviously I don't yet have large file support.  I'm over my head at
this point and am open to suggestions as to flags or other changes to get
large file support working
    

Dave,

I provided the original patch that enabled large file support.

Can you tell me what platform (OS and version, Kernel version, and
Architecture) you're running on? and what version of autoconf and
automake you're running?  and what file system you're using?

>From the configure script output, I suspect you're on a 64bit
architecture.

I regularly run flowcat and flowstat on files much larger than 2GB
on RHAS 4 on 32bit x86 using an ext3 file system.


     - Alex
--
V. Alex Brennen      [EMAIL PROTECTED]
       http://cryptnet.net/people/vab/
  

-- 
Dave Lien
Networks and Systems Manager
Information Technology Services
University of Idaho
208-885-2128
[EMAIL PROTECTED]
_______________________________________________
Flow-tools mailing list
[EMAIL PROTECTED]
http://mailman.splintered.net/mailman/listinfo/flow-tools

Reply via email to