[GRASS-user] errors in r.drain (develbranch)

Carlos "Guâno" Grohmann carlos.grohmann at gmail.com
Mon Apr 6 19:31:04 EDT 2009


Yes, that fixed it.

many thanks

Carlos



2009/4/6 Colin Nielsen <colin.nielsen at gmail.com>:
> This might be an error with my updates
> (http://trac.osgeo.org/grass/changeset/36351). I'm not sure why there
> wasn't any error reported for me or others, but I see that there is an
> inconsistency in the code (my addition at 387 compared to lines 373
> and 374).
>
> 387             dir_fd = open(tempfile3, O_RDWR | O_CREAT);
> Should be:
> 387             dir_fd = open(tempfile3, O_RDWR | O_CREAT, 0666);
>
> Trying making that change and recompile. Markus, I can submit a diff
> for this line if needed.
>
> -Colin
>
> 2009/4/6 Carlos "Guâno" Grohmann <carlos.grohmann at gmail.com>:
>>>> -
>>>> Errors in:
>>>> /home/guano/pessoal/tmp_install/gis/grass6_devel/raster/r.drain
>>>
>>> (that's indeed grass7_devel/raster/r.drain/, right?)
>>>
>>
>> It's develbranch 6 (GRASS 6.5)
>>
>> svn checkout https://svn.osgeo.org/grass/grass/branches/develbranch_6
>> grass6_devel
>>
>>
>>  ...
>>>> guano[grass6_devel]$ cd raster/r.drain/
>>>> guano[r.drain]$ make
>>>> gcc -I/home/guano/pessoal/tmp_install/gis/grass6_devel/dist.i686-pc-linux-gnu/include
>>>>  -mt
>>>> une=nocona -minline-all-stringops -O2 -Wall -D_FILE_OFFSET_BITS=64
>>>> -I/usr/include/gdal
>>>>   -DPACKAGE=\""grassmods"\"
>>>> -I/home/guano/pessoal/tmp_install/gis/grass6_devel/dist.i686
>>>> -pc-linux-gnu/include -o OBJ.i686-pc-linux-gnu/main.o -c main.c
>>>> main.c: In function ‘main’:
>>>> main.c:174: warning: format not a string literal and no format arguments
>>>
>>> that line reads
>>>                G_warning(_("Starting point %d is outside the current region"),
>>> in GRASS 7.
>>> I assume that you lost somehow --with-nls as configure parameter so that
>>> the gettext macro isn't recognised completely.
>>
>> --with-nls is there (from ./configure):
>>
>> checking whether to use NLS... yes
>> checking for gettext... yes
>>
>>
>>>
>>> I suggest a "make distclean" and new configure.
>>
>> This is a fresh download..
>>
>> Carlos
>>
>>
>>
>> --
>> Carlos Henrique Grohmann - Geologist D.Sc.
>> a.k.a. Guano - Linux User #89721
>> ResearcherID: A-9030-2008
>> carlos dot grohmann at gmail dot com
>> http://www.igc.usp.br/pessoais/guano/
>> _________________
>> "Good morning, doctors. I have taken the liberty of removing Windows
>> 95 from my hard drive."
>> --The winning entry in a "What were HAL's first words" contest judged
>> by 2001: A SPACE ODYSSEY creator Arthur C. Clarke
>>
>> Can’t stop the signal.
>> _______________________________________________
>> grass-user mailing list
>> grass-user at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/grass-user
>>
>



-- 
Carlos Henrique Grohmann - Geologist D.Sc.
a.k.a. Guano - Linux User #89721
ResearcherID: A-9030-2008
carlos dot grohmann at gmail dot com
http://www.igc.usp.br/pessoais/guano/
_________________
"Good morning, doctors. I have taken the liberty of removing Windows
95 from my hard drive."
--The winning entry in a "What were HAL's first words" contest judged
by 2001: A SPACE ODYSSEY creator Arthur C. Clarke

Can’t stop the signal.


More information about the grass-user mailing list