Changes between Version 100 and Version 101 of CompileOnWindows


Ignore:
Timestamp:
12/19/09 05:23:48 (15 years ago)
Author:
martinl
Comment:

simplify, see r40063

Legend:

Unmodified
Added
Removed
Modified
  • CompileOnWindows

    v100 v101  
    1141142. Unpack to c:\osgeo4w\usr\src
    115115
    116 3. Open c:\osgeo4w\usr\src\grass64\mswindows\osgeo4w\package.sh and at line 1 change:
    117 {{{
    118 #!/c/Programme/OSGeo4W/apps/msys/bin/sh
    119 }}}
    120 To:
    121 {{{
    122 #!/c/OSGeo4W/apps/msys/bin/sh
    123 }}}
    124 At line 10 change:
    125 {{{
    126 export OSGEO4W_ROOT_MSYS=/c/Programme/OSGeo4W
    127 }}}
    128 To:
    129 {{{
    130 export OSGEO4W_ROOT_MSYS=/c/OSGeo4W
    131 }}}
    132 At line 67 you may also have to change:
    133 {{{
    134 make -j4 || make -j4
    135 }}}
    136 To:
    137 {{{
    138 make || make
    139 }}}
    140 And comment out (by adding a # to the start of the line) to lines 83-85, e.g.:
    141 {{{
    142 #cp /c/mingw/bin/libgnurx-0.dll $OSGEO_ROOT_MSYS/bin
    143 #cp /c/mingw/bin/libiconv-2.dll $OSGEO_ROOT_MSYS/bin
    144 #cp /c/mingw/bin/libintl-8.dll $OSGEO_ROOT_MSYS/bin
    145 }}}
    146 If you're building GRASS for your own uses (ie. not packaging for others) you shouldn't need lines 94-136, so either delete them or comment them out (not 100% sure about this... maybe a modification to package.sh should be made to give options for build goals).
    147 
    148 4. To compile, type in MSYS console:
     1163. To compile, type in MSYS console:
    149117{{{
    150118cd /osgeo4w/usr/src/grass-6.4xxx (change to dir of the version you downloaded)
     
    152120}}}
    153121
    154 5. Check error.log for any error messages and mswindows/osgeo4w/package.log if you're having problems.
     1224. Check error.log for any error messages and mswindows/osgeo4w/package.log if you're having problems.
    155123
    156124GRASS should now be installed in c:\osgeo4w\apps\grass\grass-6.4.0\