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;

export EDITOR=vim
sudo port edit postgresql82

remove the line –with-bonjour

After that change to postgresql working directory and run make command


cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_postgresql82/work/postgresql-8.2.5/
make

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!

Servers Uptime. More Than 356 days, 1 Year Old

Phew, time flies… I’ve been working with AIMS for more than a year, looking back on the 2 FreeBSD servers (5.4 latest at that time) I setup when I first came in, the uptime is 1 year old now. To be frank, I never have any servers hold more than 365 days uptime.

Mail Relay Server

Mail relay server, powered by exim

9:54AM up 490 days, 18:46, 1 user, load averages: 0.10, 0.04, 0.01

Nagios & Smokeping

Another server is running Nagios and Smokeping.

9:58AM up 404 days, 21:56, 1 user, load averages: 1.16, 1.04, 1.02

Voila! Hope I can see 800 days next year :D

You Must Restart Your MacBook Now

Apple Macbook Restart

Apple Macbook Restart Error Message

Got this error message from my machine 2 days ago, this is the first time I saw Apple Macbook error message, the reason why the message popup was because I have accidentally removed my mobile phone USB charger without doing proper removal/hardware eject.

Only Choice, Restart It!

When you see this screen appear, the only thing you can do, hold the Power Button, turn your Macbook off and turn it on again. It’s similar to Microsoft “blue screen”, but as always, Apple give you better User Interface experience ;)

Menza Puzzle Excel Sheet Cracked

Menza Puzzle quiz answer, download here.

Excel Logo Quiz Part 2 Cracked

Most of the time, the Excel Logo Quiz circulated in the internet doesn’t provide answer. Most of the player who played the quiz is tempted to get the answer. To become a kind internet citizen, here is the Part 2 Excel Logo Quiz cracked with answer on the cell. Click on the smiley to find out the answer.