Bob Holmstrom <holmstro@gmail.com> writes:
> ./configure--with-pgconfig=/Library/PostgreSQL/9.1/bin/pg_config
> both generate the error message "No such file or directory"
If you really typed it like that, you need a space:
./configure --with-pgconfig=/Library/PostgreSQL/9.1/bin/pg_config
regards, tom lane