MacPortsのPostgreSQL8.3 は要注意!

昨日から、MacBookAirにインストール三昧 ^^;
高性能という噂に乗せられて port で postgresql83 をインストールし無事に動作。
その後、 apache2 をインストールすると

>/opt/local/include/uuid.h:94: error: conflicting types for 'uuid_t' 
> /usr/include/unistd.h:133: error: previous declaration of 'uuid_t' was here 

というエラーが発生。調べてみると → http://www.nabble.com/Conflicting-uuid_t-types-error-building-apr-td15300836.html に書かれているように PostgreSQLが依存している ossp-uuid の uuid.h と unistd.h の uuid_t が矛盾しているのが原因だそうです。

現状での対応は、 postgresql83 と ossp-uuid を アンインストールしてから apache2 をインストールし、その後で postgresql83 をインストールする   だそうです ^^);