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

Markus Neteler neteler at itc.it
Sun Aug 28 16:41:03 EDT 2005


On Fri, Aug 26, 2005 at 11:00:30PM -0700, David Finlayson wrote:
> 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?

I just see that large file support is disabled in the
cronjob generating the binaries.
If there are no objections, I can activate it for next
Saturday.

However, I don't know which changes are needed in the CVS to
enable it for r.terraflow as well (see old mail below, seems to
be C related rather than C++)

Markus


> 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

-- 
Markus Neteler     <neteler itc it>       http://mpa.itc.it
ITC-irst -  Centro per la Ricerca Scientifica e Tecnologica
MPBA - Predictive Models for Biol. & Environ. Data Analysis
Via Sommarive, 18        -       38050 Povo (Trento), Italy




More information about the grass-user mailing list