Latest Review
Photo of the back of the iPhone 16 Pro Max in its box
September 27, 2024
Latest App Update
Cover for the app 4077: An Unofficial M*A*S*H Trivia app.
May 24, 2024
Apple Intelligence
Header image with the text 'Apple Intelligence: Clean Up in Photos’ with a gradient of colors
October 31, 2024

Recompiling shit for Mac

Ok, so I want to build a webapp... while for most things the stock apache / php / mysql installs on Leopard are great... but not if you want extensions... I need to be able to create PDFs... and so I need to build all of the stuff from source... Let's see exactly how well that went..

Here are the basics... Step One... obtain Apache source Step Two... ./configure apache2 with the necessary options Step Three install apache2 using the sudo make install command

This went well.... Next Thing to install... PHP Get Source ... do ./configure then sudo make install That went well... Except for the 4 hours spent trying to get everything needed in order to actually compile the damn thing... but I finally got it working this morning

Mysql.... actually went well...

Now in order to create PDF files I need PDFLib... which will require a rebuild of PHP... I also need to make sure that the ldap extension works for my webapp... and lo and behold... it's not installed... so now I have to find it...

Find Ldap source... using openldap... And I try and compile that and guess what... it requires Berkeley DB, which is installed on mac by default.. but it's the wrong version... guess I'll go and build that... There were well written instructions on how to do that...

download source decompress cd build_unix ../dist/configure sudo make sudo install

That's compiling as I write this... I just hope that this works so I can have PDFLib on my server...

With the 10+ hours spent thus far just compiling things I wonder if Leopard server would've had any of these issues...

oh well... just the way it goes... I wonder if doing this on a linux box would be any easier...

I'll keep everybody posted...

Tags: