Compiling EFL on OS X Yosemite


One of the great things about code developed for Linux / Unix is how portable it can be and how it should compile on so many different systems. Autotools is, however, a pain and experiences in the past have proved less fruitless than the ideals foretell.

With some help from the Enlightenment developer crowd I set to compile the EFL on OS X Yosemite. Here is my rundown on what you need to do if you’re keen to try the same (note that this uses HomeBrew – I tried with MacPorts with little luck, if you are using ports please uninstall it first):

Install XQuartz (
Install HomeBrew (

Then execute the following commands from your terminal:

brew install autoconf automake libtool gettext pkg-config check libjpeg luajit fribidi giflib libtiff glib xz dbus cmake bullet gnu-sed

brew link gettext --force
git clone
cd efl

export LDFLAGS="-L/usr/X11/lib -L/usr/local/lib"
export CFLAGS="-I/usr/X11/include -I/usr/X11/include/freetype2 -I/usr/local/include"
export PKG_CONFIG_PATH=/opt/X11/lib/pkgconfig/:$PKG_CONFIG_PATH
export PATH="/usr/local/opt/gnu-sed/libexec/gnubin:$PATH:/usr/local/bin"

./ --without-x --with-x11=none --enable-cocoa --disable-pulseaudio --disable-audio --disable-gstreamer1 --disable-gstreamer --enable-i-really-know-what-i-am-doing-and-that-this-will-probably-break-things-and-i-will-fix-them-myself-and-send-patches-aba
sudo make install

cd ../
git clone
cd elementary
sudo make install

That should get you to a place where the EFL and Elementary are all installed into /usr/local. Note that at this stage there are many known issues – one of the larger being that mouse input is not recognised…

Please file patches to us at phabricator.

Installing XTrackCAD on OS X Yosemite


The open source track planning software XTrackCAD is a fantastic tool in anyone playing with model railways but without a stable release in 5 years it’s lagged a little behind Apple’s operating system updates. Installing on OS X 10.10 does not work out of the box but if you follow these steps you’ll have a running application in no time.

  1. Download and install the latest XQuartz

    You can get it from

  2. Download and install XTrackCAD as with earlier OS X installations

    The files are hosted on the project sourceforge page.

  3. Make sure you have allowed access to applications from any developers

    There are various instructions but try this walk through.

  4. Replace some out of date libraries in the XTrackCAD bundle

    Open a terminal and execute the following commands:

    cd /usr/lib
    cp libxml2.2.dylib  /Applications/
    cp libiconv.2.dylib  /Applications/
    cp libz.1.dylib  /Applications/

There you go – everything should be working correctly after this. Thanks for the hints from tynewydd962 in the XTrackCAD forum.