32 | | '''mingw32-make''' from [http://downloads.sourceforge.net/mingw/mingw32-make-3.81-20080326-3.tar.gz here] |
33 | | '''gcc-core''' from [http://downloads.sourceforge.net/mingw/gcc-core-3.4.5-20060117-3.tar.gz here] |
34 | | '''gcc-g++''' from [http://downloads.sourceforge.net/mingw/gcc-g++-3.4.5-20060117-3.tar.gz here] |
35 | | '''w32api''' from [http://downloads.sourceforge.net/mingw/w32api-3.13-mingw32-dev.tar.gz here] |
36 | | '''mingw-utils''' from [http://downloads.sourceforge.net/mingw/mingw-utils-0.3.tar.gz here] |
37 | | |
38 | | Unpack to c:\osgeo4w |
| 40 | * '''mingw32-make''' from [http://downloads.sourceforge.net/mingw/mingw32-make-3.81-20080326-3.tar.gz here] |
| 41 | * '''gcc-core''' from [http://downloads.sourceforge.net/mingw/gcc-core-3.4.5-20060117-3.tar.gz here] |
| 42 | * '''gcc-g++''' from [http://downloads.sourceforge.net/mingw/gcc-g++-3.4.5-20060117-3.tar.gz here] |
| 43 | * '''w32api''' from [http://downloads.sourceforge.net/mingw/w32api-3.13-mingw32-dev.tar.gz here] |
| 44 | * '''mingw-utils''' from [http://downloads.sourceforge.net/mingw/mingw-utils-0.3.tar.gz here] |
| 45 | |
| 46 | 6. Unpack to c:\osgeo4w |
64 | | Run msys (from desktop icon) and at the prompt type: |
65 | | |
66 | | {{{ |
67 | | cd /osgeo4w/usr/src/PDCurses-3.3/win32 |
68 | | make |
69 | | install libcurses.a /osgeo4w/lib |
70 | | install pdcurses.dll /osgeo4w/bin |
71 | | cd .. |
72 | | install -m 644 curses.h /osgeo4w/include |
| 74 | 5. Run msys (from desktop icon) and at the prompt type: |
| 75 | {{{ |
| 76 | cd /osgeo4w/usr/src/PDCurses-3.3/win32 |
| 77 | make |
| 78 | install libcurses.a /osgeo4w/lib |
| 79 | install pdcurses.dll /osgeo4w/bin |
| 80 | cd .. |
| 81 | install -m 644 curses.h /osgeo4w/include |
77 | | Download '''zlib'' from [http://www.zlib.net/zlib-1.2.3.tar.gz here] |
78 | | |
79 | | Unpack to c:\osgeo4w\usr\src\ |
80 | | Open c:\osgeo4w\usr\src\zlib-1.2.3\win32\Makefile.gcc |
81 | | |
82 | | Replace line 102 with: |
83 | | |
84 | | {{{ |
85 | | INCLUDE_PATH=/osgeo4w/include |
86 | | LIBRARY_PATH=/osgeo4w/lib |
87 | | SHARED_LIBRARY_PATH=/osgeo4w/bin |
88 | | }}} |
89 | | |
90 | | At lines 109-110 delete: |
91 | | |
92 | | {{{ |
93 | | -@if not exist $(INCLUDE_PATH)/nul mkdir $(INCLUDE_PATH) |
94 | | -@if not exist $(LIBRARY_PATH)/nul mkdir $(LIBRARY_PATH) |
95 | | }}} |
96 | | |
97 | | After line 111 add: |
98 | | |
99 | | {{{ |
100 | | -$(INSTALL) $(SHAREDLIB) $(SHARED_LIBRARY_PATH) |
101 | | }}} |
102 | | |
103 | | After line 118 add: |
104 | | |
105 | | {{{ |
106 | | -$(RM) $(SHARED_LIBRARY_PATH)/$(SHAREDLIB) |
107 | | }}} |
108 | | |
109 | | Run msys (from desktop icon) and at the prompt type: |
110 | | |
111 | | {{{ |
112 | | cd /osgeo4w/usr/src/zlib-1.2.3 |
113 | | make -f win32/Makefile.gcc |
114 | | make install -f win32/Makefile.gcc |
| 86 | 1. Download '''zlib'' from [http://www.zlib.net/zlib-1.2.3.tar.gz here] |
| 87 | |
| 88 | 2. Unpack to c:\osgeo4w\usr\src\ |
| 89 | |
| 90 | 3. Open c:\osgeo4w\usr\src\zlib-1.2.3\win32\Makefile.gcc |
| 91 | |
| 92 | 4. Replace line 102 with: |
| 93 | {{{ |
| 94 | INCLUDE_PATH=/osgeo4w/include |
| 95 | LIBRARY_PATH=/osgeo4w/lib |
| 96 | SHARED_LIBRARY_PATH=/osgeo4w/bin |
| 97 | }}} |
| 98 | 5. At lines 109-110 delete: |
| 99 | {{{ |
| 100 | -@if not exist $(INCLUDE_PATH)/nul mkdir $(INCLUDE_PATH) |
| 101 | -@if not exist $(LIBRARY_PATH)/nul mkdir $(LIBRARY_PATH) |
| 102 | }}} |
| 103 | 6. After line 111 add: |
| 104 | {{{ |
| 105 | -$(INSTALL) $(SHAREDLIB) $(SHARED_LIBRARY_PATH) |
| 106 | }}} |
| 107 | 7. After line 118 add: |
| 108 | {{{ |
| 109 | -$(RM) $(SHARED_LIBRARY_PATH)/$(SHAREDLIB) |
| 110 | }}} |
| 111 | 8. Run msys (from desktop icon) and at the prompt type: |
| 112 | {{{ |
| 113 | cd /osgeo4w/usr/src/zlib-1.2.3 |
| 114 | make -f win32/Makefile.gcc |
| 115 | make install -f win32/Makefile.gcc |
191 | | Download pgsql from [http://ftp2.it.postgresql.org/mirrors/postgres/source/v8.3.1/postgresql-8.3.6.tar.gz here] |
192 | | Unpack to c:\osgeo4w |
193 | | open c:\osgeo4w\postgresql-8.3.6\src\test\regress\pg_regress.c |
194 | | At line 51 |
195 | | change: |
196 | | char *bindir = PGBINDIR; |
197 | | char *libdir = LIBDIR; |
198 | | char *datadir = PGSHAREDIR; |
199 | | |
200 | | to: |
201 | | char *bindir = "/osgeo4w/apps/pgsql/bin"; |
202 | | char *libdir = "/osgeo4w/apps/pgsql/lib"; |
203 | | char *datadir = "/osgeo4w/apps/pgsql/share"; |
204 | | |
205 | | In msys console type: |
206 | | |
| 192 | 1. Download pgsql from [http://ftp2.it.postgresql.org/mirrors/postgres/source/v8.3.1/postgresql-8.3.6.tar.gz here] |
| 193 | |
| 194 | 2. Unpack to c:\osgeo4w |
| 195 | |
| 196 | 3. Open c:\osgeo4w\postgresql-8.3.6\src\test\regress\pg_regress.c |
| 197 | |
| 198 | 4. At line 51 change: |
| 199 | {{{ |
| 200 | char *bindir = PGBINDIR; |
| 201 | char *libdir = LIBDIR; |
| 202 | char *datadir = PGSHAREDIR; |
| 203 | }}} |
| 204 | to: |
| 205 | {{{ |
| 206 | char *bindir = "/osgeo4w/apps/pgsql/bin"; |
| 207 | char *libdir = "/osgeo4w/apps/pgsql/lib"; |
| 208 | char *datadir = "/osgeo4w/apps/pgsql/share"; |
| 209 | }}} |
| 210 | 5. In the msys console type: |
229 | | '''Untested''' |
230 | | |
231 | | Get gdal <http://download.osgeo.org/gdal/gdal-1.5.2.tar.gz> |
232 | | Unpack to c:\osgeo4w\usr\src |
233 | | Open c:\osgeo4w\usr\src\gdal-1.5.2\configure |
234 | | At line 23832 replace: |
235 | | |
| 235 | '''Untested: so far gdal-1.5.2 won't compile, perhaps try a newer version''' |
| 236 | |
| 237 | 1. Download '''gdal''' from [http://download.osgeo.org/gdal/gdal-1.5.2.tar.gz here] |
| 238 | |
| 239 | 2. Unpack to c:\osgeo4w\usr\src |
| 240 | |
| 241 | 3. Open c:\osgeo4w\usr\src\gdal-1.5.2\configure |
| 242 | |
| 243 | 4. At line 23832 replace: |
267 | | Download Tcl from [http://prdownloads.sourceforge.net/tcl/tcl8.5.2-src.tar.gz here] |
268 | | Download Tk from [http://prdownloads.sourceforge.net/tcl/tk8.5.2-src.tar.gz here] |
269 | | Unpack both to c:\osgeo4w\usr\src |
270 | | In the msys console type: |
| 274 | 1. Download Tcl from [http://prdownloads.sourceforge.net/tcl/tcl8.5.2-src.tar.gz here] |
| 275 | |
| 276 | 2. Download Tk from [http://prdownloads.sourceforge.net/tcl/tk8.5.2-src.tar.gz here] |
| 277 | |
| 278 | 3. Unpack both to c:\osgeo4w\usr\src |
| 279 | |
| 280 | 4. In the msys console type: |
288 | | * Download the latest GRASS 6.4.0 source code from [http://grass.osgeo.org/grass64/source/snapshot/ here]. |
289 | | * Unpack to c:\osgeo4w\usr\src |
290 | | * Download the installer script '''package.sh''' from [http://trac.osgeo.org/grass/browser/grass/branches/develbranch_6/mswindows/osgeo4w/package.sh?format=raw here] and put in c:\osgeo4w\usr\src\grass-6.4xxx |
291 | | * Open package.sh and at line 12: |
| 298 | 1. Download the latest GRASS 6.4.0 source code from [http://grass.osgeo.org/grass64/source/snapshot/ here]. |
| 299 | |
| 300 | 2. Unpack to c:\osgeo4w\usr\src |
| 301 | |
| 302 | 3. Download the installer script '''package.sh''' from [http://trac.osgeo.org/grass/browser/grass/branches/develbranch_6/mswindows/osgeo4w/package.sh?format=raw here] and put in c:\osgeo4w\usr\src\grass-6.4xxx |
| 303 | |
| 304 | 4. Open package.sh and at line 12: |