Archive for January, 2007

FreeBSD users having trouble with pecl?

Monday, January 29th, 2007

For a while I’ve had sporadic problems with pecl (PHP’s binary module building tool, part of PEAR) not working properly. Usually the error was:
[root@host ~]# pecl install memcache

Fatal error: Call to undefined function preg_match() in /usr/local/share/pear/PEAR/Frontend/CLI.php on line 70
Yet, preg_match() would work from other scripts - it is part of pcre, which was installed.
The problem is this. pcre is included via extensions.ini. That’s why it usually works. However, pecl for some reason deliberately turns off .ini file inclusion (that includes extensions.ini) when it runs the php interpreter. I’m not sure what the objective was here but it’s a problem on FreeBSD’s shared library pcre.so.
The fix: edit the pecl script (usually /usr/local/bin/pecl) and remove the ‘-n’ from the command line arguments.

World’s Fastest Hummer H1

Saturday, January 27th, 2007

Check out this Hummer running the quarter mile in 12.8 seconds:

The party’s at MiamiNights.com

Tuesday, January 9th, 2007

Dear disgusted former readers,

I recognize that obscure vector programming languages probably aren’t what you came here to read. Please proceed over to www.miaminights.com to proceed with the gossip and trashing.

Microsoft: Developers are pawns

Tuesday, January 9th, 2007

The truth comes out - Microsoft has never cared about the developers beyond using them as leverage in the battle for the platform. If anyone is surprised by this, they’ve been asleep for the past ten years.