So, today was the day I started working on getting my development environment up and running. I needed to install Apache, PHP, MySQL and memcached. MySQL was a breeze. I just used the prebuilt package from mysql.com. The others were a whole other story.
We run a pretty customized setup for Apache and PHP. My coworker that has been on the Mac for almost two years advised me to install them from scratch and to ignore the versions already on the system. Compiling on the Mac was not as easy as on Linux. I had installed XCode, but something was not right still. I was getting linker errors when I tried to configure Apache. Had trouble with fink too, but I will post that in the next story.
So, I spent a good part of the day hunting all over the internet. The answer that kept coming up was to install XCode. I had done that and starting the installer showed all the default checked packages would be “upgrades” meaning they were already installed. Finally, I just started the XCode installer and checked every box, 2.2GB of stuff. Something in there did the trick.
The other thing that slowed me dow was having to adjust to the BSD way of things. Things did not install where I was used to them being. apachectl was in sbin for example. On Linux, it goes into bin. Those are no big deals. I will have scripts to start and stop my whole dev environment.
At the end of the day, I got it all working. Luckily, this was a one time annoyance. My annoyance with Linux had become day to day.