[GRASS-dev] Re: [GRASS GIS] #1178: WinGrass: g.extension - problem with path to $GISBASE

GRASS GIS trac at osgeo.org
Mon May 16 16:41:12 EDT 2011


#1178: WinGrass: g.extension - problem with path to $GISBASE
---------------------------------------------------------------+------------
 Reporter:  hellik                                             |       Owner:  grass-dev@…              
     Type:  defect                                             |      Status:  new                      
 Priority:  major                                              |   Milestone:  6.4.2                    
Component:  Installation                                       |     Version:  svn-releasebranch64      
 Keywords:  wingrass, g.extension, path, installation, addons  |    Platform:  MSWindows Vista          
      Cpu:  x86-32                                             |  
---------------------------------------------------------------+------------

Comment(by hellik):

 Replying to [comment:34 hellik]:
 > Replying to [comment:33 hellik]:
 > > Replying to [comment:32 hellik]:
 > > > Replying to [comment:31 hellik]:
 > > > [...]
 > >
 > > {{{
 > > gcc.exe: installation problem, cannot exec `cc1': No such file or
 directory
 > > }}}
 > >
 > > cc1.exe lives in the osgeo4w-build-environment in
 c:\OSGeo4W\libexec\gcc\mingw32\3.4.5\cc1.exe, but isn't included in the
 nightly-wingrass-installer.
 > >
 > > so cc1.exe should be included in C:\Program Files\GRASS
 6.4.SVN\extrabin by the wingrass-installer.
 > >
 >
 > and in the wingrass-installer there also missing files from
 >
 > C:\OSGeo4W\include
 >
 > and
 >
 > C:\OSGeo4W\lib\gcc\mingw32\3.4.5\include (like stddef.h or stdarg.h)
 >

 now I've tried following:

 - added manually GISBASE=C:/PROGRA~1/GRASS6~1.SVN to g.extension
 - added cc1.exe in C:\Program Files\GRASS 6.4.SVN\extrabin
 - added include files from C:\OSGeo4W\include and
 C:\OSGeo4W\lib\gcc\mingw32\3.4.5\include in C:\Program Files\GRASS
 6.4.SVN\include

 then there are some steps further with compiling by g.extension in a
 wingrass-installation

 {{{
 GRASS 6.4> g.extension extension=r.stream.order
 which: wget: unknown command
 WARNUNG: GRASS_ADDON_PATH is not defined, installing to ~/.grass6/addons/
 Fetching <r.stream.order> from GRASS-Addons SVN (be patient)...
 A    r.stream.order\orders.png
 A    r.stream.order\main.c
 A    r.stream.order\description.html
 A    r.stream.order\global.h
 A    r.stream.order\io.c
 A    r.stream.order\order.c
 A    r.stream.order\Makefile
 Checked out revision 46320.
 Compiling <r.stream.order>...
 C:/PROGRA~1/GRASS6~1.SVN/include/Make/Module.make:25: warning: overriding
 comma                                           nds for target `install'
 C:/PROGRA~1/GRASS6~1.SVN/include/Make/Rules.make:90: warning: ignoring old
 comm                                           ands for target `install'
 mkdir -p
 C:\gisdata\grassdata/nc_spm_08/user1/.tmp/6948.0/dist/include/grass
 mkdir -p C:\gisdata\grassdata/nc_spm_08/user1/.tmp/6948.0/dist/bin
 mkdir -p C:\gisdata\grassdata/nc_spm_08/user1/.tmp/6948.0/dist/etc
 mkdir -p C:\gisdata\grassdata/nc_spm_08/user1/.tmp/6948.0/dist/driver
 mkdir -p C:\gisdata\grassdata/nc_spm_08/user1/.tmp/6948.0/dist/driver/db
 mkdir -p C:\gisdata\grassdata/nc_spm_08/user1/.tmp/6948.0/dist/fonts
 test -d OBJ.i686-pc-mingw32 || mkdir -p OBJ.i686-pc-mingw32
 gcc -IC:/PROGRA~1/GRASS6~1.SVN/include
 -I/home/syringia/.grass6/addons/include
 -IC:\gisdata\grassdata/nc_spm_08/user1/.tmp/6948.0/dist/include
 -I/c/OSGeo4W/in                                           clude -g -O2
 -I/c/OSGeo4W/include  -I/c/OSGeo4W/include -I/c/OSGeo4W/include
 -DPACKAGE=\""grassmods"\"  -IC:/PROGRA~1/GRASS6~1.SVN/include
 -I/home/syringia
 /.grass6/addons/include
 -IC:\gisdata\grassdata/nc_spm_08/user1/.tmp/6948.0/dist
 /include -o OBJ.i686-pc-mingw32/io.o -c io.c
 In file included from C:/PROGRA~1/GRASS6~1.SVN/include/grass/gis.h:651,
                  from global.h:5,
                  from io.c:2:
 C:/PROGRA~1/GRASS6~1.SVN/include/grass/gisdefs.h:129: warning:
 `libintl_printf'                                            is an
 unrecognized format function type
 C:/PROGRA~1/GRASS6~1.SVN/include/grass/gisdefs.h:418: warning:
 `libintl_printf'                                            is an
 unrecognized format function type
 C:/PROGRA~1/GRASS6~1.SVN/include/grass/gisdefs.h:429: warning:
 `libintl_printf'                                            is an
 unrecognized format function type
 C:/PROGRA~1/GRASS6~1.SVN/include/grass/gisdefs.h:457: warning:
 `libintl_printf'                                            is an
 unrecognized format function type
 C:/PROGRA~1/GRASS6~1.SVN/include/grass/gisdefs.h:459: warning:
 `libintl_printf'                                            is an
 unrecognized format function type
 C:/PROGRA~1/GRASS6~1.SVN/include/grass/gisdefs.h:461: warning:
 `libintl_printf'                                            is an
 unrecognized format function type
 C:/PROGRA~1/GRASS6~1.SVN/include/grass/gisdefs.h:463: warning:
 `libintl_printf'                                            is an
 unrecognized format function type
 C:/PROGRA~1/GRASS6~1.SVN/include/grass/gisdefs.h:464: warning:
 `libintl_printf'                                            is an
 unrecognized format function type
 C:/PROGRA~1/GRASS6~1.SVN/include/grass/gisdefs.h:1114: warning:
 `libintl_printf                                           ' is an
 unrecognized format function type
 gcc -IC:/PROGRA~1/GRASS6~1.SVN/include
 -I/home/syringia/.grass6/addons/include
 -IC:\gisdata\grassdata/nc_spm_08/user1/.tmp/6948.0/dist/include
 -I/c/OSGeo4W/in                                           clude -g -O2
 -I/c/OSGeo4W/include  -I/c/OSGeo4W/include -I/c/OSGeo4W/include
 -DPACKAGE=\""grassmods"\"  -IC:/PROGRA~1/GRASS6~1.SVN/include
 -I/home/syringia
 /.grass6/addons/include
 -IC:\gisdata\grassdata/nc_spm_08/user1/.tmp/6948.0/dist
 /include -o OBJ.i686-pc-mingw32/main.o -c main.c
 In file included from C:/PROGRA~1/GRASS6~1.SVN/include/grass/gis.h:651,
                  from global.h:5,
                  from main.c:19:
 C:/PROGRA~1/GRASS6~1.SVN/include/grass/gisdefs.h:129: warning:
 `libintl_printf'                                            is an
 unrecognized format function type
 C:/PROGRA~1/GRASS6~1.SVN/include/grass/gisdefs.h:418: warning:
 `libintl_printf'                                            is an
 unrecognized format function type
 C:/PROGRA~1/GRASS6~1.SVN/include/grass/gisdefs.h:429: warning:
 `libintl_printf'                                            is an
 unrecognized format function type
 C:/PROGRA~1/GRASS6~1.SVN/include/grass/gisdefs.h:457: warning:
 `libintl_printf'                                            is an
 unrecognized format function type
 C:/PROGRA~1/GRASS6~1.SVN/include/grass/gisdefs.h:459: warning:
 `libintl_printf'                                            is an
 unrecognized format function type
 C:/PROGRA~1/GRASS6~1.SVN/include/grass/gisdefs.h:461: warning:
 `libintl_printf'                                            is an
 unrecognized format function type
 C:/PROGRA~1/GRASS6~1.SVN/include/grass/gisdefs.h:463: warning:
 `libintl_printf'                                            is an
 unrecognized format function type
 C:/PROGRA~1/GRASS6~1.SVN/include/grass/gisdefs.h:464: warning:
 `libintl_printf'                                            is an
 unrecognized format function type
 C:/PROGRA~1/GRASS6~1.SVN/include/grass/gisdefs.h:1114: warning:
 `libintl_printf                                           ' is an
 unrecognized format function type
 gcc -IC:/PROGRA~1/GRASS6~1.SVN/include
 -I/home/syringia/.grass6/addons/include
 -IC:\gisdata\grassdata/nc_spm_08/user1/.tmp/6948.0/dist/include
 -I/c/OSGeo4W/in                                           clude -g -O2
 -I/c/OSGeo4W/include  -I/c/OSGeo4W/include -I/c/OSGeo4W/include
 -DPACKAGE=\""grassmods"\"  -IC:/PROGRA~1/GRASS6~1.SVN/include
 -I/home/syringia
 /.grass6/addons/include
 -IC:\gisdata\grassdata/nc_spm_08/user1/.tmp/6948.0/dist
 /include -o OBJ.i686-pc-mingw32/order.o -c order.c
 In file included from C:/PROGRA~1/GRASS6~1.SVN/include/grass/gis.h:651,
                  from global.h:5,
                  from order.c:4:
 C:/PROGRA~1/GRASS6~1.SVN/include/grass/gisdefs.h:129: warning:
 `libintl_printf'                                            is an
 unrecognized format function type
 C:/PROGRA~1/GRASS6~1.SVN/include/grass/gisdefs.h:418: warning:
 `libintl_printf'                                            is an
 unrecognized format function type
 C:/PROGRA~1/GRASS6~1.SVN/include/grass/gisdefs.h:429: warning:
 `libintl_printf'                                            is an
 unrecognized format function type
 C:/PROGRA~1/GRASS6~1.SVN/include/grass/gisdefs.h:457: warning:
 `libintl_printf'                                            is an
 unrecognized format function type
 C:/PROGRA~1/GRASS6~1.SVN/include/grass/gisdefs.h:459: warning:
 `libintl_printf'                                            is an
 unrecognized format function type
 C:/PROGRA~1/GRASS6~1.SVN/include/grass/gisdefs.h:461: warning:
 `libintl_printf'                                            is an
 unrecognized format function type
 C:/PROGRA~1/GRASS6~1.SVN/include/grass/gisdefs.h:463: warning:
 `libintl_printf'                                            is an
 unrecognized format function type
 C:/PROGRA~1/GRASS6~1.SVN/include/grass/gisdefs.h:464: warning:
 `libintl_printf'                                            is an
 unrecognized format function type
 C:/PROGRA~1/GRASS6~1.SVN/include/grass/gisdefs.h:1114: warning:
 `libintl_printf                                           ' is an
 unrecognized format function type
 gcc -LC:/PROGRA~1/GRASS6~1.SVN/lib -L/home/syringia/.grass6/addons/lib
 -LC:\gis
 data\grassdata/nc_spm_08/user1/.tmp/6948.0/dist/lib -Wl,--export-dynamic,
 --enab                                           le-runtime-pseudo-reloc
 -L/c/OSGeo4W/lib -L/osgeo4w/usr/src/grass64_release/ms
 windows/osgeo4w/lib     -o
 C:\gisdata\grassdata/nc_spm_08/user1/.tmp/6948.0/dis
 t/bin/r.stream.order.exe OBJ.i686-pc-mingw32/io.o OBJ.i686-pc-
 mingw32/main.o OB                                           J.i686-pc-
 mingw32/order.o C:/PROGRA~1/GRASS6~1.SVN/lib/gis/OBJ.i686-pc-mingw32/
 fmode.o -lgrass_vect.6.4.2svn -lgrass_dbmibase.6.4.2svn
 -lgrass_gis.6.4.2svn -l
 grass_datetime.6.4.2svn -lxdr -liberty -lws2_32    -lz   -lintl
 -lgrass_dbmic                                           lient.6.4.2svn
 -lgrass_dbmibase.6.4.2svn -lgrass_gis.6.4.2svn -lgrass_datetime.
 6.4.2svn -lxdr -liberty -lws2_32    -lz   -lintl   -lgrass_gis.6.4.2svn
 -lgrass                                           _datetime.6.4.2svn -lxdr
 -liberty -lws2_32    -lz   -lintl   -lgrass_dgl.6.4.2s
 vn -lgrass_dig2.6.4.2svn -lgrass_gis.6.4.2svn -lgrass_datetime.6.4.2svn
 -lxdr -                                           liberty -lws2_32    -lz
 -lintl  -lgrass_rtree.6.4.2svn  -lgrass_gis.6.4.2svn
 -lgrass_datetime.6.4.2svn -lxdr -liberty -lws2_32    -lz   -lintl
 -lgrass_link                                           m.6.4.2svn
 -lgrass_rtree.6.4.2svn  -lgrass_dig2.6.4.2svn -lgrass_gis.6.4.2svn -
 lgrass_datetime.6.4.2svn -lxdr -liberty -lws2_32    -lz   -lintl
 -lgrass_rtree                                           .6.4.2svn
 -lgrass_dgl.6.4.2svn -lgrass_rtree.6.4.2svn -lgrass_linkm.6.4.2svn -
 lgrass_dbmiclient.6.4.2svn -lgrass_dbmibase.6.4.2svn -lgrass_gis.6.4.2svn
 -lgra                                           ss_datetime.6.4.2svn -lxdr
 -liberty -lws2_32    -lz   -lintl   -lgrass_gis.6.4.
 2svn -lgrass_datetime.6.4.2svn -lxdr -liberty -lws2_32    -lz   -lintl
 -lgras                                           s_dbmibase.6.4.2svn
 -lgrass_gis.6.4.2svn -lgrass_datetime.6.4.2svn -lxdr -liber
 ty -lws2_32    -lz   -lintl    /c/OSGeo4W/lib/gdal_i.lib
 /c/OSGeo4W/lib/geos_c_                                           i.lib
 -lgeos_c_i  -lgrass_dbmiclient.6.4.2svn -lgrass_dbmibase.6.4.2svn -lgrass
 _gis.6.4.2svn -lgrass_datetime.6.4.2svn -lxdr -liberty -lws2_32    -lz
 -lintl                                              -lgrass_gis.6.4.2svn
 -lgrass_datetime.6.4.2svn -lxdr -liberty -lws2_32    -l
 z   -lintl   -lgrass_dbmibase.6.4.2svn -lgrass_gis.6.4.2svn
 -lgrass_datetime.6.                                           4.2svn -lxdr
 -liberty -lws2_32    -lz   -lintl    -lgrass_gis.6.4.2svn -lgrass_
 datetime.6.4.2svn -lxdr -liberty -lws2_32    -lz   -lintl   -lxdr -liberty
 -lws                                           2_32    -lz
 gcc.exe: C:/PROGRA~1/GRASS6~1.SVN/lib/gis/OBJ.i686-pc-mingw32/fmode.o: No
 such                                            file or directory
 make: ***
 [C:\gisdata\grassdata/nc_spm_08/user1/.tmp/6948.0/dist/bin/r.stream.o
 rder.exe] Error 1
 FEHLER: Compilation failed, sorry. Please check above error messages.
 rm: cannot remove directory
 `C:\\gisdata\\grassdata/nc_spm_08/user1/.tmp/6948.0
 /r.stream.order': Permission denied
 GRASS 6.4>
 }}}

 Helmut

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/1178#comment:35>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list