I'm trying to build Wine from source on Mac OS 10.14.6 Mojave so that I can test this patch for winevdm https://github.com/otya128/winevdm/pull/547/files to fix https://github.com/otya128/winevdm/issues/545 which I also submitted as https://bugs.winehq.org/show_bug.cgi?id=48673 and submit it as a patch myself.
I've built Wine successfully, but whenever I run it from the build directory I get an error and it doesn't start:
Code: Select all
./wine winecfg
0024:err:environ:run_wineboot failed to start wineboot c00000e5
0024:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
0024:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0024:err:winediag:nodrv_CreateWindow The explorer process failed to start.
Code: Select all
./wine ~/Downloads/X5D-Editor/SETUP.EXE
0024:err:environ:run_wineboot failed to start wineboot c00000e5
0024:err:module:__wine_process_init L"Z:\\[removed_for_privacy]\\Downloads\\X5D-Editor\\SETUP.EXE" not supported on this system
These were my steps:
XCode command line tools were installed already.
Code: Select all
git clone git://source.winehq.org/git/wine.git ~/wine-dirs/wine-source
Code: Select all
brew cask install xquartz
brew install bison flex mingw-w64 pkgconfig
Code: Select all
echo 'export PATH="/usr/local/opt/bison/bin:$PATH"' >> ~/.bash_profile
I then ran
Code: Select all
./configure --enable-win64 CC="clang" CXX="clang++" CFLAGS="-std=gnu89 -g" LFFLAGS="-Wl,-rpath,/opt/X11/lib"
make -j5
Code: Select all
brew install freetype
Previously I was able to run wine via brew and package (which I removed again) but to apply and test the winevdm patch I'd like to run it from source.
Any help is appreciated!