[GRASSLIST:8089] Re: [GRASS5] Re: Re: r.terraflow failured

David Finlayson david.p.finlayson at gmail.com
Sat Aug 27 02:00:30 EDT 2005


I recently updated my binary install of grass:

grass6.1.cvs-i686-pc-linux-gnu-13_08_2005

and noticed it still did not have the large file support compiled in
for r.terraflow. Is this something that will remain off by default? In
other words, do I need to get off my duff and learn how to check out
GRASS code from CVS and compile it myself?

David 




On 7/8/05, Markus Neteler <neteler at itc.it> wrote:
> On Fri, Jul 08, 2005 at 06:06:44PM +1200, Hamish wrote:
> > On Tue, 05 Jul 2005 11:16:47 -0400
> > Laura Toma <ltoma at bowdoin.edu> wrote:
> >
> > >
> > > I changed in  r.terraflow/IOStream/lib/src/Makefile
> > >
> > > line9: CXX = g++ -Wall
> > >
> > > to
> > >
> > > CXX = g++ -Wall -D_FILE_OFFSET_BITS=64
> > >
> > > Then I cleaned everything, and recompiled, and it works now for me (on
> > > a Linux machine).
> >
> >
> > GRASS 6's  r.terraflow/IOStream/lib/src/Makefile  mentions $(CXX) and
> > $(CPPFLAGS).
> >
> > Does either of those actually get the needed LFS flags if GRASS is
> > configured with --enable-largefile ?
> >
> 
> I don't think so. Look at
> grass61/lib/gis/Makefile
> 
> there is:
> 
> #compile if LFS Large File Support present:
> ifneq ($(USE_LARGEFILES),)
>         EXTRA_CFLAGS = -D_FILE_OFFSET_BITS=64
> endif
> 
> This must the added to the r.terraflow Makefiles.
> 
> Markus
> 
> 


-- 
David Finlayson
Marine Geology & Geophysics
School of Oceanography
Box 357940
University of Washington
Seattle, WA  98195-7940
USA

Office: Marine Sciences Building, Room 112
Phone: (206) 616-9407
Web: http://students.washington.edu/dfinlays




More information about the grass-user mailing list