wiki:pkg-msys

Version 28 (modified by martinl, 12 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. Modify c:\osgeo4w\apps\msys\msys.bat, see attachment:msys.bat.diff
  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:

@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)

  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)

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)

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.