[GRASS5] Re: [GRASSLIST:7448] Re: r.terraflow failured
Laura Toma
ltoma at bowdoin.edu
Fri Jul 8 11:00:56 EDT 2005
Don't know, maybe (depends on the configure script?) I guess the
safest way is to try it and see what the g++ command becomes when
compiling the library.
I only tried it for grass 5.x, and it did not work without the
largefile flag in both Makefiles.
-Laura
On Jul 8, 2005, at 2:06 AM, 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 ?
>
>
>
> Hamish
More information about the grass-dev
mailing list