Changes between Version 120 and Version 121 of CompileOnWindows


Ignore:
Timestamp:
Jan 16, 2010, 5:20:13 AM (14 years ago)
Author:
martinl
Comment:

simplify

Legend:

Unmodified
Added
Removed
Modified
  • CompileOnWindows

    v120 v121  
    167167
    1681681. 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])
    170171{{{
    171172cd /osgeo4w/usr/src
    172173svn co https://svn.osgeo.org/grass/grass/branches/develbranch_6/ grass6_devel
    173174}}}
     175
    174176OR
     177
    175178 * Download a weekly snapshot from [http://grass.osgeo.org/grass65/source/snapshot/ here]
    176179
    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 
     180After installing, start with:
     181{{{
     182/osgeo4w/apps/grass/bin/grass65
     183}}}
    188184
    189185=== Grass-7.0.svn (trunk) ===
    190186
    1911871. 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])
    193190{{{
    194191cd /osgeo4w/usr/src
    195192svn checkout https://svn.osgeo.org/grass/grass/trunk grass_trunk
    196193}}}
     194
    197195OR
    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
     1992. Open {{{c:\osgeo4w\etc\ini\msys.bat}}} and at line 3 add:
    201200{{{
    202201set PYTHONPATH=%OSGEO4W_ROOT%\apps\Python25
    203202}}}
    204203
    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
     204After installing, start with:
     205{{{
     206/osgeo4w/apps/grass/bin/grass70
     207}}}
     208
     209=== Compiling and Installing ===
     210
     211To compile, type in MSYS console:
     212{{{
     213cd /osgeo4w/usr/src/grass_trunk (or cd /osgeo4w/usr/src/grass6_devel)
    210214./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 install
    216 }}}
    217 
    218 5. You're finished, start with:
    219 {{{
    220 /osgeo4w/apps/grass/bin/grass70
    221215}}}
    222216