"Iuri Sampaio" <iuri.sampaio@gmail.com> writes:
> mkdir: cannot create directory `/usr/local/pgsql/include': File exists
Perhaps there is a plain file (not a directory) at that location?
You will generally need to do the "make install" step as root if you're
installing into a standard location such as /usr/local ... but I'd have
expected a permissions failure rather than "file exists" if that were
the issue.
regards, tom lane