[GRASS-user] g.extension in WinGrass - compiling error with addons

Helmut Kudrnovsky hellik at web.de
Fri Jan 8 18:05:12 EST 2010


hi,

I've tested g.extension on a selfcompiled WinGrass65 (WinVista32, compiled in the osgeo4w-stack).

(btw annoying to find a working windows-commandline-svn-version for msys in the osgeo4w-stack)

      g.extension extension=r.stream.basins prefix=${GISBASE}:

(Fri Jan 08 23:52:26 2010)                                                      
g.extension extension=r.stream.basins prefix=${GISBASE}                         
Fetching <r.stream.basins> from GRASS-Addons SVN (be patient)...
A    r.stream.basins\main.c
A    r.stream.basins\description.html
A    r.stream.basins\global.h
A    r.stream.basins\catchment.c
A    r.stream.basins\io.c
A    r.stream.basins\Makefile
Checked out revision 40328.
Compiling r.stream.basins...
c:/OSGeo4W/apps/grass/grass-6.5.svn/include/Make/Module.make
:25: warning: overriding commands for target `install'
c:/OSGeo4W/apps/grass/grass-6.5.svn/include/Make/Rules.make:
82: warning: ignoring old commands for target `install'
test -d OBJ.i686-pc-mingw32 || mkdir -p OBJ.i686-pc-mingw32
gcc -I/c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32/include -I/c/OSGeo4W/apps/gdal-16/include -I/c/OSGeo4W/include -g -O2  -I/c/OSGeo4W/apps/gdal-16/include -I/c/OSGeo4W/include  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"  -I/c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32/include -o OBJ.i686-pc-mingw32/catchment.o -c catchment.c
In file included from
c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/include/grass/gis.h:645,
                 from global.h:5,
                 from catchment.c:2:
c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/include/grass/gisdefs.h:129: warning:
`libintl_printf' is an unrecognized format function type
c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/include/grass/gisdefs.h:418: warning:
`libintl_printf' is an unrecognized format function type
c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/include/grass/gisdefs.h:429: warning:
`libintl_printf' is an unrecognized format function type
c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/include/grass/gisdefs.h:457: warning:
`libintl_printf' is an unrecognized format function type
c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/include/grass/gisdefs.h:459: warning:
`libintl_printf' is an unrecognized format function type
c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/include/grass/gisdefs.h:461: warning:
`libintl_printf' is an unrecognized format function type
c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/include/grass/gisdefs.h:463: warning:
`libintl_printf' is an unrecognized format function type
c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/include/grass/gisdefs.h:464: warning:
`libintl_printf' is an unrecognized format function type
c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/include/grass/gisdefs.h:1107: warning:
`libintl_printf' is an unrecognized format function type
gcc -I/c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32/include -I/c/OSGeo4W/apps/gdal-16/include -I/c/OSGeo4W/include -g -O2  -I/c/OSGeo4W/apps/gdal-16/include -I/c/OSGeo4W/include  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"  -I/c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32/include -o OBJ.i686-pc-mingw32/io.o -c io.c
In file included from
c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/include/grass/gis.h:645,
                 from global.h:5,
                 from io.c:2:
c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/include/grass/gisdefs.h:129: warning:
`libintl_printf' is an unrecognized format function type
c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/include/grass/gisdefs.h:418: warning:
`libintl_printf' is an unrecognized format function type
c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/include/grass/gisdefs.h:429: warning:
`libintl_printf' is an unrecognized format function type
c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/include/grass/gisdefs.h:457: warning:
`libintl_printf' is an unrecognized format function type
c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/include/grass/gisdefs.h:459: warning:
`libintl_printf' is an unrecognized format function type
c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/include/grass/gisdefs.h:461: warning:
`libintl_printf' is an unrecognized format function type
c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/include/grass/gisdefs.h:463: warning:
`libintl_printf' is an unrecognized format function type
c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/include/grass/gisdefs.h:464: warning:
`libintl_printf' is an unrecognized format function type
c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/include/grass/gisdefs.h:1107: warning:
`libintl_printf' is an unrecognized format function type
gcc -I/c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32/include -I/c/OSGeo4W/apps/gdal-16/include -I/c/OSGeo4W/include -g -O2  -I/c/OSGeo4W/apps/gdal-16/include -I/c/OSGeo4W/include  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"  -I/c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32/include -o OBJ.i686-pc-mingw32/main.o -c main.c
In file included from
c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/include/grass/gis.h:645,
                 from global.h:5,
                 from main.c:24:
c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/include/grass/gisdefs.h:129: warning:
`libintl_printf' is an unrecognized format function type
c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/include/grass/gisdefs.h:418: warning:
`libintl_printf' is an unrecognized format function type
c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/include/grass/gisdefs.h:429: warning:
`libintl_printf' is an unrecognized format function type
c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/include/grass/gisdefs.h:457: warning:
`libintl_printf' is an unrecognized format function type
c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/include/grass/gisdefs.h:459: warning:
`libintl_printf' is an unrecognized format function type
c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/include/grass/gisdefs.h:461: warning:
`libintl_printf' is an unrecognized format function type
c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/include/grass/gisdefs.h:463: warning:
`libintl_printf' is an unrecognized format function type
c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/include/grass/gisdefs.h:464: warning:
`libintl_printf' is an unrecognized format function type
c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/include/grass/gisdefs.h:1107: warning:
`libintl_printf' is an unrecognized format function type
gcc.exe:
c:/OSGeo4W/apps/grass/grass-6.5.svn/lib/gis/OBJ.i686-pc-
mingw32/fmode.o: No such file or directory
make: *** [/c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/bin/r.stream.basins.exe] Error 1
gcc -L/c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32/lib -Wl,--export-dynamic,--enable-runtime-pseudo-reloc  -L/c/OSGeo4W/apps/gdal-16/lib -L/c/OSGeo4W/lib     -o /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32/bin/r.stream.basins.exe OBJ.i686-pc-mingw32/catchment.o OBJ.i686-pc-mingw32/io.o OBJ.i686-pc-mingw32/main.o c:/OSGeo4W/apps/grass/grass-6.5.svn/lib/gis/OBJ.i686-pc-mingw32/fmode.o -lgrass_vect -lgrass_dbmibase -lgrass_gis -lgrass_datetime -lxdr -liberty -lws2_32    -lz   -lintl   -lgrass_dbmiclient -lgrass_dbmibase -lgrass_gis -lgrass_datetime -lxdr -liberty -lws2_32    -lz   -lintl   -lgrass_gis -lgrass_datetime -lxdr -liberty -lws2_32    -lz   -lintl   -lgrass_dgl -lgrass_dig2 -lgrass_gis -lgrass_datetime -lxdr -liberty -lws2_32    -lz   -lintl  -lgrass_rtree  -lgrass_gis -lgrass_datetime -lxdr -liberty -lws2_32    -lz   -lintl  -lgrass_linkm -lgrass_rtree  -lgrass_dig2 -lgrass_gis -lgrass_datetime -lxdr -liberty -lws2_32    -lz   -lintl  -lgrass_rtree  -lgrass_dgl -lgrass_rtree -lgrass_linkm -lgrass_dbmiclient -lgrass_dbmibase -lgrass_gis -lgrass_datetime -lxdr -liberty -lws2_32    -lz   -lintl   -lgrass_gis -lgrass_datetime -lxdr -liberty -lws2_32    -lz   -lintl   -lgrass_dbmibase -lgrass_gis -lgrass_datetime -lxdr -liberty -lws2_32    -lz   -lintl    -L/c/OSGeo4W/lib -lgdal15  -lgrass_dbmiclient -lgrass_dbmibase -lgrass_gis -lgrass_datetime -lxdr -liberty -lws2_32    -lz   -lintl   -lgrass_gis -lgrass_datetime -lxdr -liberty -lws2_32    -lz   -lintl   -lgrass_dbmibase -lgrass_gis -lgrass_datetime -lxdr -liberty -lws2_32    -lz   -lintl    -lgrass_gis -lgrass_datetime -lxdr -liberty -lws2_32    -lz   -lintl   -lxdr -liberty -lws2_32    -lz 
ERROR: Compilation failed, sorry. Please check above error messages.
rm: cannot remove directory `C:\\gisdata\\grassdata/nc_spm_0
8/user1/.tmp/6560.0/r.stream.basins': Permission denied
(Fri Jan 08 23:52:54 2010) Command finished (28 sec)  

I've tried this a few addons, always an error

best regards
Helmut
___________________________________________________________
Preisknaller: WEB.DE DSL Flatrate für nur 16,99 Euro/mtl.! 
http://produkte.web.de/go/02/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1747 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.osgeo.org/pipermail/grass-user/attachments/20100109/0e386fb3/smime.bin


More information about the grass-user mailing list