Richard wrote:
> 
> 
> ------------------------------------------------------------------------
> # If you have a multicore machine you can speed up the build by running
> # several jobs at once, but if you have a single core, delete this line:
> #mk_add_options MOZ_MAKE_FLAGS="-j4"
> #
> # If you have not installed Yasm, uncomment this option:
> # ac_add_options --disable-webm
> 
> # If you have installed DBus-Glib delete this option:
> ac_add_options --disable-dbus
> 
> # If you have installed wireless-tools delete this option:
> ac_add_options --disable-necko-wifi
> 
> # If you have installed libnotify delete this option:
> ac_add_options --disable-libnotify
> 
> # If you have installed xulrunner uncomment these two lines:
> # ac_add_options --with-system-libxul
> # ac_add_options --with-libxul-sdk=\$(pkg-config --variable=sdkdir libxul)
> 
> # Note: The backslash above is to facilitate a paste operation.  It
> # should not appear in the mozconfig file.
> 
> # Uncomment these if you have installed them:
> # ac_add_options --enable-startup-notification
> # ac_add_options --enable-system-hunspell
> ac_add_options --enable-system-sqlite
> # ac_add_options --with-system-libevent
> ac_add_options --with-system-libvpx
> ac_add_options --with-system-nspr
> ac_add_options --with-system-nss
> 
> mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/firefox-build-dir
> ac_add_options --enable-official-branding
> ac_add_options --prefix=/usr
> 
> # The rest of these options have no effect if you're
> # building against an already installed xulrunner:
> ac_add_options --disable-crashreporter
> ac_add_options --disable-debug
> ac_add_options --disable-installer
> ac_add_options --disable-static
> ac_add_options --disable-tests
> ac_add_options --disable-updater
> ac_add_options --enable-shared
> ac_add_options --enable-system-cairo
> ac_add_options --enable-system-ffi
> ac_add_options --with-pthreads
> ac_add_options --with-system-jpeg
> ac_add_options --with-system-png
> ac_add_options --with-system-zlib
> EOF
> ------------------------------------------------------
> 
> And here is the latest error message I get in
> the Firefox-16.0.1 build:
> 
> ------------------------------------------------------
> make  tier_js
> make[3]: Entering directory
> `/sources/firefox/mozilla-release/firefox-build-dir'
> tier_js:  js/src
> make export_tier_js
> make[4]: Entering directory
> `/sources/firefox/mozilla-release/firefox-build-dir'
> export_tier_js
> make[5]: Entering directory
> `/sources/firefox/mozilla-release/firefox-build-dir'
> cd js/src && /usr/bin/perl
> /sources/firefox/mozilla-release/build/autoconf/make-makefile -t
> /sources/firefox/mozilla-release/js/src -d . Makefile
> /bin/sh: line 0: cd: js/src: No such file or directory
> make[5]: *** [js/src/Makefile] Error 1
> make[5]: Leaving directory
> `/sources/firefox/mozilla-release/firefox-build-dir'
> make[4]: *** [export_tier_js] Error 2
> make[4]: Leaving directory
> `/sources/firefox/mozilla-release/firefox-build-dir'
> make[3]: *** [tier_js] Error 2
> make[3]: Leaving directory
> `/sources/firefox/mozilla-release/firefox-build-dir'
> make[2]: *** [default] Error 2
> make[2]: Leaving directory
> `/sources/firefox/mozilla-release/firefox-build-dir'
> make[1]: *** [realbuild] Error 2
> make[1]: Leaving directory `/sources/firefox/mozilla-release'
> make: *** [build] Error 2
> ----------------------------------------------------------------
> 
> 

I found out that removing the following line from mozconfig
avoids the js/src error:

mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/firefox-build-dir

What is the purpose of this line? Will I get into trouble
by removing it?

I can't say for sure if Firefox will build successfully,
but the build has been proceeding now for several hours
without error.

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

Reply via email to