The more I use my Mac and OS X the more I like it. One of the best parts for me, as Unix and X11 geek is that I can run X11-based apps like Pan ( on it. You can get Pan pre-built from either Macports or Fink. However if you want to try the “beta” releases with newer features then you’ll need build it yourself from the source.

If you’ve never built X-based applications before it basically involves the following in OS X. Note this is a very high-level overview:

  • Install the X11 libraries gcc, and developer tools from the Developer Connection.
  • Get Pan and expand the archive
  • Execute configure
  • Execute make
  • Execute make install

However, I ran into a problem. The configure script (which determines where all of the compilers and libraries are that are needed by the application you want to build) worked fine. However, calling make failed:

make  all-recursive
Making all in po
file=`echo am | sed 's,.*/,,'`.gmo 
  && rm -f $file &&  -o $file am.po
/bin/sh: line 1: -o: command not found
make[2]: *** [] Error 127
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

After talking with a few people on IRC I found that the configure script wasn’t assigning the GMSGFMT assignment in the Makefile isn’t getting assigned by the configure script… Setting this in the root make file and the po/Makefile worked around the problem..

You can read more in the thread about this discussion below. Apparently it’s an issue in gnome-common and effects BSD-based OS’s (like OS X) so it probably won’t get fixed any time soon: