again, thanks for the help everyone (russell, barry).
a wierd thing -- i've been able to compile the nspostgres 4beta driver on redhat linux 7.3 with no trouble. the problem i refer to in this post was on os x specifically.
is there a specific reason for that? just in case someone else has this problem in the future...