Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I'm trying to install a x11-enabled version of Firefox on my OSX 10.8.2, so it can integrate nicely with xmonad.

My problem: Firefox in macports is extremely old (7.x) and building 17.x from source fails with some cryptic error:

/Users/wherr/Downloads/mozilla-release/_virtualenv/bin/python ../../config/pythonpath.py -I../../config ../../config/expandlibs_gen.py --depend .deps/libi18n.a.desc.pp -o libi18n.a.desc nsI18nModule.o  ../lwbrk/src/liblwbrk_s.a ../unicharutil/src/libucharucomp_s.a ../strres/src/libstrres_s.a ../locale/src/libnslocale_s.a ../locale/src/mac/libplatlocale_s.a ../hyphenation/src//libhyphenation_s.a 
Traceback (most recent call last):
  File "../../config/pythonpath.py", line 56, in <module>
  File "../../config/pythonpath.py", line 48, in main
    execfile(script, frozenglobals)
  File "../../config/expandlibs_gen.py", line 43, in <module>
    print >>outfile, generate(args)
  File "../../config/expandlibs_gen.py", line 27, in generate
    raise Exception("File not found: %s" % arg)
Exception: File not found: ../locale/src/mac/libplatlocale_s.a

Any idea what can I try now to get firefox working with x11?

I'm using the same configure switches as firefox-x11 from macports, namely:

./configure --enable-default-toolkit=cairo-gtk2  \
--with-xulrunner-stub-name=xulrunner-stub --disable-static \
--enable-shared --disable-official-branding --with-branding=browser/branding/unofficial \
--with-distribution-id=org.macports --enable-default-toolkit=cairo-gtk2 \
--enable-libxul --disable-system-lcms --disable-system-cairo \
--disable-system-sqlite --enable-oji --enable-plugins \
--enable-mathml --enable-extensions="default,spellcheck" \
--enable-permissions --enable-cookie \ 
--enable-image-decoders=all --enable-image-encoder=all --enable-canvas --enable-jsd \
--disable-xpctools --enable-crypto --enable-pango --enable-svg \
--enable-svg-renderer=cairo --enable-xinerama --with-pthreads \
--disable-gnomevfs --disable-gnomeui --enable-postscript --enable-safe-browsing \
--disable-crashreporter --enable-optimize='-O2' \
--disable-prebinding --enable-strip --enable-install-strip \
--disable-debug --disable-installer --disable-updater --disable-pedantic \
--disable-tests --disable-mochitest --disable-necko-wifi --enable-llvm-hacks

The complete config.log is available here: http://knping.org/~herself/config.log. After the configure I proceed with typing gmake.

share|improve this question
Could you please provide how you compiled it? Arguments to the configure script and so on? –  Matteo Dec 20 '12 at 12:05
Okay, updated the post. –  Wiesław Herr Dec 20 '12 at 12:34
Not what you asked, but as an easy alternative you could install your favorite Linux in VirtualBox and use seamless mode. If you haven't used virtualization, you might be surprised how well it works. –  minopret Dec 21 '12 at 13:15

1 Answer 1

It doesn't matter. X11 is no longer available, it was completely removed from the Mac OS after Snow Leopard.

Best bet is to run an older version under a virtual machine.

share|improve this answer
Not the entire truth. –  Max Ried Dec 21 '12 at 20:23
Crap, youa re right, I totally forgot that they added some functionality back in 10.7. –  Tony Tellez Dec 21 '12 at 20:31
What about xquartz? –  Wiesław Herr Dec 22 '12 at 22:38
You can still get X11, which Apple does support under Mountain Lion. Apple does not install as default because not enough people use it, and it is regularly updated, Apple never got the time to provide the update through MAS. –  Shane Hsu Dec 26 '12 at 12:18

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.