RESOLVED FIXED 7802
devenv.com not available in VC++ Express installations
https://bugs.webkit.org/show_bug.cgi?id=7802
Summary devenv.com not available in VC++ Express installations
Björn Graf (boki)
Reported 2006-03-16 03:27:06 PST
webkitdirs.pm uses devenv.com to build the projects on windows, but devenv.com is not available when using the Express version of VC++. Using vcbuild.exe instead is a better choice as it is installed with both, the full VS.NET and the Express version.
Attachments
Utilize vcbuild.exe in webkit.pm (1.37 KB, patch)
2006-03-16 03:33 PST, Björn Graf (boki)
no flags
Utilize vcbuild.exe in webkit.pm with VCINSTALLDIR check (1.50 KB, patch)
2006-03-17 00:27 PST, Björn Graf (boki)
no flags
Updated patch with ChangeLog (2.15 KB, patch)
2006-06-24 11:58 PDT, David Kilzer (:ddkilzer)
no flags
Patch with no reviewer set (2.16 KB, patch)
2006-06-24 12:01 PDT, David Kilzer (:ddkilzer)
mjs: review-
Updated patch to default to $ProgramFiles if VCINSTALLDIR is not set (2.69 KB, patch)
2006-07-04 06:33 PDT, Björn Graf (boki)
ddkilzer: review-
Final build fix patch (3.67 KB, patch)
2006-07-09 08:24 PDT, David Kilzer (:ddkilzer)
ddkilzer: review-
another attempt (3.84 KB, patch)
2006-11-01 11:21 PST, Alexey Proskuryakov
mjs: review+
Björn Graf (boki)
Comment 1 2006-03-16 03:33:30 PST
Created attachment 7111 [details] Utilize vcbuild.exe in webkit.pm
Björn Graf (boki)
Comment 2 2006-03-17 00:27:28 PST
Created attachment 7124 [details] Utilize vcbuild.exe in webkit.pm with VCINSTALLDIR check
Darin Adler
Comment 3 2006-03-24 08:21:05 PST
Comment on attachment 7124 [details] Utilize vcbuild.exe in webkit.pm with VCINSTALLDIR check If this works, we should definitely do it! But I don't have a Windows machine to test on.
Maciej Stachowiak
Comment 4 2006-03-25 03:33:53 PST
Comment on attachment 7124 [details] Utilize vcbuild.exe in webkit.pm with VCINSTALLDIR check r=me but whoever lands this should test on windows to make sure it works ok with full VC
Darin Adler
Comment 5 2006-06-04 13:50:51 PDT
*** Bug 7871 has been marked as a duplicate of this bug. ***
David Kilzer (:ddkilzer)
Comment 6 2006-06-24 11:40:30 PDT
Committed revision 15015. Watching buildbot for Windows build errors. http://build.webkit.org/
David Kilzer (:ddkilzer)
Comment 7 2006-06-24 11:54:25 PDT
This patch did not work on the buildbot. http://build.webkit.org/post-commit-win32/builds/1746/step-compile-release/0 Looks like vcvars32.bat needs to be run on the buildbot. Hyatt, can you do this, or is this something that needs to be done every time the user logs in? Run "<Program Files>\Microsoft Visual Studio 8\VC\bin\vcvars32.bat" to set VC variables at /cygdrive/c/WebKit-BuildSlave/post-commit-win32/build/WebKitTools/Scripts/webkitdirs.pm line 350. program finished with exit code 2 I am backing out the patch for now.
David Kilzer (:ddkilzer)
Comment 8 2006-06-24 11:58:23 PDT
Created attachment 9007 [details] Updated patch with ChangeLog If the vcvars32.bat script gets run on the Win32 buildbot, this patch may work again.
David Kilzer (:ddkilzer)
Comment 9 2006-06-24 12:00:13 PDT
(In reply to comment #8) > Created an attachment (id=9007) [edit] > Updated patch with ChangeLog I did not change anything in the patch itself, but the original patch applied with fuzz 1.
David Kilzer (:ddkilzer)
Comment 10 2006-06-24 12:01:43 PDT
Created attachment 9008 [details] Patch with no reviewer set Same as previous patch, but no reviewer set. *sigh*
Darin Adler
Comment 11 2006-06-24 21:56:04 PDT
(In reply to comment #10) > Same as previous patch, but no reviewer set. *sigh* The reason this had Maciej as a reviewer is that he long since said "r=me" (see comment #4 above). But we need someone to test that this works on a system with Visual Studio before we land it. Sorry it's been sitting around so long.
David Kilzer (:ddkilzer)
Comment 12 2006-06-24 23:04:22 PDT
(In reply to comment #11) > (In reply to comment #10) > > Same as previous patch, but no reviewer set. *sigh* > > The reason this had Maciej as a reviewer is that he long since said "r=me" (see > comment #4 above). Actually, I was sighing at myself because I forgot to clear Maciej from previous patch as the reviewer before uploading it to this bug. :) As soon as this lands, I'll install VC++ Express on my Windows laptop so I can play with WebKit there, too.
Maciej Stachowiak
Comment 13 2006-07-04 01:42:35 PDT
This forces people with full visual studio to set VCINSTALLDIR, which hasn't been a requirement before. Probably it could just default to using "$programFilesPath/Microsoft Visual Studio 8/VC/" instead of VCINSTALLDIR if its not set, but r- for the technicality.
Björn Graf (boki)
Comment 14 2006-07-04 06:33:24 PDT
Created attachment 9189 [details] Updated patch to default to $ProgramFiles if VCINSTALLDIR is not set
David Kilzer (:ddkilzer)
Comment 15 2006-07-09 07:48:47 PDT
Committed revision 15252. Hopefully, the buildbot won't break this time.  :)
David Kilzer (:ddkilzer)
Comment 16 2006-07-09 08:20:18 PDT
(In reply to comment #15) > Committed revision 15252. > > Hopefully, the buildbot won't break this time.  :) No such luck.   Attempted one build-fix in r15254.
David Kilzer (:ddkilzer)
Comment 17 2006-07-09 08:23:11 PDT
(In reply to comment #16) > (In reply to comment #15) > > Committed revision 15252. > > Hopefully, the buildbot won't break this time.  :) > No such luck.   Attempted one build-fix in r15254. Okay, that worked.  If VC++ Express still isn't working, please open a new bug and file a new patch.  Thanks!  :)
David Kilzer (:ddkilzer)
Comment 18 2006-07-09 08:24:42 PDT
Created attachment 9298 [details] Final build fix patch
David Kilzer (:ddkilzer)
Comment 19 2006-07-09 21:40:32 PDT
Reopening once again.  This broke the Windows buildbot yet again.  Will mark the patches r-.
Alexey Proskuryakov
Comment 20 2006-11-01 11:21:44 PST
Created attachment 11333 [details] another attempt Updates the earlier patches to use VCExpress.exe, which takes the same parameters as devenv.com. Unfortunately, VCExpress.exe doesn't print anything to the console, saving its results to per-project HTML files. Still, this is hopefully slightly better than the current situation (and I suppose that everyone builds from VC Express IDE anyway). Cmake apparently has a workaround, but I couldn't make it work: <http://www.cmake.org/pipermail/cmake/2006-February/008292.html>.
Maciej Stachowiak
Comment 21 2006-11-01 15:45:15 PST
Comment on attachment 11333 [details] another attempt r=me
Anders Carlsson
Comment 22 2006-11-02 19:16:33 PST
Committed revision 17551.
Note You need to log in before you can comment on or make changes to this bug.