Changes between Version 1 and Version 2 of pkg-msys


Ignore:
Timestamp:
Feb 8, 2012, 7:28:21 AM (12 years ago)
Author:
martinl
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • pkg-msys

    v1 v2  
    1616[[TicketQuery(status=closed&keywords~=msys&order=priority)]]
    1717
    18 == Packaging process ==
     18== Packaging notes ==
     19
     20=== Install the environment for compilation (MingW) ===
     21
     221. Run msys (there should be an icon on the desktop)
     23 * ''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
     24 * ''Note'': to change background/foreground color or font size edit `C:\osgeo4w\apps\msys\msys.bat`
     25
     262. Type:
     27{{{
     28mkdir /c/osgeo4w/apps/msys/osgeo4w
     29}}}
     303. Copy `c:\osgeo4w\apps\msys\etc\fstab.sample` to `c:\osgeo4w\apps\msys\etc\fstab`  (without .sample)
     31
     32{{{
     33cd /c/OSGeo4W/apps/msys/etc/
     34cp fstab.sample fstab
     35}}}
     36
     374. Open `c:\osgeo4w\apps\msys\etc\fstab`
     38
     395. At line 16, change:
     40{{{
     41c:/mingw                /mingw
     42c:/ActiveState/perl     /perl
     43}}}
     44To:
     45{{{
     46c:/osgeo4w/     /osgeo4w
     47}}}
     486. Download the MinGW packages:
     49(''[https://sourceforge.net/project/showfiles.php?group_id=2435 updates may be found here]'')
     50 * '''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]
     51 * '''bin-utils''' from [http://downloads.sourceforge.net/mingw/binutils-2.19.1-mingw32-bin.tar.gz here]
     52 * '''gcc-core''' from [http://downloads.sourceforge.net/mingw/gcc-core-3.4.5-20060117-3.tar.gz here]
     53 * '''gcc-g++''' from [http://downloads.sourceforge.net/mingw/gcc-g%2B%2B-3.4.5-20060117-3.tar.gz here]
     54 * '''mingw32-make''' from [http://downloads.sourceforge.net/mingw/mingw32-make-3.81-20080326-3.tar.gz here]
     55 * '''mingw-runtime''' from [http://downloads.sourceforge.net/mingw/mingwrt-3.15.2-mingw32-dev.tar.gz here]
     56 * '''mingw-utils''' from [http://downloads.sourceforge.net/mingw/mingw-utils-0.3.tar.gz here]
     57 * '''w32api''' from [http://downloads.sourceforge.net/mingw/w32api-3.13-mingw32-dev.tar.gz here]
     58
     597. 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]
     60(''future updates may be found [https://sourceforge.net/project/showfiles.php?group_id=2435 here]'')
     61
     628. 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`)
     63
     649. Close and re-open msys to reload the settings.
     65
     66=== Pre-built Binaries ===
     67
     68Download:
     69(''updates may be found [https://sourceforge.net/project/showfiles.php?group_id=23617 here]'')
     70 * '''bison''' from [http://downloads.sourceforge.net/gnuwin32/bison-2.1-bin.zip here]
     71 * '''bison-deps''' from [http://downloads.sourceforge.net/gnuwin32/bison-2.1-dep.zip here]
     72 * '''flex''' from [http://downloads.sourceforge.net/gnuwin32/flex-2.5.4a-1-bin.zip here]
     73 * '''gettext-bin''' from [http://downloads.sourceforge.net/gnuwin32/gettext-0.14.4-bin.zip here]
     74 * '''gettext-lib''' from [http://downloads.sourceforge.net/gnuwin32/gettext-0.14.4-lib.zip here]
     75 * '''libiconv-lib''' from [http://downloads.sourceforge.net/gnuwin32/libiconv-1.9.2-1-lib.zip here]
     76 * '''libintl-bin''' from [http://downloads.sourceforge.net/gnuwin32/libintl-0.14.4-bin.zip here]
     77 * '''libintl-lib''' from [http://downloads.sourceforge.net/gnuwin32/libintl-0.14.4-lib.zip here]
     78 * '''regex''' from [http://downloads.sourceforge.net/gnuwin32/regex-2.7-bin.zip here]
     79 * '''bc''' from [http://sourceforge.net/projects/gnuwin32/files/bc/1.06-2/bc-1.06-2-bin.zip/download here]
     80 * '''readline''' from [http://sourceforge.net/projects/gnuwin32/files/readline/5.0-1/readline-5.0-1-bin.zip/download here]
     81
     821. 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`)
     83
     842. Copy extra DLLs to `c:\osgeo4w\bin`
     85
     86{{{
     87cd /osgeo4w/apps/msys/bin
     88cp libintl3.dll libiconv2.dll regex2.dll /osgeo4w/bin
     89}}}