I have used git bash for running tesseract. Not tried for training. You can use the ppa from the link below, rather than trying to build it.
https://launchpad.net/~alex-p/+archive/ubuntu/tesseract-ocr/+packages -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To unsubscribe from this group and stop receiving emails from it, send an email to tesseract-ocr+unsubscr...@googlegroups.com. To post to this group, send email to firstname.lastname@example.org. Visit this group at https://groups.google.com/group/tesseract-ocr. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/CAG2NduX1XAUTzAbAiYNmYOY-PJLbmQYdzuuLkPvg7Jfj4Az6Rg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.