wiki:pkg-msys

Version 18 (modified by martinl, 13 years ago) ( diff )

--

msys

Open Tickets

No results

Closed Tickets

#78
msys.bat overrides %HOME%
#454
overflow with ls

Packaging notes

Install the environment for compilation (MingW)

  1. Download msysCORE-1.0.11-bin.tar.gz. Extract tarball into C:\osgeo4w\apps\msys.
  1. Create directory c:\osgeo4w\apps\msys\osgeo4w
  1. Copy c:\osgeo4w\apps\msys\etc\fstab.sample to c:\osgeo4w\apps\msys\etc\fstab (without .sample)
  1. Open c:\osgeo4w\apps\msys\etc\fstab
  1. At line 16, change:
    c:/mingw		/mingw
    c:/ActiveState/perl	/perl
    

To:

c:/osgeo4w/	/osgeo4w
  1. Download the MinGW packages:

(updates may be found here)

  • bin-utils from here
  • gcc-core from here (dev package only)
  • gcc-g++ from here (dev package only)
  • mingw32-make from here (dev package only)
  • mingw-runtime from here (dev package only)
  • mingw-utils from here (dev package only)
  • w32api from here (dev package only)
  1. Download the latest make program compliant with the OSGeo4W framework from here

(future updates may be found here) - (dev package only)

  1. 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)
  1. Close and re-open msys to reload the settings.

Pre-built Binaries

Download: (updates may be found here)

  • bc from here
  • bison from here (dev package only)
  • bison-deps from here (dev package only)
  • flex from here (dev package only)
  • gettext-bin from here (dev package only)
  • gettext-lib from here (dev package only)
  • libiconv-lib from here (dev package only)
  • libintl-bin from here (dev package only)
  • libintl-lib from here (dev package only)
  • readline from here
  • regex from here (dev package only)

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)

Add etc scripts

  1. Create c:\osgeo4w\etc\ini and copy attachment:msys.bat into this directory
  2. Create c:\osgeo4w\etc\postinstall and copy attachment:msys.2.bat into this directory
Note: See TracWiki for help on using the wiki.