Hamish, >GRASS_HOME and RUN_GISBASE > >(to respond to Glynn's suggestion to split the files: not a >general solution, but: can these values be overridden on the >command line at runtime using g.extension's prefix= answer? >at least that would help for g.extension) > >here's the sed I used to replace it with "/usr/lib/grass64" >on debian: > > # adjust from build-server build dir to end-user's install dir > sed -i -e "s+^\(GRASS_HOME[ ]*=\) .*+\1 /usr/lib/$(BASE_NAME)+" \ > -e "s+^\(RUN_GISBASE[ ]*=\) .*+\1 /usr/lib/$(BASE_NAME)+" \ > debian/tmp/usr/lib/$(BASE_NAME)/include/Make/Platform.make
[sorry no sed-expert here on my side] checked with nightly build WinGRASS-6.4.SVN-r48555-1-Setup.exe, installation folder is C:\Program Files\GRASS 6.4.SVN\ (german winvista32-box) following left overs from the osgeo4w-build-environment of the wingrass-installer C:\Program Files\GRASS 6.4.SVN\include\Make\Platform.make [...] prefix = /c/OSGeo4W/apps/grass exec_prefix = ${prefix} ARCH = i686-pc-mingw32 UNIX_BIN = /c/OSGeo4W/bin INST_DIR = ${prefix}/grass-6.4.2svn [...] # GRASS dirs GRASS_HOME = /c/OSGeo4W/apps/grass/grass-6.4.2svn RUN_GISBASE = /c/OSGeo4W/apps/grass/grass-6.4.2svn RUN_GISRC = ${ARCH_DISTDIR}/demolocation/.grassrc${GRASS_VERSION_MAJOR}${GRASS_VERSION_MINOR} [...] CPPFLAGS = -I/c/OSGeo4W/include CFLAGS1 = -g -O2 CXXFLAGS1 = -g -O2 INCLUDE_DIRS = -I/c/OSGeo4W/include COMPILE_FLAGS = $(CPPFLAGS) $(CFLAGS1) $(INCLUDE_DIRS) COMPILE_FLAGS_CXX = $(CPPFLAGS) $(CXXFLAGS1) $(INCLUDE_DIRS) LINK_FLAGS = -Wl,--export-dynamic,--enable-runtime-pseudo-reloc -L/c/OSGeo4W/lib -L/osgeo4w/usr/src/grass64_release/mswindows/osgeo4w/lib #GDAL/OGR GDALLIBS = /c/OSGeo4W/lib/gdal_i.lib GDALCFLAGS = -I/c/OSGeo4W/include USE_GDAL = 1 USE_OGR = 1 #GEOS GEOSLIBS = /c/OSGeo4W/lib/geos_c_i.lib -lgeos_c_i GEOSCFLAGS = -I/c/OSGeo4W/include USE_GEOS = 1 #FreeType: FTINC = -I/c/OSGeo4W/include/freetype2 FTLIB = -lfreetype #PROJ.4: PROJINC = $(GDALCFLAGS) PROJLIB = -lproj NAD2BIN = /c/OSGeo4W/bin/nad2bin PROJSHARE = /c/OSGeo4W/share/proj C:\Program Files\GRASS 6.4.SVN\include\Make\Grass.make [...] # GRASS global directories and constants # platform specific dirs ARCH_DISTDIR = /c/OSGeo4W/apps/grass/grass-6.4.2svn ARCH_BINDIR = /c/OSGeo4W/bin ERRORLOG = $(GRASS_HOME)/error.log [...] maybe you could indicate which of mentioned osgeo4w-leftovers should be changed. that would be helpful changing the nsis-installer best regards Helmut -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/GRASS-6-4-2RC1-planning-tp6835951p6848892.html Sent from the Grass - Dev mailing list archive at Nabble.com. _______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev