Sandeep Gupta <gupta(dot)sandeep(at)gmail(dot)com> writes:
> I downloaded the source, configured it with prefix=install_dir and
> then moved to contrib/postgres_fdw dir.
> However make fails with following error:
> ../../src/include/utils/elog.h:71:28: fatal error: utils/errcodes.h:
> No such file or directory
Try building the core code first.
regards, tom lane