Version 21 (modified by martinl, 16 months ago)

--

msys

Open Tickets

No results

Closed Tickets

#78
msys.bat overrides %HOME%

Packaging notes

Install the environment for compilation (MingW)

1. Download  msysCORE-1.0.11-bin.tar.gz. Extract tarball into C:\osgeo4w\apps\msys.

2. Copy c:\osgeo4w\apps\msys\etc\fstab.sample to c:\osgeo4w\apps\msys\etc\fstab (without .sample)

3. Open c:\osgeo4w\apps\msys\etc\fstab

4. At line 16, change:

c:/mingw		/mingw
c:/ActiveState/perl	/perl

To:

c:/osgeo4w/	/osgeo4w

5. 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)

6. Download the latest make program compliant with the OSGeo4W framework from  here (future updates may be found  here) - (dev package only)

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

8. 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