postgresql82-server compile error on Apple Leopard with Macports 1.5
I wasn’t able to compile postgresql82-server on my machine, it’s unable to compile php5 with postgresql-client support as well. Think there might be some bugs on it, here is some quick short cut fix, to enable php5 + Postgresql82 compile on your Apple.
First of all, make clean on your postgresql82 port;
sudo port -vd clean portgresql82
After that, make some changes on config file;
sudo port edit postgresql82
remove the line –with-bonjour
After that change to postgresql working directory and run make command
Now, it’s ready to compile and install
sudo port -vd install postgresql82-server
Done with postgresql, now with php5;
sudo port -dv install php5 +mysql5 +pear +postgresql +apache
MacPorts is fun.
* thanks spoonfork for putting up the solutions for me, wasn’t aware of it. Thanks Tun!