Version 33 (modified by 12 years ago) ( diff ) | ,
---|
Table of Contents
msys
- MSYS - Minimal SYStem - collection of GNU utilities, see list of unix utilities
- Current Version: 1.0.11
msys
: http://download.osgeo.org/osgeo4w/release/msys/msysmsys-dev
: http://download.osgeo.org/osgeo4w/release/msys/msys-dev- Initial packaged for GRASS by jef
- Maintainer: Martin Landa
Open Tickets
No results
Closed Tickets
Packaging notes
Install the environment for compilation (MingW)
- Download msysCORE-1.0.11-bin.tar.gz. Extract tarball into
C:\osgeo4w\apps\msys
.
- Modify
c:\osgeo4w\apps\msys\msys.bat
--- msys.bat 2009-07-11 18:34:35 +0000 +++ apps/msys/msys.bat 2012-02-09 18:03:45 +0000 @@ -12,6 +12,8 @@ rem A value similar to C:\msys\1.0\bin is what the "Start in:" field needs rem to represent. +call "%~dp0\..\..\bin\o4w_env.bat" + rem ember value of GOTO: is used to know recursion has happened. if "%1" == "GOTO:" goto %2 @@ -53,9 +55,9 @@ if "x%1" == "x--rxvt" set MSYSCON=rxvt.exe if NOT "x%MSYSCON%" == "xunknown" shift -if "x%MSYSCON%" == "xunknown" set MSYSCON=sh.exe +if "x%MSYSCON%" == "xunknown" set MSYSCON=rxvt.exe -if "x%MSYSTEM%" == "x" set MSYSTEM=MINGW32 +if "x%MSYSTEM%" == "x" set MSYSTEM=MSYS if "%1" == "MINGW32" set MSYSTEM=MINGW32 if "%1" == "MSYS" set MSYSTEM=MSYS @@ -80,8 +82,8 @@ if NOT EXIST %WD%rxvt.exe goto startsh rem Setup the default colors for rxvt. -if "x%MSYSBGCOLOR%" == "x" set MSYSBGCOLOR=White -if "x%MSYSFGCOLOR%" == "x" set MSYSFGCOLOR=Black +if "x%MSYSBGCOLOR%" == "x" set MSYSBGCOLOR=Black +if "x%MSYSFGCOLOR%" == "x" set MSYSFGCOLOR=White if "x%MINGW32BGCOLOR%" == "x" set MINGW32BGCOLOR=LightYellow if "x%MINGW32FGCOLOR%" == "x" set MINGW32FGCOLOR=Navy if "%MSYSTEM%" == "MSYS" set BGCOLOR=%MSYSBGCOLOR% @@ -89,7 +91,7 @@ if "%MSYSTEM%" == "MINGW32" set BGCOLOR=%MINGW32BGCOLOR% if "%MSYSTEM%" == "MINGW32" set FGCOLOR=%MINGW32FGCOLOR% -start %WD%rxvt -backspacekey -sl 2500 -fg %FGCOLOR% -bg %BGCOLOR% -sr -fn Courier-12 -tn msys -geometry 80x25 -e /bin/sh --login -i +start %WD%rxvt -backspacekey -sl 2500 -fg %FGCOLOR% -bg %BGCOLOR% -sr -fn Courier-16 -tn msys -geometry 80x25 -e /bin/sh --login -i exit :startsh
- Copy
c:\osgeo4w\apps\msys\etc\fstab.sample
toc:\osgeo4w\apps\msys\etc\fstab
(without .sample)
- Modify
c:\osgeo4w\apps\msys\etc\fstab
--- apps/msys/etc/fstab.sample 2009-07-11 18:34:34 +0000 +++ apps/msys/etc/fstab 2012-02-09 16:11:26 +0000 @@ -13,5 +13,4 @@ #Blank lines are ignored. #Win32_Path Mount_Point -c:/mingw /mingw -c:/ActiveState/perl /perl +@osgeo4w@ /osgeo4w
- Download the MinGW packages:
- 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)
- Download the latest make program compliant with the OSGeo4W framework from here
(future 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 ofc:\osgeo4w\apps\msys
)
- 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-bin from here
- libiconv-lib from here (dev package only)
- libintl-bin from here
- libintl-lib from here (dev package only)
- readline from here
- regex from 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
)
Extra packages
- zip from here
Etc scripts
- Create
c:\osgeo4w\etc\ini
and savemsys.bat
into this directory
PATH %PATH%;%OSGEO4W_ROOT%\apps\msys\bin if not defined HOME set HOME=%USERPROFILE%
- Create
c:\osgeo4w\etc\postinstall
and savemsys.bat
into this directory
mkdir "%OSGEO4W_STARTMENU%" xxmklink "%OSGEO4W_STARTMENU%\MSYS.lnk" "%OSGEO4W_ROOT%\apps\msys\msys.bat" " " \ "Minimal SYStem" 7 "%OSGEO4W_ROOT%\apps\msys\msys.ico" xxmklink "%ALLUSERSPROFILE%\Desktop\MSYS.lnk" "%OSGEO4W_ROOT%\apps\msys\msys.bat" " " \ "Minimal SYStem" 7 "%OSGEO4W_ROOT%\apps\msys\msys.ico" textreplace -std -t apps/msys/etc/fstab
Note:
See TracWiki
for help on using the wiki.