Changes between Version 24 and Version 25 of CompileOnWindows


Ignore:
Timestamp:
Mar 21, 2009, 1:27:46 PM (15 years ago)
Author:
cnielsen
Comment:

Changed to mostly downloaded deps

Legend:

Unmodified
Added
Removed
Modified
  • CompileOnWindows

    v24 v25  
    5757c:/osgeo4w/     /osgeo4w
    5858}}}
    59 6. Restart msys
    60 
    61 7. Download the MinGW packages:
     596. Download the MinGW packages:
    6260 * '''mingw-runtime''' from [http://downloads.sourceforge.net/mingw/mingwrt-3.15.2-mingw32-dev.tar.gz here]
    6361 * '''mingw32-make''' from [http://downloads.sourceforge.net/mingw/mingw32-make-3.81-20080326-3.tar.gz here]
     
    6866 * '''bin-utils''' from [http://downloads.sourceforge.net/mingw/binutils-2.19.1-mingw32-bin.tar.gz here]
    6967
    70 8. Unpack all to c:\osgeo4w
    71 
    72 
    73 === Flex & Bison ===
     687. Unpack all to c:\osgeo4w
     69
     70
     71=== Pre-built Binaries ===
    7472
    7573Download:
     
    7775 * '''bison''' from [http://downloads.sourceforge.net/gnuwin32/bison-2.1-bin.zip here]
    7876 * '''bison-deps''' from [http://downloads.sourceforge.net/gnuwin32/bison-2.1-dep.zip here]
     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]
    7988
    8089Unpack all to c:\osgeo4w
    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
    13090
    13191
     
    291251=== GDAL ===
    292252
    293 '''Untested: so far gdal-1.5.2 won't compile, perhaps try a newer version'''
     253'''Untested: so far gdal-1.5.2 won't compile, perhaps try a newer (or older) version'''
    294254
    2952551. Download '''gdal''' from [http://download.osgeo.org/gdal/gdal-1.5.2.tar.gz here]
     
    329289=== Compiling and Installing GRASS (6.4.0) ===
    330290
     291'''Without a fix for gdal, there will be several errors... help please'''
     292
    3312931. Download the latest GRASS 6.4.0 source code from [http://grass.osgeo.org/grass64/source/snapshot/ here].
    332294
     
    3483105. To compile, type in MSYS console:
    349311{{{
    350 export PATH="/osgeo4w/bin:/osgeo4w/apps/tcl-tk/bin:/osgeo4w/apps/sqlite/bin:/osgeo4w/apps/pgsql/lib:$PATH"
     312export PATH="/osgeo4w/bin:/osgeo4w/apps/tcl-tk/bin:$PATH"
    351313cd /osgeo4w/usr/src/grass-6.4xxx (change to dir of the version you downloaded)
    352314package.sh