52 | | === Install the environment for compilation (MingW) === |
53 | | |
54 | | 1. Run msys (there should be an icon on the desktop) |
55 | | * ''Note for Vista 64bit'': in case that MSYS starts to open multiple windows, close them all. Check first [http://forums.mozillazine.org/viewtopic.php?f=42&t=759325 this discussion]. A solutions seems to be to download [http://downloads.sourceforge.net/mingw/msysCORE-1.0.11-bin.tar.gz msysCORE-1.0.11-bin.tar.gz] (or newer?). Open the tarball, and copy the bin directory over `C:\osgeo4w\apps\msys\bin`. See also https://sourceforge.net/forum/forum.php?forum_id=720513 |
56 | | * ''Note'': to change background/foreground color or font size edit `C:\osgeo4w\apps\msys\msys.bat` |
57 | | |
58 | | 2. Type: |
59 | | {{{ |
60 | | mkdir /c/osgeo4w/apps/msys/osgeo4w |
61 | | }}} |
62 | | 3. Copy `c:\osgeo4w\apps\msys\etc\fstab.sample` to `c:\osgeo4w\apps\msys\etc\fstab` (without .sample) |
63 | | |
64 | | {{{ |
65 | | cd /c/OSGeo4W/apps/msys/etc/ |
66 | | cp fstab.sample fstab |
67 | | }}} |
68 | | |
69 | | 4. Open `c:\osgeo4w\apps\msys\etc\fstab` |
70 | | |
71 | | 5. At line 16, change: |
72 | | {{{ |
73 | | c:/mingw /mingw |
74 | | c:/ActiveState/perl /perl |
75 | | }}} |
76 | | To: |
77 | | {{{ |
78 | | c:/osgeo4w/ /osgeo4w |
79 | | }}} |
80 | | 6. Download the MinGW packages: |
81 | | (''[https://sourceforge.net/project/showfiles.php?group_id=2435 updates may be found here]'') |
82 | | * '''Temp bugfix''' (see [http://trac.osgeo.org/osgeo4w/ticket/118 here]), '''msysCORE-1.0.11-bin''' from [http://downloads.sourceforge.net/mingw/msysCORE-1.0.11-bin.tar.gz here] |
83 | | * '''bin-utils''' from [http://downloads.sourceforge.net/mingw/binutils-2.19.1-mingw32-bin.tar.gz here] |
84 | | * '''gcc-core''' from [http://downloads.sourceforge.net/mingw/gcc-core-3.4.5-20060117-3.tar.gz here] |
85 | | * '''gcc-g++''' from [http://downloads.sourceforge.net/mingw/gcc-g%2B%2B-3.4.5-20060117-3.tar.gz here] |
86 | | * '''mingw32-make''' from [http://downloads.sourceforge.net/mingw/mingw32-make-3.81-20080326-3.tar.gz here] |
87 | | * '''mingw-runtime''' from [http://downloads.sourceforge.net/mingw/mingwrt-3.15.2-mingw32-dev.tar.gz here] |
88 | | * '''mingw-utils''' from [http://downloads.sourceforge.net/mingw/mingw-utils-0.3.tar.gz here] |
89 | | * '''w32api''' from [http://downloads.sourceforge.net/mingw/w32api-3.13-mingw32-dev.tar.gz here] |
90 | | |
91 | | 7. Download the latest '''make''' program compliant with the OSGeo4W framework from [http://downloads.sourceforge.net/mingw/make-3.81-MSYS-1.0.11-2.tar.bz2 here] |
92 | | (''future updates may be found [https://sourceforge.net/project/showfiles.php?group_id=2435 here]'') |
93 | | |
94 | | 8. Unpack to `c:\osgeo4w\apps\msys` (the content of the sub-folders in the zip-files - ''bin'', ''share'' have to be copied into the related sub-folders of `c:\osgeo4w\apps\msys`) |
95 | | |
96 | | 9. Close and re-open msys to reload the settings. |
| 52 | |