Changeset: 9edc89872ab7 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=9edc89872ab7
Modified Files:
        NT/Makefile
Branch: Apr2011
Log Message:

windows installers: attempt to fix building 64-bits installer with VC90

Microsoft has changed the name of their 64-bits crt between VC90 and
VC100.  This typically manifests itself as
ERROR: Unable to find module file 'C:\Program Files (x86)\Common
Files\Merge Modules\Microsoft_VC90_CRT_x64.msm'
on algol, where VS10 isn't installed, but VS9 is in use instead.  The
name of the 64-bits crt there is CRT_x86_x64, iso CRT_x64.
Hopefully this little tweak in the sed statement does the trick to get
the conversion right.


diffs (12 lines):

diff --git a/NT/Makefile b/NT/Makefile
--- a/NT/Makefile
+++ b/NT/Makefile
@@ -33,7 +33,7 @@
        $(INSTALL) ..\NT\installer$(bits)\*.sln "$(prefix)"
        $(INSTALL) ..\NT\installer$(bits)\*.vdproj "$(prefix)"
        -if exist "C:\Program Files (x86)" if $(bits)==32 cd 
"$(prefix)"&&C:\cygwin\bin\sed.exe -i "s/Program Files/Program Files (x86)/" 
*.vdproj
-       if not exist "C:\Program Files (x86)\Microsoft Visual Studio 10.0" if 
not exist "C:\Program Files\Microsoft Visual Studio 10.0" cd 
"$(prefix)"&&C:\cygwin\bin\sed.exe -i "s/Format Version 11.00/Format Version 
10.00/;s/Visual Studio 2010/Visual Studio 2008/;s/-vs10//;s/_VC100_/_VC90_/" 
*.vdproj *.sln
+       if not exist "C:\Program Files (x86)\Microsoft Visual Studio 10.0" if 
not exist "C:\Program Files\Microsoft Visual Studio 10.0" cd 
"$(prefix)"&&C:\cygwin\bin\sed.exe -i "s/Format Version 11.00/Format Version 
10.00/;s/Visual Studio 2010/Visual Studio 
2008/;s/-vs10//;s/_VC100_CRT_x64/_VC90_CRT_x86_x64/;s/_VC100_/_VC90_/" *.vdproj 
*.sln
 
 $(srcdir)\Makefile.msc: "$(srcdir)\Makefile.ag"
         cd "$(srcdir)"&&set PYTHONPATH=buildtools\autogen&&python 
buildtools\autogen\autogen.py
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to