#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:38 neteler]: > I suspect that the update from r46315 needs also to go into the > "make install" target in the main Makefile of GRASS. I've tested this now with a self compiled grass65svn where the startup script is in C:\OSGeo4W\usr\src\grass6_devel\bin.i686-pc-mingw32 and all the rest is in C:\OSGeo4W\usr\src\grass6_devel\dist.i686-pc-mingw32 {{{ GRASS 6.5> g.extension extension=r.stream.order 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 46330. Compiling <r.stream.order>... c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc- mingw32/include/Make/Module.make:2 5: warning: overriding commands for target `install' c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc- mingw32/include/Make/Rules.make:90 : warning: ignoring old commands for target `install' mkdir -p C:\gisdata\grassdata/nc_spm_08/g65/.tmp/7172.0/dist/include/grass mkdir -p C:\gisdata\grassdata/nc_spm_08/g65/.tmp/7172.0/dist/bin mkdir -p C:\gisdata\grassdata/nc_spm_08/g65/.tmp/7172.0/dist/etc mkdir -p C:\gisdata\grassdata/nc_spm_08/g65/.tmp/7172.0/dist/driver mkdir -p C:\gisdata\grassdata/nc_spm_08/g65/.tmp/7172.0/dist/driver/db mkdir -p C:\gisdata\grassdata/nc_spm_08/g65/.tmp/7172.0/dist/fonts test -d OBJ.i686-pc-mingw32 || mkdir -p OBJ.i686-pc-mingw32 gcc -Ic:/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32/include -I/c/Users/s yringia/.grass6/addons/include -IC:\gisdata\grassdata/nc_spm_08/g65/.tmp/7172.0 /dist/include -I/c/OSGeo4W/include -g -O2 -I/c/OSGeo4W/include -I/c/OSGeo4W/i nclude -I/c/OSGeo4W/include -DPACKAGE=\""grassmods"\" -Ic:/osgeo4w/usr/src/g rass6_devel/dist.i686-pc-mingw32/include -I/c/Users/syringia/.grass6/addons/inc lude -IC:\gisdata\grassdata/nc_spm_08/g65/.tmp/7172.0/dist/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/incl ude/grass/gis.h:651, from global.h:5, from io.c:2: c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc- mingw32/include/grass/gisdefs.h:12 9: warning: `libintl_printf' is an unrecognized format function type c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc- mingw32/include/grass/gisdefs.h:41 8: warning: `libintl_printf' is an unrecognized format function type c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc- mingw32/include/grass/gisdefs.h:42 9: warning: `libintl_printf' is an unrecognized format function type c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc- mingw32/include/grass/gisdefs.h:45 7: warning: `libintl_printf' is an unrecognized format function type c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc- mingw32/include/grass/gisdefs.h:45 9: warning: `libintl_printf' is an unrecognized format function type c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc- mingw32/include/grass/gisdefs.h:46 1: warning: `libintl_printf' is an unrecognized format function type c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc- mingw32/include/grass/gisdefs.h:46 3: warning: `libintl_printf' is an unrecognized format function type c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc- mingw32/include/grass/gisdefs.h:46 4: warning: `libintl_printf' is an unrecognized format function type c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc- mingw32/include/grass/gisdefs.h:11 10: warning: `libintl_printf' is an unrecognized format function type gcc -Ic:/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32/include -I/c/Users/s yringia/.grass6/addons/include -IC:\gisdata\grassdata/nc_spm_08/g65/.tmp/7172.0 /dist/include -I/c/OSGeo4W/include -g -O2 -I/c/OSGeo4W/include -I/c/OSGeo4W/i nclude -I/c/OSGeo4W/include -DPACKAGE=\""grassmods"\" -Ic:/osgeo4w/usr/src/g rass6_devel/dist.i686-pc-mingw32/include -I/c/Users/syringia/.grass6/addons/inc lude -IC:\gisdata\grassdata/nc_spm_08/g65/.tmp/7172.0/dist/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/incl ude/grass/gis.h:651, from global.h:5, from main.c:19: c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc- mingw32/include/grass/gisdefs.h:12 9: warning: `libintl_printf' is an unrecognized format function type c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc- mingw32/include/grass/gisdefs.h:41 8: warning: `libintl_printf' is an unrecognized format function type c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc- mingw32/include/grass/gisdefs.h:42 9: warning: `libintl_printf' is an unrecognized format function type c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc- mingw32/include/grass/gisdefs.h:45 7: warning: `libintl_printf' is an unrecognized format function type c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc- mingw32/include/grass/gisdefs.h:45 9: warning: `libintl_printf' is an unrecognized format function type c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc- mingw32/include/grass/gisdefs.h:46 1: warning: `libintl_printf' is an unrecognized format function type c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc- mingw32/include/grass/gisdefs.h:46 3: warning: `libintl_printf' is an unrecognized format function type c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc- mingw32/include/grass/gisdefs.h:46 4: warning: `libintl_printf' is an unrecognized format function type c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc- mingw32/include/grass/gisdefs.h:11 10: warning: `libintl_printf' is an unrecognized format function type gcc -Ic:/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32/include -I/c/Users/s yringia/.grass6/addons/include -IC:\gisdata\grassdata/nc_spm_08/g65/.tmp/7172.0 /dist/include -I/c/OSGeo4W/include -g -O2 -I/c/OSGeo4W/include -I/c/OSGeo4W/i nclude -I/c/OSGeo4W/include -DPACKAGE=\""grassmods"\" -Ic:/osgeo4w/usr/src/g rass6_devel/dist.i686-pc-mingw32/include -I/c/Users/syringia/.grass6/addons/inc lude -IC:\gisdata\grassdata/nc_spm_08/g65/.tmp/7172.0/dist/include -o OBJ.i686- pc-mingw32/order.o -c order.c In file included from c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc- mingw32/incl ude/grass/gis.h:651, from global.h:5, from order.c:4: c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc- mingw32/include/grass/gisdefs.h:12 9: warning: `libintl_printf' is an unrecognized format function type c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc- mingw32/include/grass/gisdefs.h:41 8: warning: `libintl_printf' is an unrecognized format function type c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc- mingw32/include/grass/gisdefs.h:42 9: warning: `libintl_printf' is an unrecognized format function type c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc- mingw32/include/grass/gisdefs.h:45 7: warning: `libintl_printf' is an unrecognized format function type c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc- mingw32/include/grass/gisdefs.h:45 9: warning: `libintl_printf' is an unrecognized format function type c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc- mingw32/include/grass/gisdefs.h:46 1: warning: `libintl_printf' is an unrecognized format function type c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc- mingw32/include/grass/gisdefs.h:46 3: warning: `libintl_printf' is an unrecognized format function type c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc- mingw32/include/grass/gisdefs.h:46 4: warning: `libintl_printf' is an unrecognized format function type c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc- mingw32/include/grass/gisdefs.h:11 10: warning: `libintl_printf' is an unrecognized format function type gcc -Lc:/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32/lib -L/c/Users/syrin gia/.grass6/addons/lib -LC:\gisdata\grassdata/nc_spm_08/g65/.tmp/7172.0/dist/li b -Wl,--export-dynamic,--enable-runtime-pseudo-reloc -L/c/OSGeo4W/lib -L/c/osg eo4w/usr/src/grass6_devel/mswindows/osgeo4w/lib -o C:\gisdata\grassdata/nc_ spm_08/g65/.tmp/7172.0/dist/bin/r.stream.order.exe OBJ.i686-pc- mingw32/io.o OBJ .i686-pc- mingw32/main.o OBJ.i686-pc-mingw32/order.o c:/osgeo4w/usr/src/grass6_d evel/dist.i686-pc-mingw32/lib/gis/OBJ.i686-pc-mingw32/fmode.o -lgrass_vect.6.5. svn -lgrass_dbmibase.6.5.svn -lgrass_gis.6.5.svn -lgrass_datetime.6.5.svn -lxdr -liberty -lws2_32 -lz -lintl -lgrass_dbmiclient.6.5.svn -lgrass_dbmibas e.6.5.svn -lgrass_gis.6.5.svn -lgrass_datetime.6.5.svn -lxdr -liberty -lws2_32 -lz -lintl -lgrass_gis.6.5.svn -lgrass_datetime.6.5.svn -lxdr -liberty - lws2_32 -lz -lintl -lgrass_dgl.6.5.svn -lgrass_dig2.6.5.svn -lgrass_gis. 6.5.svn -lgrass_datetime.6.5.svn -lxdr -liberty -lws2_32 -lz -lintl -lgra ss_rtree.6.5.svn -lgrass_gis.6.5.svn -lgrass_datetime.6.5.svn -lxdr -liberty - lws2_32 -lz -lintl -lgrass_linkm.6.5.svn -lgrass_rtree.6.5.svn -lgrass_d ig2.6.5.svn -lgrass_gis.6.5.svn -lgrass_datetime.6.5.svn -lxdr -liberty -lws2_3 2 -lz -lintl -lgrass_rtree.6.5.svn -lgrass_dgl.6.5.svn -lgrass_rtree.6.5 .svn -lgrass_linkm.6.5.svn -lgrass_dbmiclient.6.5.svn -lgrass_dbmibase.6.5.svn -lgrass_gis.6.5.svn -lgrass_datetime.6.5.svn -lxdr -liberty -lws2_32 -lz - lintl -lgrass_gis.6.5.svn -lgrass_datetime.6.5.svn -lxdr -liberty -lws2_32 -lz -lintl -lgrass_dbmibase.6.5.svn -lgrass_gis.6.5.svn -lgrass_datetime.6 .5.svn -lxdr -liberty -lws2_32 -lz -lintl /c/OSGeo4W/lib/gdal_i.lib /c/ OSGeo4W/lib/geos_c_i.lib -lgeos_c_i -lgrass_dbmiclient.6.5.svn -lgrass_dbmibas e.6.5.svn -lgrass_gis.6.5.svn -lgrass_datetime.6.5.svn -lxdr -liberty -lws2_32 -lz -lintl -lgrass_gis.6.5.svn -lgrass_datetime.6.5.svn -lxdr -liberty - lws2_32 -lz -lintl -lgrass_dbmibase.6.5.svn -lgrass_gis.6.5.svn -lgrass_ datetime.6.5.svn -lxdr -liberty -lws2_32 -lz -lintl -lgrass_gis.6.5.svn -lgrass_datetime.6.5.svn -lxdr -liberty -lws2_32 -lz -lintl -lxdr -libe rty -lws2_32 -lz gcc.exe: c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc- mingw32/lib/gis/OBJ.i686- pc-mingw32/fmode.o: No such file or directory make: *** [C:\gisdata\grassdata/nc_spm_08/g65/.tmp/7172.0/dist/bin/r.stream.ord er.exe] Error 1 FEHLER: Compilation failed, sorry. Please check above error messages. rm: cannot remove directory `C:\\gisdata\\grassdata/nc_spm_08/g65/.tmp/7172.0/r .stream.order': Permission denied GRASS 6.5> }}} so there is the same error: {{{ gcc.exe: c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc- mingw32/lib/gis/OBJ.i686-pc-mingw32/fmode.o: No such file or directory <== make: *** [C:\gisdata\grassdata/nc_spm_08/g65/.tmp/7172.0/dist/bin/r.stream.order.exe] Error 1 FEHLER: Compilation failed, sorry. Please check above error messages. }}} best regards Helmut -- Ticket URL: <https://trac.osgeo.org/grass/ticket/1178#comment:39> GRASS GIS <http://grass.osgeo.org>
_______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev