Tentei instalar as bibliotecas de desenvolvimento do servidor PostgreSQL usando o MacPorts e obtive o seguinte:
Warning: MacPorts running without privileges. You may be unable to complete certain actions (e.g. install).
---> Computing dependencies for postgresql-server-devel
---> Dependencies to be installed: postgresql-devel
---> Building postgresql-devel
Error: Target org.macports.build returned: shell command failed
Error: The following dependencies failed to build: postgresql-devel
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
Acho que isso significa que preciso executar o MacPorts com privilégios e tentar novamente. Infelizmente, não tenho ideia de como conceder privilégios ao MacPorts.
Estou executando o OS X 10.6.3