Latest Reading List
Cover for the book 'All Souls Lost' by Dan Moren
December 1, 2023
Latest Review
Screenshot of the opening screen of Super Mario Bros. Wonder
November 5, 2023
Latest App Update
App icon for wwriteLite
August 1, 2023
Latest Device Availability
Photo of the front and back of the Green iPhone 15 Plus
December 10, 2023

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...