Changes between Version 93 and Version 94 of CompileOnWindows


Ignore:
Timestamp:
09/09/09 12:28:03 (15 years ago)
Author:
cnielsen
Comment:

Updated build instructions based on changes to package.sh by Jurgen

Legend:

Unmodified
Added
Removed
Modified
  • CompileOnWindows

    v93 v94  
    1111112. Unpack to c:\osgeo4w\usr\src
    112112
    113 3. Open c:\osgeo4w\usr\src\grass64\mswindows\osgeo4w\package.sh and at line 12, change:
    114 {{{
    115 --with-libs="/c/OSGeo4W/lib /c/MinGW/lib" \
    116 --with-includes="/c/OSGeo4W/include /c/MinGW/include" \
    117 }}}
    118 To:
    119 {{{
    120 --with-libs=/c/OSGeo4W/lib \
    121 --with-includes=/c/OSGeo4W/include \
    122 }}}
     1133. Open c:\osgeo4w\usr\src\grass64\mswindows\osgeo4w\package.sh and at line 1 change:
     114{{{
     115#!/c/Programme/OSGeo4W/apps/msys/bin/sh
     116}}}
     117To:
     118{{{
     119#!/c/OSGeo4W/apps/msys/bin/sh
     120}}}
     121At line 10 change:
     122{{{
     123export OSGEO4W_ROOT_MSYS=/c/Programme/OSGeo4W
     124}}}
     125To:
     126{{{
     127export OSGEO4W_ROOT_MSYS=/c/OSGeo4W
     128}}}
     129At line 67 you may also have to change:
     130{{{
     131make -j4 || make -j4
     132}}}
     133To:
     134{{{
     135make || make
     136}}}
     137And comment out (by adding a # to the start of the line) to lines 83-85, e.g.:
     138{{{
     139#cp /c/mingw/bin/libgnurx-0.dll $OSGEO_ROOT_MSYS/bin
     140#cp /c/mingw/bin/libiconv-2.dll $OSGEO_ROOT_MSYS/bin
     141#cp /c/mingw/bin/libintl-8.dll $OSGEO_ROOT_MSYS/bin
     142}}}
     143If 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).
    123144
    1241454. To compile, type in MSYS console:
     
    1311525. Check error.log for any error messages and mswindows/osgeo4w/package.log if you're having problems.
    132153
    133 GRASS should now be installed in c:\osgeo4w\apps\grass-6.4.0\
     154GRASS should now be installed in c:\osgeo4w\apps\grass\grass-6.4.0\
    134155
    135156=== Usage ===
     
    189210make distclean
    190211svn up
    191 rm configure-stamp
     212rm mwindows/osgeo4w/configure-stamp
    192213./mswindows/osgeo4w/package.sh
    193214}}}
     
    233254make distclean
    234255svn up
    235 rm configure-stamp
     256rm mswindows/osgeo4w/configure-stamp
    236257./mswindows/osgeo4w/package.sh
    237258}}}