In order to build HTCondor on Windows, the following prerequisites are required. They need to be in the PATH before you can build. There is a batch file =msconfig\set_build_env.bat= in the HTCondor sources that will locate the installed prerequisites and set the PATH for you if you don't wish to add them to your global PATH.
-1: Cmake 2.8.3 or later, the =Cmake\bin= directory should be added your PATH.
+1: Install 7-zip. Add it to your PATH. 7-zip is not needed to build, but it is needed to make the HTCondor .ZIP file. You will not be able to build the PACKAGE target witout 7-zip.
+*::http://www.7-zip.org/download.html
+
+1: [Optional] install git and add it to your PATH, git is one way to get the HTCondor sources. It is not needed if you already have the sources.
+*::http://git-scm.com/download
+
+1: Cmake 2.8.3 or later, the =Cmake\bin= directory should be added your PATH. For now, be sure to use CMake 2.8 and not CMake 3.
*::http://www.cmake.org/cmake/resources/software.html
-2: Install Visual Studio. Add it to your PATH.
+1: Install Active Perl. Add it to your PATH.
+*::http://www.activestate.com/activeperl/downloads
+
+1: Install Visual Studio. Add it to your PATH.
*::Visual Studio Express (Free to anyone) https://www.microsoft.com/express/Downloads/
*::Visual Studio 2012. Paid.
*::: UW Madison staff can use MSDNAA: http://msdn04.e-academy.com/wiscmad_cs ; contact the CSL lab for an account if you don't have one. You'll get a .img file of the DVD. You can use 7-zip to extract the contents and install from there instead of burning a DVD or installing DVD emulation software.
-3: [Optional] Start Visual Studio and Open Tools->Options under "Projects and Solutions" click on VC++ Directories and add the following to the *Executable* directories. This is not needed if you use =msconfig\set_build_env.bat= to set the PATH before you build.
+1: [Optional] Start Visual Studio and Open Tools->Options under "Projects and Solutions" click on VC++ Directories and add the following to the *Executable* directories. This is not needed if you use =msconfig\set_build_env.bat= to set the PATH before you build.
*::$(SolutionDir)\msconfig
*::Move $(PATH) to the bottom as sometimes C:\cygwin\bin is in the $(PATH) which can cause issues with HTCondor's bundled binaries.
-3: Install Active Perl. Add it to your PATH.
-*::http://www.activestate.com/activeperl/downloads
-
-1: [Optional but Recommended] Install 7-zip. Add it to your PATH. 7-zip is not needed to build, but it is needed to make the HTCondor .ZIP file. You will not be able to build the PACKAGE target witout 7-zip.
-*::http://www.7-zip.org/download.html
+1: [Optional] Install 32-bit Python 2.8. This is needed to build and/or use the python bindings. It *must* be the same bitness as the HTCondor binaries, which means 32-bit for now.
6: [Optional] Install WiX 3.0 on your windows machine (Depends on Visual Studio). WiX is not needed to build, but it is needed to create the MSI installer.
*::http://wix.codeplex.com/
-1: [Optional] install git and add it to your PATH, git is one way to get the HTCondor sources. It is not needed if you already have the sources.
-*::http://git-scm.com/download
-
{blockquote}
**IMPORTANT GIT CONFIG for windows** you most set a global git config
value or patch files will fail because the sources will be modified during
@@ -53,7 +55,7 @@
2.) Checkout origin/master from the git repository, or download the HTCondor Sources http://www.cs.wisc.edu/condor/downloads-v2/download.pl
-3.) navigate to CONDOR_SRC the root directory
+3.) navigate to the root directory of the sources, it is called CONDOR_SRC if you are a using a git clone. (The root directory has a file called configure_uw in it.)
4.) add cmake\bin to your PATH if it is not already. One way to do this is to execute =CONDOR_SRC\msconfig\set_build_env.bat=. This will setup PATH, LIB, and INCLUDE environment variables to build HTCondor. If this batch file cannot find cmake.exe It will report an error.