Changes between Version 120 and Version 121 of CompileOnWindows
- Timestamp:
- 01/16/10 05:20:13 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CompileOnWindows
v120 v121 167 167 168 168 1. Download the grass-6.5.svn source tree with: 169 * subversion (also see [wiki:DownloadSource#GRASS6.5 here]) 169 170 * Subversion (also see [wiki:DownloadSource#GRASS6.5 here]) 170 171 {{{ 171 172 cd /osgeo4w/usr/src 172 173 svn co https://svn.osgeo.org/grass/grass/branches/develbranch_6/ grass6_devel 173 174 }}} 175 174 176 OR 177 175 178 * Download a weekly snapshot from [http://grass.osgeo.org/grass65/source/snapshot/ here] 176 179 177 2. Follow the instructions above for grass-6.4.0, but change all grass64 to grass65 etc. Note also that the line numbers may differ slightly between GRASS 6.4.0svn (releasebranch_6_4) and GRASS-6.5.svn (develbranch_6). 178 179 To update your source tree later using subversion and recompile type: 180 {{{ 181 cd /osgeo4w/usr/src/grass6_devel 182 make distclean 183 svn up 184 rm mwindows/osgeo4w/configure-stamp 185 ./mswindows/osgeo4w/package.sh 186 }}} 187 180 After installing, start with: 181 {{{ 182 /osgeo4w/apps/grass/bin/grass65 183 }}} 188 184 189 185 === Grass-7.0.svn (trunk) === 190 186 191 187 1. Download the grass-7.0.svn source tree with: 192 * subversion (also see [wiki:DownloadSource#GRASS7 here]) 188 189 * Subversion (also see [wiki:DownloadSource#GRASS7 here]) 193 190 {{{ 194 191 cd /osgeo4w/usr/src 195 192 svn checkout https://svn.osgeo.org/grass/grass/trunk grass_trunk 196 193 }}} 194 197 195 OR 198 * Download a weekly snapshot from [http://grass.osgeo.org/grass70/source/snapshot/ here] and unpack to c:\osgeo4w\usr\src (if you use this method in the instructions below change "grass_trunk" to the folder name of your snapshot eg. "grass-7.0.svn_src_snapshot_2009_03_29") 199 200 2. Open c:\osgeo4w\etc\ini\msys.bat and at line 3 add: 196 197 * Download a weekly snapshot from [http://grass.osgeo.org/grass70/source/snapshot/ here] 198 199 2. Open {{{c:\osgeo4w\etc\ini\msys.bat}}} and at line 3 add: 201 200 {{{ 202 201 set PYTHONPATH=%OSGEO4W_ROOT%\apps\Python25 203 202 }}} 204 203 205 3. Open c:\osgeo4w\usr\src\grass_trunk\mswindows\osgeo4w\package.sh, and make the same changes as in the grass-6.4.0 section above. Note also that the line numbers may differ slightly between GRASS 6.4.0svn (releasebranch_6_4) and GRASS-7.0.svn (trunk). 206 207 4. To compile, type in MSYS console: 208 {{{ 209 cd /osgeo4w/usr/src/grass_trunk 204 After installing, start with: 205 {{{ 206 /osgeo4w/apps/grass/bin/grass70 207 }}} 208 209 === Compiling and Installing === 210 211 To compile, type in MSYS console: 212 {{{ 213 cd /osgeo4w/usr/src/grass_trunk (or cd /osgeo4w/usr/src/grass6_devel) 210 214 ./mswindows/osgeo4w/package.sh 211 }}}212 213 * If any errors came up during the compile they will be recorded in error.log. If they are non-critical modules you can finish the installation with:214 {{{215 make install216 }}}217 218 5. You're finished, start with:219 {{{220 /osgeo4w/apps/grass/bin/grass70221 215 }}} 222 216