https://bugs.winehq.org/show_bug.cgi?id=52024
--- Comment #16 from Jason Brown jbrown@statslog.com --- (In reply to Zebediah Figura from comment #15)
Hrm, native oleaut32 doesn't seem to have helped. Sorry, I missed that from the first comment.
Darn :(
For reference, starting from a clean prefix, what I did was:
WINEARCH=win32 winetricks -q vcrun2008 vcrun2010 msxml6 corefonts vb6run
WINEDLLOVERRIDES=oleaut32=n wine RCWebServerTest.exe
then from another Unix terminal, `curl 127.0.0.1:8080`
That looks good to me, and is what I'm doing here too.
(In reply to Jason Brown from comment #14)
PS: I've been trying to build the latest source with your patch, but so far it's been failing. I'm trying to figure out a buildable commit to pull, so I'll keep trying and hopefully get it going.
What specific problem are you encountering?
After calling "git checkout master", I am building with the following command:
./configure --verbose --without-freetype && make
After a while of building, I get the following error:
dlls/winex11.drv/mouse.c: In function 'grab_clipping_window': dlls/winex11.drv/mouse.c:406:13: error: 'struct x11drv_thread_data' has no member named 'xi2_state' 406 | if (data->xi2_state != xi_enabled) | ^~ dlls/winex11.drv/mouse.c:406:28: error: 'xi_enabled' undeclared (first use in this function) 406 | if (data->xi2_state != xi_enabled) | ^~~~~~~~~~ dlls/winex11.drv/mouse.c:406:28: note: each undeclared identifier is reported only once for each function it appears in dlls/winex11.drv/mouse.c: At top level: dlls/winex11.drv/mouse.c:631:35: error: unknown type name 'XIRawEvent'; did you mean 'XMapEvent'? 631 | static BOOL map_raw_event_coords( XIRawEvent *event, INPUT *input ) | ^~~~~~~~~~ | XMapEvent dlls/winex11.drv/mouse.c: In function 'create_xcursor_system_cursor': dlls/winex11.drv/mouse.c:1131:25: warning: variable 'names' set but not used [-Wunused-but-set-variable] 1131 | const char * const *names = NULL; | ^~~~~ make: *** [Makefile:150419: dlls/winex11.drv/mouse.o] Error 1
If I subsequently try to create a new prefix and test RCWebServer.exe, I get this message:
wine: created the configuration directory '/home/statslog/.wine-test' wine client error:0: version mismatch 652/739. Your wineserver binary was not upgraded correctly, or you have an older one somewhere in your PATH. Or maybe the wrong wineserver is still running?
I've tried checking out a known "bad" version that I can build successfully, and there's no problem building/running, except I couldn't apply the patch exactly as you've written because it is an older version with different code in server/sock.c. I'm trying to find a commit that will build OK and has matching sock.c code that I can patch.