| 77 | * '''zlib-bin'' from [http://downloads.sourceforge.net/gnuwin32/zlib-1.2.3-bin.zip here] |
| 78 | * '''zlib-lib'' from [http://downloads.sourceforge.net/gnuwin32/zlib-1.2.3-lib.zip here] |
| 79 | * '''libpng-bin'' from [http://downloads.sourceforge.net/gnuwin32/libpng-1.2.35-bin.zip here] |
| 80 | * '''libpng-lib'' from [http://downloads.sourceforge.net/gnuwin32/libpng-1.2.35-lib.zip here] |
| 81 | * '''tiff-bin'' from [http://downloads.sourceforge.net/gnuwin32/tiff-3.8.2-1-bin.zip here] |
| 82 | * '''tiff-lib'' from [http://downloads.sourceforge.net/gnuwin32/tiff-3.8.2-1-lib.zip here] |
| 83 | * '''regex''' from [http://downloads.sourceforge.net/gnuwin32/regex-2.7-bin.zip here] |
| 84 | * '''gettext-bin''' from [http://downloads.sourceforge.net/gnuwin32/gettext-0.14.4-bin.zip here] |
| 85 | * '''gettext-lib''' from [http://downloads.sourceforge.net/gnuwin32/gettext-0.14.4-lib.zip here] |
| 86 | * '''libintl-bin''' from [http://downloads.sourceforge.net/gnuwin32/libintl-0.14.4-bin.zip here] |
| 87 | * '''libintl-lib''' from [http://downloads.sourceforge.net/gnuwin32/libintl-0.14.4-lib.zip here] |
81 | | |
82 | | |
83 | | === Zlib === |
84 | | |
85 | | 1. Download '''zlib'' from [http://www.zlib.net/zlib-1.2.3.tar.gz here] |
86 | | |
87 | | 2. Unpack to c:\osgeo4w\usr\src\ |
88 | | |
89 | | 3. Open c:\osgeo4w\usr\src\zlib-1.2.3\win32\Makefile.gcc |
90 | | |
91 | | 4. Replace line 102 with: |
92 | | {{{ |
93 | | INCLUDE_PATH=/osgeo4w/include |
94 | | LIBRARY_PATH=/osgeo4w/lib |
95 | | SHARED_LIBRARY_PATH=/osgeo4w/bin |
96 | | }}} |
97 | | 5. At lines 109-110 delete: |
98 | | {{{ |
99 | | -@if not exist $(INCLUDE_PATH)/nul mkdir $(INCLUDE_PATH) |
100 | | -@if not exist $(LIBRARY_PATH)/nul mkdir $(LIBRARY_PATH) |
101 | | }}} |
102 | | 6. After line 111 add: |
103 | | {{{ |
104 | | -$(INSTALL) $(SHAREDLIB) $(SHARED_LIBRARY_PATH) |
105 | | }}} |
106 | | 7. After line 118 add: |
107 | | {{{ |
108 | | -$(RM) $(SHARED_LIBRARY_PATH)/$(SHAREDLIB) |
109 | | }}} |
110 | | 8. Run msys (from desktop icon) and at the prompt type: |
111 | | {{{ |
112 | | cd /osgeo4w/usr/src/zlib-1.2.3 |
113 | | make -f win32/Makefile.gcc |
114 | | make install -f win32/Makefile.gcc |
115 | | }}} |
116 | | |
117 | | (As an aside, we could probably put the following files into a zlib-headers package: |
118 | | * /osgeo4w/include/zlib.h |
119 | | * /osgeo4w/include/zconf.h |
120 | | * /osgeo4w/bin/zlib1.dll |
121 | | * /osgeo4w/lib/libz.a |
122 | | * /osgeo4w/lib/libzdll.a) |
123 | | |
124 | | |
125 | | === Regex === |
126 | | |
127 | | 1. Download regex from [http://downloads.sourceforge.net/gnuwin32/regex-2.7-bin.zip here] |
128 | | |
129 | | 2. Unpack to c:\osgeo4w |