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 | | }}} |
| 113 | 3. 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 | }}} |
| 117 | To: |
| 118 | {{{ |
| 119 | #!/c/OSGeo4W/apps/msys/bin/sh |
| 120 | }}} |
| 121 | At line 10 change: |
| 122 | {{{ |
| 123 | export OSGEO4W_ROOT_MSYS=/c/Programme/OSGeo4W |
| 124 | }}} |
| 125 | To: |
| 126 | {{{ |
| 127 | export OSGEO4W_ROOT_MSYS=/c/OSGeo4W |
| 128 | }}} |
| 129 | At line 67 you may also have to change: |
| 130 | {{{ |
| 131 | make -j4 || make -j4 |
| 132 | }}} |
| 133 | To: |
| 134 | {{{ |
| 135 | make || make |
| 136 | }}} |
| 137 | And 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 | }}} |
| 143 | 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). |