Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#623 closed defect (fixed)

compiling error grass6-devel - winvista 32

Reported by: hellik Owned by: grass-dev@…
Priority: normal Milestone: 6.5.0
Component: Default Version: svn-develbranch6
Keywords: Cc:
CPU: Unspecified Platform: MSWindows Vista

Description

fresh svn-checkout at rev37604

compiling at winvista32 following http://trac.osgeo.org/grass/wiki/CompileOnWindows

configure seems to be ok:


GRASS is now configured for: i686-pc-mingw32

Source directory: /c/osgeo4w/usr/src/grass6_devel Build directory: /c/osgeo4w/usr/src/grass6_devel Installation directory: ${prefix}/grass-6.5.svn Startup script in directory: ${exec_prefix}/bin C compiler: gcc -g -O2 C++ compiler: c++ -g -O2 Building shared libraries: yes 64bit support: no OpenGL platform: Windows

MacOSX application: no

NVIZ: yes

BLAS support: no C++ support: yes Cairo support: no DWG support: no FFMPEG support: no FFTW support: yes FreeType support: yes GDAL support: yes GEOS support: no GLw support: no JPEG support: yes LAPACK support: no Large File support (LFS): yes Motif support: no MySQL support: no NLS support: yes ODBC support: no OGR support: yes OpenGL support: yes PNG support: yes PostgreSQL support: yes Python support: no Readline support: no SQLite support: yes Tcl/Tk support: yes wxWidgets support: no TIFF support: yes X11 support: no


but a lot compiling errors:


GRASS GIS compilation log


Started compilation: Sat May 30 10:25:35 GMT 2009 -- Errors in: /c/osgeo4w/usr/src/grass6_devel/lib/gis /c/osgeo4w/usr/src/grass6_devel/lib/gmath /c/osgeo4w/usr/src/grass6_devel/lib/linkm /c/osgeo4w/usr/src/grass6_devel/lib/driver /c/osgeo4w/usr/src/grass6_devel/lib/pngdriver /c/osgeo4w/usr/src/grass6_devel/lib/psdriver /c/osgeo4w/usr/src/grass6_devel/lib/raster /c/osgeo4w/usr/src/grass6_devel/lib/bitmap /c/osgeo4w/usr/src/grass6_devel/lib/btree /c/osgeo4w/usr/src/grass6_devel/lib/display /c/osgeo4w/usr/src/grass6_devel/lib/db/dbmi_base /c/osgeo4w/usr/src/grass6_devel/lib/db/dbmi_client /c/osgeo4w/usr/src/grass6_devel/lib/db/stubs /c/osgeo4w/usr/src/grass6_devel/lib/db/dbmi_driver /c/osgeo4w/usr/src/grass6_devel/lib/db/sqlp /c/osgeo4w/usr/src/grass6_devel/lib/vask /c/osgeo4w/usr/src/grass6_devel/lib/edit /c/osgeo4w/usr/src/grass6_devel/lib/external/shapelib /c/osgeo4w/usr/src/grass6_devel/lib/form /c/osgeo4w/usr/src/grass6_devel/lib/imagery /c/osgeo4w/usr/src/grass6_devel/lib/cluster /c/osgeo4w/usr/src/grass6_devel/lib/proj /c/osgeo4w/usr/src/grass6_devel/lib/rowio /c/osgeo4w/usr/src/grass6_devel/lib/segment /c/osgeo4w/usr/src/grass6_devel/lib/vector/rtree /c/osgeo4w/usr/src/grass6_devel/lib/vector/dglib /c/osgeo4w/usr/src/grass6_devel/lib/vector/diglib /c/osgeo4w/usr/src/grass6_devel/lib/vector/Vlib /c/osgeo4w/usr/src/grass6_devel/lib/vector/transform /c/osgeo4w/usr/src/grass6_devel/lib/vector/vedit /c/osgeo4w/usr/src/grass6_devel/lib/sites /c/osgeo4w/usr/src/grass6_devel/lib/rst/data /c/osgeo4w/usr/src/grass6_devel/lib/rst/qtree /c/osgeo4w/usr/src/grass6_devel/lib/rst/interp_float /c/osgeo4w/usr/src/grass6_devel/lib/g3d /c/osgeo4w/usr/src/grass6_devel/lib/gpde /c/osgeo4w/usr/src/grass6_devel/lib/dspf /c/osgeo4w/usr/src/grass6_devel/lib/symbol /c/osgeo4w/usr/src/grass6_devel/lib/init /c/osgeo4w/usr/src/grass6_devel/lib/cdhc /c/osgeo4w/usr/src/grass6_devel/lib/stats /c/osgeo4w/usr/src/grass6_devel/lib/arraystats /c/osgeo4w/usr/src/grass6_devel/lib/ogsf /c/osgeo4w/usr/src/grass6_devel/lib/nviz /c/osgeo4w/usr/src/grass6_devel/db/drivers/dbf /c/osgeo4w/usr/src/grass6_devel/db/drivers/postgres /c/osgeo4w/usr/src/grass6_devel/db/drivers/sqlite /c/osgeo4w/usr/src/grass6_devel/db/drivers/ogr /c/osgeo4w/usr/src/grass6_devel/db/base /c/osgeo4w/usr/src/grass6_devel/db/db.login /c/osgeo4w/usr/src/grass6_devel/display/d.ask /c/osgeo4w/usr/src/grass6_devel/display/d.barscale /c/osgeo4w/usr/src/grass6_devel/display/d.colorlist /c/osgeo4w/usr/src/grass6_devel/display/d.colors /c/osgeo4w/usr/src/grass6_devel/display/d.colortable /c/osgeo4w/usr/src/grass6_devel/display/d.erase /c/osgeo4w/usr/src/grass6_devel/display/d.extend /c/osgeo4w/usr/src/grass6_devel/display/d.extract /c/osgeo4w/usr/src/grass6_devel/display/d.font /c/osgeo4w/usr/src/grass6_devel/display/d.frame /c/osgeo4w/usr/src/grass6_devel/display/d.geodesic /c/osgeo4w/usr/src/grass6_devel/display/d.graph /c/osgeo4w/usr/src/grass6_devel/display/d.grid /c/osgeo4w/usr/src/grass6_devel/display/d.his /c/osgeo4w/usr/src/grass6_devel/display/d.histogram /c/osgeo4w/usr/src/grass6_devel/display/d.info /c/osgeo4w/usr/src/grass6_devel/display/d.legend /c/osgeo4w/usr/src/grass6_devel/display/d.linegraph /c/osgeo4w/usr/src/grass6_devel/display/d.mapgraph /c/osgeo4w/usr/src/grass6_devel/display/d.measure /c/osgeo4w/usr/src/grass6_devel/display/d.menu /c/osgeo4w/usr/src/grass6_devel/display/d.mon/cmd /c/osgeo4w/usr/src/grass6_devel/display/d.mon/pgms /c/osgeo4w/usr/src/grass6_devel/display/d.nviz /c/osgeo4w/usr/src/grass6_devel/display/d.paint.labels /c/osgeo4w/usr/src/grass6_devel/display/d.path /c/osgeo4w/usr/src/grass6_devel/display/d.profile /c/osgeo4w/usr/src/grass6_devel/display/d.rast /c/osgeo4w/usr/src/grass6_devel/display/d.rast.arrow /c/osgeo4w/usr/src/grass6_devel/display/d.rast.num /c/osgeo4w/usr/src/grass6_devel/display/d.rgb /c/osgeo4w/usr/src/grass6_devel/display/d.rhumbline /c/osgeo4w/usr/src/grass6_devel/display/d.save /c/osgeo4w/usr/src/grass6_devel/display/d.text.new /c/osgeo4w/usr/src/grass6_devel/display/d.thematic.area /c/osgeo4w/usr/src/grass6_devel/display/d.title /c/osgeo4w/usr/src/grass6_devel/display/d.vect /c/osgeo4w/usr/src/grass6_devel/display/d.vect.chart /c/osgeo4w/usr/src/grass6_devel/display/d.what.rast /c/osgeo4w/usr/src/grass6_devel/display/d.what.vect /c/osgeo4w/usr/src/grass6_devel/display/d.where /c/osgeo4w/usr/src/grass6_devel/display/d.zoom /c/osgeo4w/usr/src/grass6_devel/general/g.access /c/osgeo4w/usr/src/grass6_devel/general/g.ask /c/osgeo4w/usr/src/grass6_devel/general/g.dirseps /c/osgeo4w/usr/src/grass6_devel/general/g.filename /c/osgeo4w/usr/src/grass6_devel/general/g.findetc /c/osgeo4w/usr/src/grass6_devel/general/g.findfile /c/osgeo4w/usr/src/grass6_devel/general/g.gisenv /c/osgeo4w/usr/src/grass6_devel/general/g.gui /c/osgeo4w/usr/src/grass6_devel/general/g.mapset /c/osgeo4w/usr/src/grass6_devel/general/g.mapsets /c/osgeo4w/usr/src/grass6_devel/general/g.message /c/osgeo4w/usr/src/grass6_devel/general/g.mkfontcap /c/osgeo4w/usr/src/grass6_devel/general/g.mlist /c/osgeo4w/usr/src/grass6_devel/general/g.mremove /c/osgeo4w/usr/src/grass6_devel/general/g.parser /c/osgeo4w/usr/src/grass6_devel/general/g.proj /c/osgeo4w/usr/src/grass6_devel/general/g.pnmcomp /c/osgeo4w/usr/src/grass6_devel/general/g.region /c/osgeo4w/usr/src/grass6_devel/general/g.setproj /c/osgeo4w/usr/src/grass6_devel/general/g.tempfile /c/osgeo4w/usr/src/grass6_devel/general/g.transform /c/osgeo4w/usr/src/grass6_devel/general/g.version /c/osgeo4w/usr/src/grass6_devel/general/manage/cmd /c/osgeo4w/usr/src/grass6_devel/general/manage/lister /c/osgeo4w/usr/src/grass6_devel/gui/scripts /c/osgeo4w/usr/src/grass6_devel/gui/wxpython/scripts /c/osgeo4w/usr/src/grass6_devel/imagery/i.ask /c/osgeo4w/usr/src/grass6_devel/imagery/i.cluster /c/osgeo4w/usr/src/grass6_devel/imagery/i.find /c/osgeo4w/usr/src/grass6_devel/imagery/i.gensig /c/osgeo4w/usr/src/grass6_devel/imagery/i.gensigset /c/osgeo4w/usr/src/grass6_devel/imagery/i.group /c/osgeo4w/usr/src/grass6_devel/imagery/i.his.rgb /c/osgeo4w/usr/src/grass6_devel/imagery/i.maxlik /c/osgeo4w/usr/src/grass6_devel/imagery/i.rectify /c/osgeo4w/usr/src/grass6_devel/imagery/i.rgb.his /c/osgeo4w/usr/src/grass6_devel/imagery/i.smap/shapiro /c/osgeo4w/usr/src/grass6_devel/imagery/i.target /c/osgeo4w/usr/src/grass6_devel/imagery/i.pca /c/osgeo4w/usr/src/grass6_devel/imagery/i.cca /c/osgeo4w/usr/src/grass6_devel/imagery/i.atcorr /c/osgeo4w/usr/src/grass6_devel/imagery/i.fft /c/osgeo4w/usr/src/grass6_devel/imagery/i.ifft /c/osgeo4w/usr/src/grass6_devel/imagery/i.zc /c/osgeo4w/usr/src/grass6_devel/misc/m.cogo /c/osgeo4w/usr/src/grass6_devel/ps/ps.map /c/osgeo4w/usr/src/grass6_devel/raster/r.average /c/osgeo4w/usr/src/grass6_devel/raster/r.basins.fill /c/osgeo4w/usr/src/grass6_devel/raster/r.bilinear /c/osgeo4w/usr/src/grass6_devel/raster/r.bitpattern /c/osgeo4w/usr/src/grass6_devel/raster/r.buffer /c/osgeo4w/usr/src/grass6_devel/raster/r.carve /c/osgeo4w/usr/src/grass6_devel/raster/r.cats /c/osgeo4w/usr/src/grass6_devel/raster/r.circle /c/osgeo4w/usr/src/grass6_devel/raster/r.clump /c/osgeo4w/usr/src/grass6_devel/raster/r.coin /c/osgeo4w/usr/src/grass6_devel/raster/r.colors /c/osgeo4w/usr/src/grass6_devel/raster/r.composite /c/osgeo4w/usr/src/grass6_devel/raster/r.compress /c/osgeo4w/usr/src/grass6_devel/raster/r.contour /c/osgeo4w/usr/src/grass6_devel/raster/r.cost /c/osgeo4w/usr/src/grass6_devel/raster/r.covar /c/osgeo4w/usr/src/grass6_devel/raster/r.cross /c/osgeo4w/usr/src/grass6_devel/raster/r.describe /c/osgeo4w/usr/src/grass6_devel/raster/r.distance /c/osgeo4w/usr/src/grass6_devel/raster/r.drain /c/osgeo4w/usr/src/grass6_devel/raster/r.external /c/osgeo4w/usr/src/grass6_devel/raster/r.fill.dir /c/osgeo4w/usr/src/grass6_devel/raster/r.flow /c/osgeo4w/usr/src/grass6_devel/raster/r.grow2 /c/osgeo4w/usr/src/grass6_devel/raster/r.grow.distance /c/osgeo4w/usr/src/grass6_devel/raster/r.gwflow /c/osgeo4w/usr/src/grass6_devel/raster/r.horizon /c/osgeo4w/usr/src/grass6_devel/raster/r.his /c/osgeo4w/usr/src/grass6_devel/raster/r.in.arc /c/osgeo4w/usr/src/grass6_devel/raster/r.in.ascii /c/osgeo4w/usr/src/grass6_devel/raster/r.in.bin /c/osgeo4w/usr/src/grass6_devel/raster/r.info /c/osgeo4w/usr/src/grass6_devel/raster/r.in.gridatb /c/osgeo4w/usr/src/grass6_devel/raster/r.in.mat /c/osgeo4w/usr/src/grass6_devel/raster/r.in.poly /c/osgeo4w/usr/src/grass6_devel/raster/r.in.xyz /c/osgeo4w/usr/src/grass6_devel/raster/r.kappa /c/osgeo4w/usr/src/grass6_devel/raster/r.lake /c/osgeo4w/usr/src/grass6_devel/raster/r.le/r.le.patch /c/osgeo4w/usr/src/grass6_devel/raster/r.le/r.le.pixel /c/osgeo4w/usr/src/grass6_devel/raster/r.le/r.le.setup /c/osgeo4w/usr/src/grass6_devel/raster/r.le/r.le.trace /c/osgeo4w/usr/src/grass6_devel/raster/r.li/r.li.daemon /c/osgeo4w/usr/src/grass6_devel/raster/r.li/r.li.edgedensity /c/osgeo4w/usr/src/grass6_devel/raster/r.li/r.li.patchdensity /c/osgeo4w/usr/src/grass6_devel/raster/r.li/r.li.patchnum /c/osgeo4w/usr/src/grass6_devel/raster/r.li/r.li.shape /c/osgeo4w/usr/src/grass6_devel/raster/r.li/r.li.simpson /c/osgeo4w/usr/src/grass6_devel/raster/r.li/r.li.shannon /c/osgeo4w/usr/src/grass6_devel/raster/r.li/r.li.mps /c/osgeo4w/usr/src/grass6_devel/raster/r.li/r.li.mpa /c/osgeo4w/usr/src/grass6_devel/raster/r.li/r.li.padcv /c/osgeo4w/usr/src/grass6_devel/raster/r.li/r.li.padsd /c/osgeo4w/usr/src/grass6_devel/raster/r.li/r.li.padrange /c/osgeo4w/usr/src/grass6_devel/raster/r.li/r.li.cwed /c/osgeo4w/usr/src/grass6_devel/raster/r.li/r.li.richness /c/osgeo4w/usr/src/grass6_devel/raster/r.li/r.li.dominance /c/osgeo4w/usr/src/grass6_devel/raster/r.los /c/osgeo4w/usr/src/grass6_devel/raster/r.mapcalc /c/osgeo4w/usr/src/grass6_devel/raster/r.median /c/osgeo4w/usr/src/grass6_devel/raster/r.mfilter /c/osgeo4w/usr/src/grass6_devel/raster/r.mfilter.fp /c/osgeo4w/usr/src/grass6_devel/raster/r.mode /c/osgeo4w/usr/src/grass6_devel/raster/r.neighbors /c/osgeo4w/usr/src/grass6_devel/raster/r.null /c/osgeo4w/usr/src/grass6_devel/raster/r.out.arc /c/osgeo4w/usr/src/grass6_devel/raster/r.out.ascii /c/osgeo4w/usr/src/grass6_devel/raster/r.out.bin /c/osgeo4w/usr/src/grass6_devel/raster/r.out.gridatb /c/osgeo4w/usr/src/grass6_devel/raster/r.out.mat /c/osgeo4w/usr/src/grass6_devel/raster/r.out.mpeg /c/osgeo4w/usr/src/grass6_devel/raster/r.out.pov /c/osgeo4w/usr/src/grass6_devel/raster/r.out.ppm /c/osgeo4w/usr/src/grass6_devel/raster/r.out.ppm3 /c/osgeo4w/usr/src/grass6_devel/raster/r.out.vrml /c/osgeo4w/usr/src/grass6_devel/raster/r.out.vtk /c/osgeo4w/usr/src/grass6_devel/raster/r.param.scale /c/osgeo4w/usr/src/grass6_devel/raster/r.patch /c/osgeo4w/usr/src/grass6_devel/raster/r.profile /c/osgeo4w/usr/src/grass6_devel/raster/r.proj.seg /c/osgeo4w/usr/src/grass6_devel/raster/r.quant /c/osgeo4w/usr/src/grass6_devel/raster/r.quantile /c/osgeo4w/usr/src/grass6_devel/raster/r.random /c/osgeo4w/usr/src/grass6_devel/raster/r.random.cells /c/osgeo4w/usr/src/grass6_devel/raster/r.random.surface /c/osgeo4w/usr/src/grass6_devel/raster/r.reclass /c/osgeo4w/usr/src/grass6_devel/raster/r.recode /c/osgeo4w/usr/src/grass6_devel/raster/r.region /c/osgeo4w/usr/src/grass6_devel/raster/r.report /c/osgeo4w/usr/src/grass6_devel/raster/r.resample /c/osgeo4w/usr/src/grass6_devel/raster/r.resamp.interp /c/osgeo4w/usr/src/grass6_devel/raster/r.resamp.rst /c/osgeo4w/usr/src/grass6_devel/raster/r.resamp.stats /c/osgeo4w/usr/src/grass6_devel/raster/r.rescale /c/osgeo4w/usr/src/grass6_devel/raster/r.rescale.eq /c/osgeo4w/usr/src/grass6_devel/raster/r.series /c/osgeo4w/usr/src/grass6_devel/raster/r.slope.aspect /c/osgeo4w/usr/src/grass6_devel/raster/r.statistics /c/osgeo4w/usr/src/grass6_devel/raster/r.stats /c/osgeo4w/usr/src/grass6_devel/raster/r.sum /c/osgeo4w/usr/src/grass6_devel/raster/r.sun2 /c/osgeo4w/usr/src/grass6_devel/raster/r.sunmask /c/osgeo4w/usr/src/grass6_devel/raster/r.support/modcats /c/osgeo4w/usr/src/grass6_devel/raster/r.support/modcolr /c/osgeo4w/usr/src/grass6_devel/raster/r.support/modhist /c/osgeo4w/usr/src/grass6_devel/raster/r.support/modhead /c/osgeo4w/usr/src/grass6_devel/raster/r.support/front /c/osgeo4w/usr/src/grass6_devel/raster/r.support.stats /c/osgeo4w/usr/src/grass6_devel/raster/r.surf.area /c/osgeo4w/usr/src/grass6_devel/raster/r.surf.contour /c/osgeo4w/usr/src/grass6_devel/raster/r.surf.idw /c/osgeo4w/usr/src/grass6_devel/raster/r.surf.idw2 /c/osgeo4w/usr/src/grass6_devel/raster/r.surf.random /c/osgeo4w/usr/src/grass6_devel/raster/r.surf.gauss /c/osgeo4w/usr/src/grass6_devel/raster/r.texture /c/osgeo4w/usr/src/grass6_devel/raster/r.thin /c/osgeo4w/usr/src/grass6_devel/raster/r.timestamp /c/osgeo4w/usr/src/grass6_devel/raster/r.to.rast3 /c/osgeo4w/usr/src/grass6_devel/raster/r.to.rast3elev /c/osgeo4w/usr/src/grass6_devel/raster/r.to.vect /c/osgeo4w/usr/src/grass6_devel/raster/r.topidx /c/osgeo4w/usr/src/grass6_devel/raster/r.topmodel /c/osgeo4w/usr/src/grass6_devel/raster/r.transect /c/osgeo4w/usr/src/grass6_devel/raster/r.univar2 /c/osgeo4w/usr/src/grass6_devel/raster/r.volume /c/osgeo4w/usr/src/grass6_devel/raster/r.walk /c/osgeo4w/usr/src/grass6_devel/raster/r.water.outlet /c/osgeo4w/usr/src/grass6_devel/raster/r.watershed/ram /c/osgeo4w/usr/src/grass6_devel/raster/r.watershed/seg /c/osgeo4w/usr/src/grass6_devel/raster/r.watershed/front /c/osgeo4w/usr/src/grass6_devel/raster/r.what /c/osgeo4w/usr/src/grass6_devel/raster/r.what.color /c/osgeo4w/usr/src/grass6_devel/raster/simwe/simlib /c/osgeo4w/usr/src/grass6_devel/raster/simwe/r.sim.water /c/osgeo4w/usr/src/grass6_devel/raster/simwe/r.sim.sediment /c/osgeo4w/usr/src/grass6_devel/raster/wildfire/r.ros /c/osgeo4w/usr/src/grass6_devel/raster/wildfire/r.spread /c/osgeo4w/usr/src/grass6_devel/raster/wildfire/r.spreadpath /c/osgeo4w/usr/src/grass6_devel/raster/r.in.gdal /c/osgeo4w/usr/src/grass6_devel/raster/r.out.gdal /c/osgeo4w/usr/src/grass6_devel/raster/r.surf.fractal /c/osgeo4w/usr/src/grass6_devel/raster/r.out.png /c/osgeo4w/usr/src/grass6_devel/raster/r.terraflow /c/osgeo4w/usr/src/grass6_devel/raster/r.out.tiff /c/osgeo4w/usr/src/grass6_devel/raster3d/r3.cross.rast /c/osgeo4w/usr/src/grass6_devel/raster3d/r3.in.ascii /c/osgeo4w/usr/src/grass6_devel/raster3d/r3.in.v5d /c/osgeo4w/usr/src/grass6_devel/raster3d/r3.gwflow /c/osgeo4w/usr/src/grass6_devel/raster3d/r3.mkdspf /c/osgeo4w/usr/src/grass6_devel/raster3d/r3.out.ascii /c/osgeo4w/usr/src/grass6_devel/raster3d/r3.out.v5d /c/osgeo4w/usr/src/grass6_devel/raster3d/r3.out.vtk /c/osgeo4w/usr/src/grass6_devel/raster3d/r3.stats /c/osgeo4w/usr/src/grass6_devel/raster3d/r3.to.rast /c/osgeo4w/usr/src/grass6_devel/raster3d/base /c/osgeo4w/usr/src/grass6_devel/vector/v.buffer2 /c/osgeo4w/usr/src/grass6_devel/vector/v.build /c/osgeo4w/usr/src/grass6_devel/vector/v.build.polylines /c/osgeo4w/usr/src/grass6_devel/vector/v.category /c/osgeo4w/usr/src/grass6_devel/vector/v.class /c/osgeo4w/usr/src/grass6_devel/vector/v.clean /c/osgeo4w/usr/src/grass6_devel/vector/v.convert /c/osgeo4w/usr/src/grass6_devel/vector/v.db.connect /c/osgeo4w/usr/src/grass6_devel/vector/v.db.select /c/osgeo4w/usr/src/grass6_devel/vector/v.delaunay2 /c/osgeo4w/usr/src/grass6_devel/vector/v.distance /c/osgeo4w/usr/src/grass6_devel/vector/v.drape /c/osgeo4w/usr/src/grass6_devel/vector/v.edit /c/osgeo4w/usr/src/grass6_devel/vector/v.extract /c/osgeo4w/usr/src/grass6_devel/vector/v.extrude /c/osgeo4w/usr/src/grass6_devel/vector/v.generalize /c/osgeo4w/usr/src/grass6_devel/vector/v.hull /c/osgeo4w/usr/src/grass6_devel/vector/v.info /c/osgeo4w/usr/src/grass6_devel/vector/v.in.ascii /c/osgeo4w/usr/src/grass6_devel/vector/v.in.db /c/osgeo4w/usr/src/grass6_devel/vector/v.in.dxf /c/osgeo4w/usr/src/grass6_devel/vector/v.in.region /c/osgeo4w/usr/src/grass6_devel/vector/v.in.sites /c/osgeo4w/usr/src/grass6_devel/vector/v.kcv /c/osgeo4w/usr/src/grass6_devel/vector/v.kernel /c/osgeo4w/usr/src/grass6_devel/vector/v.label /c/osgeo4w/usr/src/grass6_devel/vector/v.lrs/lib /c/osgeo4w/usr/src/grass6_devel/vector/v.lrs/v.lrs.create /c/osgeo4w/usr/src/grass6_devel/vector/v.lrs/v.lrs.segment /c/osgeo4w/usr/src/grass6_devel/vector/v.lrs/v.lrs.label /c/osgeo4w/usr/src/grass6_devel/vector/v.lrs/v.lrs.where /c/osgeo4w/usr/src/grass6_devel/vector/v.proj /c/osgeo4w/usr/src/grass6_devel/vector/v.mkgrid /c/osgeo4w/usr/src/grass6_devel/vector/v.neighbors /c/osgeo4w/usr/src/grass6_devel/vector/v.net /c/osgeo4w/usr/src/grass6_devel/vector/v.net.alloc /c/osgeo4w/usr/src/grass6_devel/vector/v.net.iso /c/osgeo4w/usr/src/grass6_devel/vector/v.net.path /c/osgeo4w/usr/src/grass6_devel/vector/v.net.salesman /c/osgeo4w/usr/src/grass6_devel/vector/v.net.steiner /c/osgeo4w/usr/src/grass6_devel/vector/v.net.visibility /c/osgeo4w/usr/src/grass6_devel/vector/v.normal /c/osgeo4w/usr/src/grass6_devel/vector/v.out.ascii /c/osgeo4w/usr/src/grass6_devel/vector/v.out.dxf /c/osgeo4w/usr/src/grass6_devel/vector/v.out.pov /c/osgeo4w/usr/src/grass6_devel/vector/v.out.svg /c/osgeo4w/usr/src/grass6_devel/vector/v.out.vtk /c/osgeo4w/usr/src/grass6_devel/vector/v.overlay /c/osgeo4w/usr/src/grass6_devel/vector/v.parallel2 /c/osgeo4w/usr/src/grass6_devel/vector/v.patch /c/osgeo4w/usr/src/grass6_devel/vector/v.perturb /c/osgeo4w/usr/src/grass6_devel/vector/v.split /c/osgeo4w/usr/src/grass6_devel/vector/v.qcount /c/osgeo4w/usr/src/grass6_devel/vector/v.random /c/osgeo4w/usr/src/grass6_devel/vector/v.reclass /c/osgeo4w/usr/src/grass6_devel/vector/v.sample /c/osgeo4w/usr/src/grass6_devel/vector/v.segment /c/osgeo4w/usr/src/grass6_devel/vector/v.select /c/osgeo4w/usr/src/grass6_devel/vector/v.support /c/osgeo4w/usr/src/grass6_devel/vector/v.surf.idw /c/osgeo4w/usr/src/grass6_devel/vector/v.surf.rst /c/osgeo4w/usr/src/grass6_devel/vector/v.transform /c/osgeo4w/usr/src/grass6_devel/vector/v.to.3d /c/osgeo4w/usr/src/grass6_devel/vector/v.to.db /c/osgeo4w/usr/src/grass6_devel/vector/v.to.points /c/osgeo4w/usr/src/grass6_devel/vector/v.to.rast /c/osgeo4w/usr/src/grass6_devel/vector/v.to.rast3 /c/osgeo4w/usr/src/grass6_devel/vector/v.type /c/osgeo4w/usr/src/grass6_devel/vector/v.univar /c/osgeo4w/usr/src/grass6_devel/vector/v.voronoi /c/osgeo4w/usr/src/grass6_devel/vector/v.what /c/osgeo4w/usr/src/grass6_devel/vector/v.what.rast /c/osgeo4w/usr/src/grass6_devel/vector/v.vol.rst /c/osgeo4w/usr/src/grass6_devel/vector/lidar/lidarlib /c/osgeo4w/usr/src/grass6_devel/vector/lidar/v.surf.bspline /c/osgeo4w/usr/src/grass6_devel/vector/lidar/v.outlier /c/osgeo4w/usr/src/grass6_devel/vector/lidar/v.lidar.correction /c/osgeo4w/usr/src/grass6_devel/vector/lidar/v.lidar.edgedetection /c/osgeo4w/usr/src/grass6_devel/vector/lidar/v.lidar.growing /c/osgeo4w/usr/src/grass6_devel/vector/v.out.ogr /c/osgeo4w/usr/src/grass6_devel/vector/v.in.ogr /c/osgeo4w/usr/src/grass6_devel/vector/v.external /c/osgeo4w/usr/src/grass6_devel/vector/v.digit /c/osgeo4w/usr/src/grass6_devel/vector/v.label.sa /c/osgeo4w/usr/src/grass6_devel/visualization/nviz /c/osgeo4w/usr/src/grass6_devel/visualization/nviz2/cmd


switching in just a few of all the directories with errors

syringia@NADA /c/osgeo4w/usr/src/grass6_devel/lib/gis
$ make
make OBJ.i686-pc-mingw32
make[1]: Entering directory `/c/osgeo4w/usr/src/grass6_devel/lib/gis'
make[1]: `OBJ.i686-pc-mingw32' is up to date.
make[1]: Leaving directory `/c/osgeo4w/usr/src/grass6_devel/lib/gis'
gcc -I/c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32/include -I/c/OSGeo4W/include -g -O2  -I/c/OSGeo4W/include     -DPACKAGE=\""grasslibs"\" -D_FILE_OFFSET_BITS=64 -DGDAL_LINK=1 -DGDAL_DYNAMIC=1   -DPACKAGE=\""grasslibs"\"  -I/c/OSGeo4W/include -I/c/OSGeo4W/include -I/c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32/include -o OBJ.i686-pc-mingw32/spawn.o -c spawn.c
spawn.c:224: warning: "struct spawn" declared inside parameter list
spawn.c:224: warning: its scope is only this definition or declaration, which is probably not what you want
spawn.c: In function `do_spawn':
spawn.c:229: error: dereferencing pointer to incomplete type
spawn.c:229: error: dereferencing pointer to incomplete type
spawn.c:230: error: dereferencing pointer to incomplete type
spawn.c:230: error: dereferencing pointer to incomplete type
spawn.c:233: error: dereferencing pointer to incomplete type
spawn.c:233: error: dereferencing pointer to incomplete type
spawn.c:233: warning: passing arg 4 of `spawnvpe' from incompatible pointer type
spawn.c:235: error: dereferencing pointer to incomplete type
spawn.c: In function `G_vspawn_ex':
spawn.c:626: warning: passing arg 1 of `do_spawn' from incompatible pointer type
spawn.c:626: error: too few arguments to function `do_spawn'
spawn.c: In function `G_spawn_ex':
spawn.c:649: warning: passing arg 1 of `do_spawn' from incompatible pointer type
spawn.c:649: error: too few arguments to function `do_spawn'
make: *** [OBJ.i686-pc-mingw32/spawn.o] Error 1
syringia@NADA /c/osgeo4w/usr/src/grass6_devel/lib/gmath
$ make
gcc -shared -o /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32/lib/libgrass_gmath.6.5.svn.dll -L/c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32/lib -Wl,--export-dynamic,--enable-runtime-pseudo-reloc  -L/c/OSGeo4W/lib     OBJ.i686-pc-mingw32/brent.o OBJ.i686-pc-mingw32/dalloc.o OBJ.i686-pc-mingw32/del2g.o OBJ.i686-pc-mingw32/eigen.o OBJ.i686-pc-mingw32/eigen_tools.o OBJ.i686-pc-mingw32/fft.o OBJ.i686-pc-mingw32/findzc.o OBJ.i686-pc-mingw32/gauss.o OBJ.i686-pc-mingw32/getg.o OBJ.i686-pc-mingw32/ialloc.o OBJ.i686-pc-mingw32/jacobi.o OBJ.i686-pc-mingw32/la.o OBJ.i686-pc-mingw32/lu.o OBJ.i686-pc-mingw32/max_pow2.o OBJ.i686-pc-mingw32/mult.o OBJ.i686-pc-mingw32/rand1.o OBJ.i686-pc-mingw32/svd.o -lgrass_gis -lgrass_datetime -lxdr -liberty -lws2_32    -lz   -lintl  -lfftw3    ../../lib/gis/OBJ.i686-pc-mingw32/dllmain.o && \
(cd /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32/lib; ln -f -s libgrass_gmath.6.5.svn.dll /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32/lib/libgrass_gmath.dll)
gcc.exe: ../../lib/gis/OBJ.i686-pc-mingw32/dllmain.o: No such file or directory
make: *** [/c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32/lib/libgrass_gmath.6.5.svn.dll] Error 1
syringia@NADA /c/osgeo4w/usr/src/grass6_devel/db/drivers/dbf
$ make
gcc -L/c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32/lib -Wl,--export-dynamic,--enable-runtime-pseudo-reloc  -L/c/OSGeo4W/lib    -o /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32/driver/db/dbf.exe OBJ.i686-pc-mingw32/column.o OBJ.i686-pc-mingw32/cursor.o OBJ.i686-pc-mingw32/db.o OBJ.i686-pc-mingw32/dbfexe.o OBJ.i686-pc-mingw32/describe.o OBJ.i686-pc-mingw32/driver.o OBJ.i686-pc-mingw32/error.o OBJ.i686-pc-mingw32/execute.o OBJ.i686-pc-mingw32/fetch.o OBJ.i686-pc-mingw32/listtab.o OBJ.i686-pc-mingw32/main.o OBJ.i686-pc-mingw32/select.o OBJ.i686-pc-mingw32/str.o OBJ.i686-pc-mingw32/table.o OBJ.i686-pc-mingw32/create_table.o ../../../lib/gis/OBJ.i686-pc-mingw32/fmode.o -lgrass_dbmidriver -lgrass_dbmibase -lgrass_gis -lgrass_datetime -lxdr -liberty -lws2_32    -lz   -lintl   -lgrass_dbstubs -lgrass_dbmibase -lgrass_gis -lgrass_datetime -lxdr -liberty -lws2_32    -lz   -lintl   -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_sqlp -lgrass_shape -lgrass_dbstubs -lgrass_dbmibase -lgrass_gis -lgrass_datetime -lxdr -liberty -lws2_32    -lz   -lintl   -lgrass_gis -lgrass_datetime -lxdr -liberty -lws2_32    -lz   -lintl   -lgrass_gis -lgrass_datetime -lxdr -liberty -lws2_32    -lz   -lintl  -lgrass_datetime  -lxdr -liberty -lws2_32    -lz 
gcc.exe: ../../../lib/gis/OBJ.i686-pc-mingw32/fmode.o: No such file or directory
make: *** [/c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32/driver/db/dbf.exe] Error 1

Change History (13)

comment:1 by hamish, 16 years ago

Hi,

hopefully fixed in r37616. Please test & report back. (this was contained to devbr6)

Hamish

in reply to:  1 ; comment:2 by hellik, 16 years ago

Replying to hamish:

Hi,

hopefully fixed in r37616. Please test & report back. (this was contained to devbr6)

Hamish

Hi,

fresh svn-checkout at rev37629, the code is now compiling.

but beside the error-messages for the r.li.*-modules there is now:


Started compilation: Sat May 30 16:51:57 GMT 2009 -- Errors in: /c/osgeo4w/usr/src/grass6_devel/gui/scripts /c/osgeo4w/usr/src/grass6_devel/gui/wxpython/scripts /c/osgeo4w/usr/src/grass6_devel/raster/r.li/r.li.daemon [...]


syringia@NADA /c/osgeo4w/usr/src/grass6_devel/gui/scripts
$ make
for file in d.* g.*sh r.* v.*sh ; do \
sed -e "s#SCRIPT_NAME#$file#" ../../gui/scripts/windows_launch.bat \
        > /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32/etc/gui/scripts/$file.bat ; done
/bin/sh: /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32/etc/gui/scripts/d.colors.sh.bat: No such file or directory
/bin/sh: /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32/etc/gui/scripts/d.path.sh.bat: No such file or directory
/bin/sh: /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32/etc/gui/scripts/g.change.gui.sh.bat: No such file or directory
/bin/sh: /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32/etc/gui/scripts/r.colors.rules.bat: No such file or directory
/bin/sh: /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32/etc/gui/scripts/r.reclass.file.bat: No such file or directory
/bin/sh: /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32/etc/gui/scripts/r.reclass.rules.bat: No such file or directory
/bin/sh: /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32/etc/gui/scripts/r.recode.file.bat: No such file or directory
/bin/sh: /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32/etc/gui/scripts/r.recode.rules.bat: No such file or directory
/bin/sh: /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32/etc/gui/scripts/r.support.sh.bat: No such file or directory
/bin/sh: /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32/etc/gui/scripts/v.type_wrapper.sh.bat: No such file or directory
make: *** [create.bat] Error 1
syringia@NADA /c/osgeo4w/usr/src/grass6_devel/gui/wxpython/scripts
$ make
sed -e "s#SCRIPT_NAME#d.rast3d#" ../../../gui/scripts/windows_launch.bat \
        > /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32/etc/gui/scripts/d.rast3d.bat
/bin/sh: /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32/etc/gui/scripts/d.rast3d.bat: No such file or directory
make: *** [create.bat] Error 1

in reply to:  2 ; comment:3 by hamish, 16 years ago

Replying to hellik:

Errors in: /c/osgeo4w/usr/src/grass6_devel/gui/scripts /c/osgeo4w/usr/src/grass6_devel/gui/wxpython/scripts /c/osgeo4w/usr/src/grass6_devel/raster/r.li/r.li.daemon [...]

ok, I think I've fixed all three of those now. can you 'svn up' and try once again?

Hamish

in reply to:  3 ; comment:4 by hellik, 16 years ago

Replying to hamish:

Replying to hellik:

Errors in: /c/osgeo4w/usr/src/grass6_devel/gui/scripts /c/osgeo4w/usr/src/grass6_devel/gui/wxpython/scripts /c/osgeo4w/usr/src/grass6_devel/raster/r.li/r.li.daemon [...]

ok, I think I've fixed all three of those now. can you 'svn up' and try once again?

Hamish

Hi,

a fresh svn-checkout at rev37638, no compiling error anymore:


GRASS GIS compilation log

Started compilation: Sat May 30 21:51:23 GMT 2009 - Errors in: No errors detected. - Finished compilation: Sat May 30 22:43:44 GMT 2009


but what does this mean (automatically startet by the package.sh in the osgeo4w-directory after compilation)- there are some error messages

Finished compilation: Sat May 30 22:43:44 GMT 2009
Sat May 30 22:43:44 GMT 2009: STARTING make install
echo /c/osgeo4w/usr/src/grass6_devel/bin.i686-pc-mingw32/grass65
/c/osgeo4w/usr/src/grass6_devel/bin.i686-pc-mingw32/grass65
make[1]: Entering directory `/c/osgeo4w/usr/src/grass6_devel'
test -d /c/OSGeo4W/apps/grass/grass-6.5.svn || mkdir -p -m 755 /c/OSGeo4W/apps/grass/grass-6.5.svn
test -d /c/OSGeo4W/apps/grass/bin || mkdir -p -m 755 /c/OSGeo4W/apps/grass/bin
sed -e "s#^GISBASE.*#GISBASE=/c/OSGeo4W/apps/grass/grass-6.5.svn#" /c/osgeo4w/usr/src/grass6_devel/bin.i686-pc-mingw32/grass65 > /c/OSGeo4W/apps/grass/bin/grass65
chmod a+x /c/OSGeo4W/apps/grass/bin/grass65
sed -e "s#WINGISBASE=.*#WINGISBASE=/c/OSGeo4W/apps/grass/grass-6.5.svn#" /c/osgeo4w/usr/src/grass6_devel/bin.i686-pc-mingw32/grass65.bat > /c/OSGeo4W/apps/grass/bin/grass65.bat
chmod a+x /c/OSGeo4W/apps/grass/bin/grass65.bat
cd /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32 ; tar cBf - AUTHORS COPYING CHANGES REQUIREMENTS.html GPL.TXT | (cd /c/OSGeo4W/apps/grass/grass-6.5.svn ; tar xBf - ) 2>/dev/null
cd /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32 ; tar cBf - bin | (cd /c/OSGeo4W/apps/grass/grass-6.5.svn ; tar xBf - ) 2>/dev/null
cd /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32 ; tar cBf - bwidget | (cd /c/OSGeo4W/apps/grass/grass-6.5.svn ; tar xBf - ) 2>/dev/null
cd /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32 ; tar cBf - docs | (cd /c/OSGeo4W/apps/grass/grass-6.5.svn ; tar xBf - ) 2>/dev/null
cd /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32 ; tar cBf - driver | (cd /c/OSGeo4W/apps/grass/grass-6.5.svn ; tar xBf - ) 2>/dev/null
cd /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32 ; tar cBf - etc | (cd /c/OSGeo4W/apps/grass/grass-6.5.svn ; tar xBf - ) 2>/dev/null
cd /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32 ; tar cBf - fonts | (cd /c/OSGeo4W/apps/grass/grass-6.5.svn ; tar xBf - ) 2>/dev/null
cd /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32 ; tar cBf - man | (cd /c/OSGeo4W/apps/grass/grass-6.5.svn ; tar xBf - ) 2>/dev/null
tar: man: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors
cd /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32 ; tar cBf - scripts | (cd /c/OSGeo4W/apps/grass/grass-6.5.svn ; tar xBf - ) 2>/dev/null
if [ 1 -eq 1 ] ; then cd /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32 ; tar cBf - locale | (cd /c/OSGeo4W/apps/grass/grass-6.5.svn ; tar xBf - ) 2>/dev/null ; fi
tar: locale: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors
cd /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32 ; tar cBf - include | (cd /c/OSGeo4W/apps/grass/grass-6.5.svn ; tar xBf - ) 2>/dev/null
cd /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32 ; tar cBf - lib | (cd /c/OSGeo4W/apps/grass/grass-6.5.svn ; tar xBf - ) 2>/dev/null
sed 's#'/c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32'#'/c/OSGeo4W/apps/grass/grass-6.5.svn'#g' /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32/etc/monitorcap > /c/OSGeo4W/apps/grass/grass-6.5.svn/etc/monitorcap
sed 's#'/c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32'#'/c/OSGeo4W/apps/grass/grass-6.5.svn'#g' /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32/etc/fontcap > /c/OSGeo4W/apps/grass/grass-6.5.svn/etc/fontcap
chmod -R a+rX /c/OSGeo4W/apps/grass/grass-6.5.svn 2>/dev/null
tar cBf - gem/skeleton | (cd /c/OSGeo4W/apps/grass/grass-6.5.svn/etc ; tar xBf - ) 2>/dev/null
/bin/install -c  gem/gem6 /c/OSGeo4W/apps/grass/bin 2>/dev/null
make[1]: [real-install] Error 1 (ignored)
make[1]: Leaving directory `/c/osgeo4w/usr/src/grass6_devel'
Sat May 30 22:45:27 GMT 2009: END

in reply to:  4 ; comment:5 by hellik, 16 years ago

Replying to hellik:

Replying to hamish:

Replying to hellik:

Errors in: /c/osgeo4w/usr/src/grass6_devel/gui/scripts /c/osgeo4w/usr/src/grass6_devel/gui/wxpython/scripts /c/osgeo4w/usr/src/grass6_devel/raster/r.li/r.li.daemon [...]

ok, I think I've fixed all three of those now. can you 'svn up' and try once again?

Hamish

Hi,

a fresh svn-checkout at rev37638, no compiling error anymore:


GRASS GIS compilation log

Started compilation: Sat May 30 21:51:23 GMT 2009 - Errors in: No errors detected. - Finished compilation: Sat May 30 22:43:44 GMT 2009


but what does this mean (automatically startet by the package.sh in the osgeo4w-directory after compilation)- there are some error messages

Finished compilation: Sat May 30 22:43:44 GMT 2009
Sat May 30 22:43:44 GMT 2009: STARTING make install
echo /c/osgeo4w/usr/src/grass6_devel/bin.i686-pc-mingw32/grass65
/c/osgeo4w/usr/src/grass6_devel/bin.i686-pc-mingw32/grass65
make[1]: Entering directory `/c/osgeo4w/usr/src/grass6_devel'
test -d /c/OSGeo4W/apps/grass/grass-6.5.svn || mkdir -p -m 755 /c/OSGeo4W/apps/grass/grass-6.5.svn
test -d /c/OSGeo4W/apps/grass/bin || mkdir -p -m 755 /c/OSGeo4W/apps/grass/bin
sed -e "s#^GISBASE.*#GISBASE=/c/OSGeo4W/apps/grass/grass-6.5.svn#" /c/osgeo4w/usr/src/grass6_devel/bin.i686-pc-mingw32/grass65 > /c/OSGeo4W/apps/grass/bin/grass65
chmod a+x /c/OSGeo4W/apps/grass/bin/grass65
sed -e "s#WINGISBASE=.*#WINGISBASE=/c/OSGeo4W/apps/grass/grass-6.5.svn#" /c/osgeo4w/usr/src/grass6_devel/bin.i686-pc-mingw32/grass65.bat > /c/OSGeo4W/apps/grass/bin/grass65.bat
chmod a+x /c/OSGeo4W/apps/grass/bin/grass65.bat
cd /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32 ; tar cBf - AUTHORS COPYING CHANGES REQUIREMENTS.html GPL.TXT | (cd /c/OSGeo4W/apps/grass/grass-6.5.svn ; tar xBf - ) 2>/dev/null
cd /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32 ; tar cBf - bin | (cd /c/OSGeo4W/apps/grass/grass-6.5.svn ; tar xBf - ) 2>/dev/null
cd /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32 ; tar cBf - bwidget | (cd /c/OSGeo4W/apps/grass/grass-6.5.svn ; tar xBf - ) 2>/dev/null
cd /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32 ; tar cBf - docs | (cd /c/OSGeo4W/apps/grass/grass-6.5.svn ; tar xBf - ) 2>/dev/null
cd /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32 ; tar cBf - driver | (cd /c/OSGeo4W/apps/grass/grass-6.5.svn ; tar xBf - ) 2>/dev/null
cd /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32 ; tar cBf - etc | (cd /c/OSGeo4W/apps/grass/grass-6.5.svn ; tar xBf - ) 2>/dev/null
cd /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32 ; tar cBf - fonts | (cd /c/OSGeo4W/apps/grass/grass-6.5.svn ; tar xBf - ) 2>/dev/null
cd /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32 ; tar cBf - man | (cd /c/OSGeo4W/apps/grass/grass-6.5.svn ; tar xBf - ) 2>/dev/null
tar: man: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors
cd /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32 ; tar cBf - scripts | (cd /c/OSGeo4W/apps/grass/grass-6.5.svn ; tar xBf - ) 2>/dev/null
if [ 1 -eq 1 ] ; then cd /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32 ; tar cBf - locale | (cd /c/OSGeo4W/apps/grass/grass-6.5.svn ; tar xBf - ) 2>/dev/null ; fi
tar: locale: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors
cd /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32 ; tar cBf - include | (cd /c/OSGeo4W/apps/grass/grass-6.5.svn ; tar xBf - ) 2>/dev/null
cd /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32 ; tar cBf - lib | (cd /c/OSGeo4W/apps/grass/grass-6.5.svn ; tar xBf - ) 2>/dev/null
sed 's#'/c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32'#'/c/OSGeo4W/apps/grass/grass-6.5.svn'#g' /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32/etc/monitorcap > /c/OSGeo4W/apps/grass/grass-6.5.svn/etc/monitorcap
sed 's#'/c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32'#'/c/OSGeo4W/apps/grass/grass-6.5.svn'#g' /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32/etc/fontcap > /c/OSGeo4W/apps/grass/grass-6.5.svn/etc/fontcap
chmod -R a+rX /c/OSGeo4W/apps/grass/grass-6.5.svn 2>/dev/null
tar cBf - gem/skeleton | (cd /c/OSGeo4W/apps/grass/grass-6.5.svn/etc ; tar xBf - ) 2>/dev/null
/bin/install -c  gem/gem6 /c/OSGeo4W/apps/grass/bin 2>/dev/null
make[1]: [real-install] Error 1 (ignored)
make[1]: Leaving directory `/c/osgeo4w/usr/src/grass6_devel'
Sat May 30 22:45:27 GMT 2009: END

i've checked

in C:\OSGeo4W\apps\grass\bin there is grass65 and grass65.bat

and C:\OSGeo4W\apps\grass\grass-6.5.svn

best regards helli

in reply to:  5 comment:6 by hellik, 16 years ago

Replying to hellik:

Replying to hellik:

Replying to hamish:

Replying to hellik:

Errors in: /c/osgeo4w/usr/src/grass6_devel/gui/scripts /c/osgeo4w/usr/src/grass6_devel/gui/wxpython/scripts /c/osgeo4w/usr/src/grass6_devel/raster/r.li/r.li.daemon [...]

ok, I think I've fixed all three of those now. can you 'svn up' and try once again?

Hamish

Hi,

a fresh svn-checkout at rev37638, no compiling error anymore:


GRASS GIS compilation log

Started compilation: Sat May 30 21:51:23 GMT 2009 - Errors in: No errors detected. - Finished compilation: Sat May 30 22:43:44 GMT 2009


but what does this mean (automatically startet by the package.sh in the osgeo4w-directory after compilation)- there are some error messages

Finished compilation: Sat May 30 22:43:44 GMT 2009
Sat May 30 22:43:44 GMT 2009: STARTING make install
echo /c/osgeo4w/usr/src/grass6_devel/bin.i686-pc-mingw32/grass65
/c/osgeo4w/usr/src/grass6_devel/bin.i686-pc-mingw32/grass65
make[1]: Entering directory `/c/osgeo4w/usr/src/grass6_devel'
test -d /c/OSGeo4W/apps/grass/grass-6.5.svn || mkdir -p -m 755 /c/OSGeo4W/apps/grass/grass-6.5.svn
test -d /c/OSGeo4W/apps/grass/bin || mkdir -p -m 755 /c/OSGeo4W/apps/grass/bin
sed -e "s#^GISBASE.*#GISBASE=/c/OSGeo4W/apps/grass/grass-6.5.svn#" /c/osgeo4w/usr/src/grass6_devel/bin.i686-pc-mingw32/grass65 > /c/OSGeo4W/apps/grass/bin/grass65
chmod a+x /c/OSGeo4W/apps/grass/bin/grass65
sed -e "s#WINGISBASE=.*#WINGISBASE=/c/OSGeo4W/apps/grass/grass-6.5.svn#" /c/osgeo4w/usr/src/grass6_devel/bin.i686-pc-mingw32/grass65.bat > /c/OSGeo4W/apps/grass/bin/grass65.bat
chmod a+x /c/OSGeo4W/apps/grass/bin/grass65.bat
cd /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32 ; tar cBf - AUTHORS COPYING CHANGES REQUIREMENTS.html GPL.TXT | (cd /c/OSGeo4W/apps/grass/grass-6.5.svn ; tar xBf - ) 2>/dev/null
cd /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32 ; tar cBf - bin | (cd /c/OSGeo4W/apps/grass/grass-6.5.svn ; tar xBf - ) 2>/dev/null
cd /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32 ; tar cBf - bwidget | (cd /c/OSGeo4W/apps/grass/grass-6.5.svn ; tar xBf - ) 2>/dev/null
cd /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32 ; tar cBf - docs | (cd /c/OSGeo4W/apps/grass/grass-6.5.svn ; tar xBf - ) 2>/dev/null
cd /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32 ; tar cBf - driver | (cd /c/OSGeo4W/apps/grass/grass-6.5.svn ; tar xBf - ) 2>/dev/null
cd /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32 ; tar cBf - etc | (cd /c/OSGeo4W/apps/grass/grass-6.5.svn ; tar xBf - ) 2>/dev/null
cd /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32 ; tar cBf - fonts | (cd /c/OSGeo4W/apps/grass/grass-6.5.svn ; tar xBf - ) 2>/dev/null
cd /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32 ; tar cBf - man | (cd /c/OSGeo4W/apps/grass/grass-6.5.svn ; tar xBf - ) 2>/dev/null
tar: man: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors
cd /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32 ; tar cBf - scripts | (cd /c/OSGeo4W/apps/grass/grass-6.5.svn ; tar xBf - ) 2>/dev/null
if [ 1 -eq 1 ] ; then cd /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32 ; tar cBf - locale | (cd /c/OSGeo4W/apps/grass/grass-6.5.svn ; tar xBf - ) 2>/dev/null ; fi
tar: locale: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors
cd /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32 ; tar cBf - include | (cd /c/OSGeo4W/apps/grass/grass-6.5.svn ; tar xBf - ) 2>/dev/null
cd /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32 ; tar cBf - lib | (cd /c/OSGeo4W/apps/grass/grass-6.5.svn ; tar xBf - ) 2>/dev/null
sed 's#'/c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32'#'/c/OSGeo4W/apps/grass/grass-6.5.svn'#g' /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32/etc/monitorcap > /c/OSGeo4W/apps/grass/grass-6.5.svn/etc/monitorcap
sed 's#'/c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32'#'/c/OSGeo4W/apps/grass/grass-6.5.svn'#g' /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32/etc/fontcap > /c/OSGeo4W/apps/grass/grass-6.5.svn/etc/fontcap
chmod -R a+rX /c/OSGeo4W/apps/grass/grass-6.5.svn 2>/dev/null
tar cBf - gem/skeleton | (cd /c/OSGeo4W/apps/grass/grass-6.5.svn/etc ; tar xBf - ) 2>/dev/null
/bin/install -c  gem/gem6 /c/OSGeo4W/apps/grass/bin 2>/dev/null
make[1]: [real-install] Error 1 (ignored)
make[1]: Leaving directory `/c/osgeo4w/usr/src/grass6_devel'
Sat May 30 22:45:27 GMT 2009: END

i've checked

in C:\OSGeo4W\apps\grass\bin there is grass65 and grass65.bat

and C:\OSGeo4W\apps\grass\grass-6.5.svn

best regards helli

following http://trac.osgeo.org/grass/wiki/CompileOnWindows:

1. Open C:\OSGeo4W\apps\grass\bin\grass64 and at line 24 add:

if [ -z "$PYTHONPATH" ] ; then
 PYTHONPATH="$GISBASE/etc/python"
else
 PYTHONPATH="$GISBASE/etc/python:$PYTHONPATH"
fi
export PYTHONPATH

2. To start grass, type in MSYS console:

/osgeo4w/apps/grass/bin/grass64

Or to use the new wxpython GUI:

/osgeo4w/apps/grass/bin/grass64 -wxpython

grass is starting

comment:7 by hamish, 16 years ago

cd /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32 ; tar cBf - man | (cd /c/OSGeo4W/apps/grass/grass-6.5.svn ; tar xBf - ) 2>/dev/null
tar: man: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors
...
if [ 1 -eq 1 ] ; then cd /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-mingw32 ; tar cBf - locale | (cd /c/OSGeo4W/apps/grass/grass-6.5.svn ; tar xBf - ) 2>/dev/null ; fi
tar: locale: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors

no idea.

Helli:

I've checked in C:\OSGeo4W\apps\grass\bin there is grass65 and grass65.bat and C:\OSGeo4W\apps\grass\grass-6.5.svn

...

  1. Open C:\OSGeo4W\apps\grass\bin\grass64 and at line 24 add:

...

PYTHONPATH="$GISBASE/etc/python:$PYTHONPATH"

...

  1. To start grass, type in MSYS console:

Those files have been modified by the OSGeo4W packaging, in GRASS SVN that stuff does get get: grass/branches/develbranch_6/mswindows/GRASS-Installer.nsi@#L625

note that

  • osgeo4w consider those scripts unused in their version (their method is to start using in a cmd.exe DOS box), and
  • they've removed even more stuff from the bin/grass64(.sh) script so even if the GUI starts there may be other problems.

see http://trac.osgeo.org/osgeo4w/ticket/90

if you are building the package yourself I'm not sure why they'd be missing... ?

Hamish

in reply to:  7 comment:8 by hamish, 16 years ago

Replying to hamish:

  • osgeo4w consider those scripts unused in their version (their

method is to start using in a cmd.exe DOS box),

(they start it with a custom c:\osgeo4w\bin\grass64.bat)

Hamish

comment:9 by hellik, 16 years ago

Resolution: fixed
Status: newclosed

Hi,

i think that the ticket can be closed, because the original problem, the compiling error on windows, seems to be solved.

maybe the wiki-site http://trac.osgeo.org/grass/wiki/CompileOnWindows should be updated at point "When finished, you should have the following compilation log (c:\osgeo4w\usr\src\grass-6.4xxx\error.log): ..." to reflect the actual situation with no compiling errors, even though this thread was about develbranch6?

at the moment i'm able to test the self compiled grass6devel.

Best regards Helli

comment:10 by hamish, 16 years ago

Hamish:

they've removed even more stuff from the bin/grass64(.sh) script so even if the GUI starts there may be other problems.

Sorry, I speak terrible lies. They have done no such thing.

I was confused though why setting PYTHONPATH is needed before the grass64 script runs Init.sh, as Init.sh does just that as one of its first tasks. BUT that contained an error. Fixed in SVN and http://trac.osgeo.org/grass/wiki/CompileOnWindows updated (I fixed/simplified a few other things there too).

Helli:

maybe the wiki-site http://trac.osgeo.org/grass/wiki/CompileOnWindows should be updated at point "When finished, you should have the following compilation log (c:\osgeo4w\usr\src\grass-6.4xxx\error.log): ..." to reflect the actual situation with no compiling errors, even though this thread was about develbranch6?

done.

at the moment i'm able to test the self compiled grass6devel.

great. Can you tell me if Config -> Manage GRASS working enviro -> Change Default GUI works? (restart grass65 without options or run g.gisenv from the command prompt to check)

Can you also test if 'Cmd> ' works from the wxGUI and if '[Run in DOS box]' now works from the Tcl/Tk GUI Output window?

cheers, Hamish

in reply to:  10 ; comment:11 by hellik, 16 years ago

Replying to hamish:

fresh svn-ckeckout for develbranch6 at rev37660

compiling and automatically installing with package.sh is now working without any error

Hamish:

great. Can you tell me if Config -> Manage GRASS working enviro -> Change Default GUI works? (restart grass65 without options or run g.gisenv from the command prompt to check)

Traceback (most recent call last):
  File
"c:/OSGeo4W/apps/grass/grass-6.5.svn/etc/wxpython/wxgui.py",
line 458, in OnMenuCmd

menuform.GUI().ParseCommand(cmd, parentframe=self)
  File "c:\OSGeo4W\apps\grass\grass-6.5.svn\etc\wxpython\gui
_modules\menuform.py", line 1710, in ParseCommand

self.grass_task = self.ParseInterface(cmd)
  File "c:\OSGeo4W\apps\grass\grass-6.5.svn\etc\wxpython\gui
_modules\menuform.py", line 1678, in ParseInterface

tree = etree.fromstring(getInterfaceDescription(cmd[0]).deco
de(enc).encode("utf-8"))
  File "c:\OSGeo4W\apps\grass\grass-6.5.svn\etc\wxpython\gui
_modules\menuform.py", line 1640, in getInterfaceDescription

raise IOError, _("Unable to fetch interface description for
command '%s'.") % cmd
IOError
:
Unable to fetch interface description for command
'g.change.gui.py'.

Hamish: Can you also test if 'Cmd> ' works from the wxGUI

for quick testing this, i follow HowToTestGrass6. Maybe is it possible add line numbers in this txt-files to refer to at possible bugs?

commands copied from grasstestrast.txt to 'Cmd>

g.region rast=elevation -p => working d.rast elevation => raster is added in layer manager, but nothing is seen in map display (auto-rendering activated) d.his h_map=elevation i_map=elevation_shade => working, map displayed in map display r.info -r elevation => working d.rast landuse96_28m cat=1,2 bg=black => raster is added in layer manager, but nothing is seen in map display d.rast -o elevation val=100-160 => raster is added in layer manager, but nothing is seen in map display r.cats landuse96_28m => working r.report landuse96_28m unit=c,h,p => working r.stats -pl zipcodes,landuse96_28m => working r.random.cells out=randomcells_200m distance=200 => working r.random.surface out=rand_surf_100m => working r.random.surface out=rand_surf_100m_d1000 distance=1000 => working

commands copied from grasstestvect.txt to 'Cmd>

g.region region=swwake_10m -p => working d.vect streams col=blue => vector is added in layer manager, but nothing is seen in map display d.vect.thematic -l censusblk_swwake column=HOUSEHOLDS nint=6 color=yellow-cyan => vector is added in layer manager, but nothing is seen in map display v.info schools_wake => working g.copy vect=soils_general,myvectmap => working v.support myvectmap scale=24000 => working v.db.connect -p schools_wake => working v.info -c schools_wake => working db.tables -p => working v.db.select schools_wake where="CAPACITYTO > 300" => working v.extract -r schools_wake out=small_schools_wake => working g.copy vect=lakes,mylakes => working v.db.select mylakes => working v.db.select mylakes where="FTYPE IS NULL" => working v.db.update mylakes col=FTYPE value=WETLAND where="FTYPE IS NULL" => working v.db.select mylakes => working g.copy vect=geodetic_pts,mygeodetic_pts => working v.db.addcol mygeodetic_pts col="zval double precision" => working v.db.update mygeodetic_pts col=zval qcol="CAST(z_value AS double precision)" where="z_value <> 'N/A'"

(Sun May 31 20:58:07 2009)                                                      
v.db.update mygeodetic_pts col=zval qcol=CAST(z_value AS double precision) where=z_value <> 'N/A'
DBMI-DBF driver error:
ERROR: Error while executing: 'UPDATE mygeodetic_pts SET zval=CAST(z_value AS double precision) WHERE z_value <> N/A
'
(Sun May 31 20:58:10 2009) Command finished (3 sec)       

echo "UPDATE mygeodetic_pts SET zval=NULL WHERE zval=0" | db.execute => how can this be tested if command is executed

v.db.select mygeodetic_pts col=Z_VALUE,zval => working

Hamish: and if '[Run in DOS box]' now works from the Tcl/Tk GUI Output window?

for testing this starting grass in the msys-shell with $ /osgeo4w/apps/grass/bin/grass65 -tcltk

following error message:

syringia@NADA /c/osgeo4w
$ /osgeo4w/apps/grass/bin/grass65 -tcltk   
Cleaning up temporary files ...
Starting GRASS ...
GISDBASE='C:\gisdata\grassdata';
LOCATION_NAME='nc_spm_08';
MAPSET='user1';
WARNING: Attention!
WARNING: Locking is not supported on Windows!
/c/OSGeo4W/apps/grass/grass-6.5.svn/scripts/gis.m: c:/osgeo4w/C:\OSGeo4W\bin\wi                          sh.exe: No such file or directory
/c/OSGeo4W/apps/grass/grass-6.5.svn/scripts/gis.m: exec: c:/osgeo4w/C:\OSGeo4W\                          bin\wish.exe: cannot execute: No such file or directory

/C:\OSGeo4W\bin\wish.exe is definitly there; also interesting that the tcltk-start-window for choosing the location is working, but gis.m is not

best regards Helli

p.s. for this testing should we open another thread, wiki, trac, mail, ...?

p.p.s maybe would there be a kind of a "test-suite" possible to avoid copying commands from to example-txt-files to wx-python-command-line?

in reply to:  11 comment:12 by neteler, 16 years ago

Replying to hellik:

fresh svn-ckeckout for develbranch6 at rev37660

Hamish:

great. Can you tell me if Config -> Manage GRASS working enviro -> Change Default GUI works? (restart grass65 without options or run g.gisenv from the command prompt to check)

...
   File "c:\OSGeo4W\apps\grass\grass-6.5.svn\etc\wxpython\gui
 _modules\menuform.py", line 1640, in getInterfaceDescription
 
 raise IOError, _("Unable to fetch interface description for
 command '%s'.") % cmd
 IOError
 :
 Unable to fetch interface description for command
 'g.change.gui.py'.

Note - see for similar error: trac #234, #553, #581

in reply to:  11 comment:13 by neteler, 16 years ago

Replying to hellik: ...

v.db.update mygeodetic_pts col=zval qcol="CAST(z_value AS double precision)" where="z_value <> 'N/A'"

(Sun May 31 20:58:07 2009)                                                      
v.db.update mygeodetic_pts col=zval qcol=CAST(z_value AS double precision) where=z_value <> 'N/A'
DBMI-DBF driver error:
ERROR: Error while executing: 'UPDATE mygeodetic_pts SET zval=CAST(z_value AS double precision) WHERE z_value <> N/A
'
(Sun May 31 20:58:10 2009) Command finished (3 sec)       

Note: CAST is not supported by DBF driver, so you need to use SQLite, PostgreSQL or MySQL to use CAST.

Note: See TracTickets for help on using tickets.