Alan W. Irwin
2017-06-16 21:18:41 UTC
The MinGW-w64/MSYS2 wiki at <https://github.com/msys2/msys2/wiki>
refers to <https://github.com/TeaCI/tea-ci/wiki/Msys2-on-Wine> for
instructions about how to install MinGW-w64/MSYS2 on the wine-staging
platform. Those instructions (updated a year ago by Qian Hong) fail
quite early in the process for me. I have attempted to contact Qian
Hong directly about that earlier this week, but he has not responded.
So although Qian Hong's wiki entry is obviously not part of the
MinGW-w64/MSYS2 effort, I thought I would at least detail what I tried
here in case someone else here knows how to get MinGW-w64/MSYS2
installed on the wine-staging platform.
My Linux platform is Debian Jessie so the first step was to install
wine-staging following the Debian Jessie instructions at
https://wine-staging.com/installation.html. That installed
winehq-staging 2.4 which is several months out of date, but I thought
it was likely new enough to attempt to proceed further since that
version was released after the above wiki entry was last updated in
July 2016.
I then set the following environment variables:
export WINEVERSION=2.4_jessie_wine-staging
export WINEPREFIX=/home/wine/wine_staging/.wine-$WINEVERSION
export WINEDEBUG='fixme-all'
and ran
winecfg
taking defaults for everything. I then ran these further commands:
wineserver -p
wget http://repo.msys2.org/distrib/x86_64/msys2-x86_64-20161025.exe
nice -19 wineconsole --backend=curses msys2-x86_64-20161025.exe
That GUI appeared to work fine for getting through the welcome page,
the prefix page (where I appended "_20170612" to the install prefix),
and the keyboard shortcuts page (where I used default), but the next
page where an attempt was made to actually install files, it got through
roughly 60 per cent of it and abruptly ended with what looked like a
bash.exe segfault and the following fatal
error message that came up on wineconsole
err:ole:CoCreateInstanceEx apartment not initialised
err:ole:CoCreateInstanceEx
apartment not initialised
err:ole:CoCreateInstanceEx apartment
not initialised
wine: Unhandled page fault on read
access to 0x00000020 at address 0x7bc4b478 (thread 0046), starting
debugger...
Note the above installer is not what was recommended above in July
2016, but instead is the latest one you find if you start at
<https://github.com/msys2/msys2/wiki/MSYS2-installation> and follow
the 64-bit installation instructions.
I then repeated the attempt using the equivalent 32-bit installer,
msys2-i686-20161025.exe, but there were similar errors in that case as
well.
I must say I am quite surprised by these failures of the install GUI's
since my Wine experience with installers from several years ago for a
rather large variety of different software projects was that generally
install GUI's (whose simple job after all is normally to obtain files
from the web and install them) work well under Wine.
Is there something more I should be doing to get either of these
installers to work on wine-staging? If not, but someone here finds
these installers have no such issues under the latest wine-staging (as
opposed to the 2.4 version I am using), then can you tell me how do I
get access to that latest version?
Alan
__________________________
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).
Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__________________________
Linux-powered Science
__________________________
refers to <https://github.com/TeaCI/tea-ci/wiki/Msys2-on-Wine> for
instructions about how to install MinGW-w64/MSYS2 on the wine-staging
platform. Those instructions (updated a year ago by Qian Hong) fail
quite early in the process for me. I have attempted to contact Qian
Hong directly about that earlier this week, but he has not responded.
So although Qian Hong's wiki entry is obviously not part of the
MinGW-w64/MSYS2 effort, I thought I would at least detail what I tried
here in case someone else here knows how to get MinGW-w64/MSYS2
installed on the wine-staging platform.
My Linux platform is Debian Jessie so the first step was to install
wine-staging following the Debian Jessie instructions at
https://wine-staging.com/installation.html. That installed
winehq-staging 2.4 which is several months out of date, but I thought
it was likely new enough to attempt to proceed further since that
version was released after the above wiki entry was last updated in
July 2016.
I then set the following environment variables:
export WINEVERSION=2.4_jessie_wine-staging
export WINEPREFIX=/home/wine/wine_staging/.wine-$WINEVERSION
export WINEDEBUG='fixme-all'
and ran
winecfg
taking defaults for everything. I then ran these further commands:
wineserver -p
wget http://repo.msys2.org/distrib/x86_64/msys2-x86_64-20161025.exe
nice -19 wineconsole --backend=curses msys2-x86_64-20161025.exe
That GUI appeared to work fine for getting through the welcome page,
the prefix page (where I appended "_20170612" to the install prefix),
and the keyboard shortcuts page (where I used default), but the next
page where an attempt was made to actually install files, it got through
roughly 60 per cent of it and abruptly ended with what looked like a
bash.exe segfault and the following fatal
error message that came up on wineconsole
err:ole:CoCreateInstanceEx apartment not initialised
err:ole:CoCreateInstanceEx
apartment not initialised
err:ole:CoCreateInstanceEx apartment
not initialised
wine: Unhandled page fault on read
access to 0x00000020 at address 0x7bc4b478 (thread 0046), starting
debugger...
Note the above installer is not what was recommended above in July
2016, but instead is the latest one you find if you start at
<https://github.com/msys2/msys2/wiki/MSYS2-installation> and follow
the 64-bit installation instructions.
I then repeated the attempt using the equivalent 32-bit installer,
msys2-i686-20161025.exe, but there were similar errors in that case as
well.
I must say I am quite surprised by these failures of the install GUI's
since my Wine experience with installers from several years ago for a
rather large variety of different software projects was that generally
install GUI's (whose simple job after all is normally to obtain files
from the web and install them) work well under Wine.
Is there something more I should be doing to get either of these
installers to work on wine-staging? If not, but someone here finds
these installers have no such issues under the latest wine-staging (as
opposed to the 2.4 version I am using), then can you tell me how do I
get access to that latest version?
Alan
__________________________
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).
Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__________________________
Linux-powered Science
__________________________