PECL UUID extension on Mac OSX

Home / Mac / PECL UUID extension on Mac OSX

Today I needed to set up the PECL UUID PHP module on my Mac OSX 10.7 Lion development machine, I needed it for a project that I’m working on.

My first reaction was to fire up terminal and run sudo pecl install uuid. It all looked good for a moment but then came to a grinding halt when ‘make’ failed.

Here is the error for reference (and for those searching snippets of it):

After a bit of googling I found out what the problem was and a solution to it. The full explanation and solution can be found here:

http://unrealexpectations.com/blog/2010/04/mamp-pecluuid-module-working-on-snow-leopard/

I can confirm that the patch and build worked on my set up (OSX 10.7 Loin) and I hope by spreading the word it some more people out.

Leave a Reply

%d bloggers like this: