had to install postgreslq-devel