This question is pretty old, but I’ve got similar problem.
These dependencies are checked by pkg-config. So freetype2 and harfbuzz should be found in the pkg-config search path.
You can check if they are installed by these lines:
$ pkg-config harfbuzz --modversion
$ pkg-config freetype2 --modversion
So you need to install them by your OS package manager. I’m using Mac, so brew helped me:
$ brew install freetype2
$ brew install harfbuzz