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: |
| 116 | 3. To compile, type in MSYS console: |