"ASUS P5E-VM HDMI" with Intel G35/ICH9R.
 Intel Core2 Duo CPU E8400 @ 3.00GHz, 4GB
 (B)LFS i686-pc-linux-gnu 2.6.37.3, Xorg-7.6
 glib-2.28.3, gtk+-3.0.3, sqlite-3.7.5, etc.
 
To Whom It May Concern:

On a dare, I decided to install the freshly released Firefox 4.0.
It was also on a "squeeze" - the 3.6.14 and 3.6.15 failed me miserably:
I had lost my beloved back and forward arrows of the navigation buttons
(see Bug 640850).  I was also beyond a GTK+-2/3 version where I may
have "fixed" the problem by going back to 3.6.13.

The highlights of the successful installation are in the following.
If one soul is helped by them, my sacrifice wouldn't've been in vain.

PUNCHES by Firefox
1. Needs nspr >= 4.8.7
2. Needs nss >= 3.12.9
3. Needs libpng _with_ "apng"
4. Needs cairo _with_ "tee"

COUNTER PUNCHES by me (keyed to above)
1. Installed nspr-4.8.7 (latest)
2. Installed nss-3.12.9 (latest)
3. This left me reeling.
   BLFS has libpng-1.2.44.
   The latest version ("on the street") is 1.5.1
   Installed 1.5.1 but, unfortunately the 1.2.44 patch
   for "apng" doesn't work on 1.5.1.
   In desperation, I commented out the
   "ac_add_options --with-system-png" line
   and damn the torpedoes.
4.  Re-built cairo-1.10.2 with
      "--enable-tee".

    Here, you get an unsettling message after the configure,

<<  The tee surface backend feature is still under active development
 and is included in this release only as a preview.
 It does NOT fully work yet and incompatible changes may yet be made
 to tee surface backend specific API. >>

    but nobody expects Firefox-4.0 to be for the faint of heart.

ADDITIONAL COMMENTS

- The build ('make -f client.mk build') takes about 20 min.
On versions 3.6.x, about 14 min.

- The install ('make -f client.mk install') takes seconds.

Best regards,
-- Alex
--------------------------------------------------------
'.mozconfig' used:

. $topsrcdir/browser/config/mozconfig
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../firefox-build
mk_add_options MOZ_MAKE_FLAGS="-j4"
ac_add_options --prefix=/usr
ac_add_options --disable-accessibility
ac_add_options --disable-auto-deps
ac_add_options --disable-crashreporter
ac_add_options --disable-dbm
ac_add_options --disable-gnomevfs
ac_add_options --disable-installer
ac_add_options --disable-tests
ac_add_options --disable-updater
ac_add_options --enable-cpp-rtti
ac_add_options --enable-default-toolkit=cairo-gtk2
ac_add_options --enable-image-decoders=all
ac_add_options --enable-image-encoders=all
ac_add_options --enable-jemalloc
ac_add_options --enable-official-branding
ac_add_options --enable-optimize
ac_add_options --enable-places
ac_add_options --enable-safe-browsing
ac_add_options --enable-strip
ac_add_options --enable-system-cairo
ac_add_options --enable-system-lcms
ac_add_options --enable-system-sqlite
ac_add_options --enable-valgrind
ac_add_options --enable-libxul
ac_add_options --with-java-bin-path=/opt/jdk/bin
ac_add_options --with-java-include-path=/opt/jdk/include
ac_add_options --with-qtdir=/opt/qt
ac_add_options --with-system-bz2
ac_add_options --with-system-jpeg
ac_add_options --with-system-nspr
ac_add_options --with-system-nss
# ac_add_options --with-system-png
ac_add_options --with-system-zlib
ac_add_options --with-x

-- 
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