Hi!
HEAD version requires "libpq-dev" (libpq4), which is not in debian stable.
I'm on stable and use "postgresql-dev" (libpq3) without any problems.
Is there a reason why libpg4 is required? If not, I suggest stay with
debian stable and require "postgresql-dev" (libpq3).
regards,
klaus