Recent articles

Compiling PHP 5.3.2 on Snow Leopard

Everybody that compiles PHP itself on Snow Leopard, has probably bumped into the iconv errors. When I was building the Wordpress 3 theme, I kept getting errors about imagecreatefromstring and imagejpeg. Somewhere I found that it had to do with GD and libJPEG, so I tried to compile PHP again. 

But no luck at first, I ran into the iconv errors pretty fast. But this time I found a post from Sean Coates. The trick was to compile a new version of iconv, and apply his patch. (I forgot that last part, that didn't work, only with the patch I could compile). That's all I used from his post. I didn't install homebrew, I didn't reinstall Apache, I just installed iconv, applied his patch and make was a success! 

Comments

There are no comments for this article yet, feel free to leave a comment below

Leave a comment