| 70 | | |
| 71 | | |
| 72 | | === PDCurses === |
| 73 | | |
| 74 | | 1. Download PDCurses from [http://downloads.sourceforge.net/pdcurses/PDCurses-3.3.tar.gz here] |
| 75 | | |
| 76 | | 2. Unpack to c:\osgeo4w\usr\src\ |
| 77 | | |
| 78 | | 3. open c:\osgeo4w\usr\src\PDCurses-3.3\win32\mingwin32.mak |
| 79 | | |
| 80 | | 4. at line 80 replace |
| 81 | | {{{ |
| 82 | | -copy |
| 83 | | }}} |
| 84 | | with |
| 85 | | {{{ |
| 86 | | -cp |
| 87 | | }}} |
| 88 | | |
| 89 | | 5. Run msys (from desktop icon) and at the prompt type: |
| 90 | | {{{ |
| 91 | | cd /c/osgeo4w/usr/src/PDCurses-3.3/win32/ |
| 92 | | make -f mingwin32.mak DLL=Y all |
| 93 | | cp pdcurses.a libcurses.a |
| 94 | | install libcurses.a /c/osgeo4w/lib/ |
| 95 | | install pdcurses.dll /c/osgeo4w/bin/ |
| 96 | | cd .. |
| 97 | | install -m 644 curses.h /c/osgeo4w/include/ |
| 98 | | }}} |
| 337 | | === Tcl/Tk (skip if only compiling grass7) === |
| 338 | | |
| 339 | | '''Untested''' |
| 340 | | |
| 341 | | 1. Download Tcl from [http://prdownloads.sourceforge.net/tcl/tcl8.5.2-src.tar.gz here] |
| 342 | | |
| 343 | | 2. Download Tk from [http://prdownloads.sourceforge.net/tcl/tk8.5.2-src.tar.gz here] |
| 344 | | |
| 345 | | 3. Unpack both to c:\osgeo4w\usr\src |
| 346 | | |
| 347 | | 4. In the msys console type: |
| 348 | | {{{ |
| 349 | | cd /osgeo4w/usr/src/tcl8.5.2/win |
| 350 | | ./configure --prefix=/osgeo4w/apps/tcl-tk --enable-shared |
| 351 | | make |
| 352 | | make install |
| 353 | | cd /osgeo4w/apps/tcl-tk/bin |
| 354 | | mv tclsh85.exe tclsh.exe |
| 355 | | cd /osgeo4w/usr/src/tk8.5.2/win |
| 356 | | ./configure --prefix=/osgeo4w/apps/tcl-tk --with-tcl=/osgeo4w/usr/src/tcl8.5.2/win --enable-shared |
| 357 | | make |
| 358 | | make install |
| 359 | | cd /osgeo4w/apps/tcl-tk/bin |
| 360 | | mv wish85.exe wish.exe |
| 361 | | }}} |
| 362 | | |
| 363 | | |