Installing a self-compiled gettext on Mac OS X

Gibbon in an application stack that provides module-based functionality related to school systems.

While try to install it on a Macbook Air, I bumped into a roadblock: the installation screen was blank. Turns out, Gibbon requires a PHP extension gettext which is not installed on Mac OSx by default.

There are many ways to achieve this but the simplest is a straightforward, 3-steps process as below:

  1. Download the library from gettext website.
  2. Run the following Terminal commands from the directory that has the extracted files:

    ./configure
    make
    sudo make install

  3. Confirm using a php-info file that the extension has been successfully installed and enabled.

That’s it!

 

Topics

Get in touch

Ready? Or have questions?