The software I was building was looking for gettext.h, which apparently is not part of gettext. My mistake.