http://bugs.winehq.org/show_bug.cgi?id=29569
Bug #: 29569 Summary: mingw make complains "cp: cannot stat `d3dcompiler_43/libd3dcompiler.a': No such file or directory" Product: Wine Version: 1.3.36 Platform: x86 OS/Version: Windows Status: NEW Severity: minor Priority: P2 Component: build-env AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com Classification: Unclassified
Configuring wine on mingw per the wiki seems to go fine, but 'make' fails with
rm -f dlls/libd3dcompiler.a && cp -p d3dcompiler_43/libd3dcompiler.a dlls/libd3d compiler.a cp: cannot stat `d3dcompiler_43/libd3dcompiler.a': No such file or directory
There are four problems of this sort in Makefile. Doing sed -i 's,$(LN_S) ,$(LN_S)/dlls' Makefile seems to rescue it, and let it get further.
That LN_S comes from function wine_fn_config_dll(), line 414 of aclocal.m4. There's another one that looks like it needs fixing at line 422, too.
See http://wiki.winehq.org/WineOnWindows and/or http://kegel.com/wine/wow.html for notes on how to reproduce.
(I had to do cd dlls/libwine0; make; cd ../.. cd dlls/d3dcompiler_43; make; cd ../.. to get this far, but maybe that was operator error, not sure.)