On Wed, 09 Nov 2011 13:28:56 -0600
Bruce Dubbs <[email protected]> wrote:

> I'd appreciate knowing the instructions you used.  I can't do it yet 
> because I haven't put X on my development system yet.

I compile firefox with:

tar xf firefox-8.0.source.tar.bz2
chown -R root:root mozilla-release
cd mozilla-release
# make a separate build dir:
mkdir firefox-build-dir
# now make firefox build in that dir:
echo "mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/firefox-build-dir" > mozconfig
# If we have more than 1 cpu do a parallel build:
[ $(getconf _NPROCESSORS_ONLN) = 1 ] ||
echo "mk_add_options MOZ_MAKE_FLAGS=\"-j$(getconf _NPROCESSORS_ONLN)\"" >> \
  mozconfig
echo "ac_add_options --prefix=/usr
ac_add_options --enable-application=browser
ac_add_options --with-pthreads
ac_add_options --with-system-bz2
ac_add_options --with-system-jpeg
ac_add_options --with-system-png
ac_add_options --enable-system-lcms
ac_add_options --enable-system-cairo
ac_add_options --with-system-zlib
ac_add_options --enable-system-sqlite
ac_add_options --with-system-libvpx
ac_add_options --enable-system-hunspell
ac_add_options --enable-startup-notification
ac_add_options --enable-shared
ac_add_options --disable-static
ac_add_options --disable-debug
ac_add_options --disable-crashreporter
ac_add_options --disable-installer
ac_add_options --disable-updater
ac_add_options --disable-tests" >> mozconfig
make -f client.mk
cd firefox-build-dir
make install

Obviously, if you've not installed lcms, sqlite, libvpx, hunspell or
startup-notification change that mozconfig to suit.
Hope that helps.

Andy
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to