http://bugs.winehq.org/show_bug.cgi?id=19779
Summary: Visual C++ 2005 Express: cl.exe can't find mspdb80.dll Product: Wine Version: 1.1.27 Platform: PC OS/Version: Linux Status: NEW Keywords: Installer Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com
Running cl.exe fails with
err:module:import_dll Library mspdb80.dll (which is needed by L"C:\Program Files\Microsoft Visual Studio 8\VC\bin\cl.exe") not found err:module:LdrInitializeThunk Main exe initialization for L"C:\Program Files\Microsoft Visual Studio 8\VC\bin\cl.exe" failed, status c0000135
unless you run it from Program Files/Microsoft Visual Studio 8/Common7/IDE/ where that dll was installed.
Copying mspdb80.dll to C:\Windows\system32 works, too. (Note: cl's output vanishes in wineconsole, so if you're running it in cmd in wineconsole, you have to redirect it to a file to see that it's working.)
Could it be that the installer should be setting some registry variable it's not? Setting 'installer' keyword on that theory, remove if I'm wrong.
(Naturally, cl failing makes the firefox build procedure fall over.)
http://bugs.winehq.org/show_bug.cgi?id=19779
--- Comment #1 from Dan Kegel dank@kegel.com 2009-08-18 21:48:35 --- It also can't find the service (mspdbsrv.exe) when you try to use -Zi, so a somewhat better workaround is to copy mspdb* to system32. See also bug 19781 for the next problem with mspb*.
http://bugs.winehq.org/show_bug.cgi?id=19779
--- Comment #2 from Lei Zhang thestig@google.com 2009-08-18 22:38:48 --- This bug is probably invalid. I think happens on Windows also. Try running cl.exe on Windows from cmd.exe. To get it to work on Windows, you have to run vcvarall.bat first. I think the magic bit is that it adds C:\Program Files\Microsoft Visual Studio 8\Common7\IDE to the PATH.
http://bugs.winehq.org/show_bug.cgi?id=19779
--- Comment #3 from Dan Kegel dank@kegel.com 2009-08-18 22:41:04 --- I did try adding that to the PATH, without success, but maybe I screwed up. I'll try it again.
http://bugs.winehq.org/show_bug.cgi?id=19779
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID
--- Comment #4 from Dan Kegel dank@kegel.com 2009-08-22 16:43:49 --- Right, fixing the PATH to match vsvars32.bat did the trick. Invalid.
http://bugs.winehq.org/show_bug.cgi?id=19779
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Vitaliy Margolen vitaliy@kievinfo.com 2009-08-22 17:40:18 --- Closing invalid