If Docker is installed on your system, you can use it to easily checkout and build HTCondor from source. Assuming you have sudo access to docker, simply

  1. mkdir some_directory
  2. cd some_directory
  3. Copy the attached text into a file named "Dockerfile" in this directory.
  4. sudo docker build .

This may take some time, but will create a docker container with checkout-out and built sources. You can use the docker commit command to turn the container back into an image.