On Thu, May 24, 2018 at 09:57:09AM -0700, Paul Rogers wrote:
> > Missing apng patch ?  I was going to suggest maybe 1.6.31 was too
> > old, but I now see that I was using 1.6.31 with 55.0.3.
> 
> Got that.  OK, I haven't examined the patch, and it does relate to PNG, but 
> causing autotools to not find the library seems a stretch.  I'm doing 55 
> because that's what the book says.  As for trying the very latest, do you 
> think it's likely to be successful in 8.1?  And not to suggest because 
> perfection is not achievable, i.e. firmware patches for my Core-2 Duo pair, I 
> shouldn't do what I can, because I did install gcc-7.3 and kernel 4.14.26, 
> building FF always does seem to have some issue.  Having enough problem with 
> 55!  8-[

I am unfortunately all too familiar with problems building firefox.
Now that it has moved to using stylo I try to keep an eye on beta
versions so that I'm aware of changed requirements.

However, I _have_ managed to upgrade to 60.0 (with stylo, pulse) on
two 8.1 systems - didn't upgrade to the point release, I don't need
the fixes in that (but I did install it on a fresh build).  I also
tested the alsa build on 8.2.

What failed for me was trying to build 60.0 on an 8.0 system.

I also recall trying 52.3.0 (last year's ESR) for some reason - not
sure why, but I suspect it was related to my failure to build a new
rust - probably because I had erroneously downloaded rust (source)
instead of rustc.  Anyway, what is probably the last 52 ESR version
(52.8.0esr) was released on 8th May so it WILL have the fixes.  The
next ESR releases will be based on 60.0.

As to not finding libpng, I wonder if you now need to EXPORT
PKG_CONFIG_PATH ?  I can't remember when the build system started to
change, but it now invokes Python configury which eventually reads
the old configure.in (?) files.  I suppose you might want to try to
look at FreeBSD to see if you can find a buildscript (they use
/usr/local, but perhaps they export PKG_CONFIG_PATH at a higher
level).

So, finally, my suggestions are:

1. Try the version in current BLFS-svn (60.0.1), with exported
PKG_CONFIG_PATH.

2. Try 60.0.1 but not using system png.

3. Try 52.8.0esr.  When I tried 52.3.0 I was using:

cat > mozconfig << EOF
# If you have a multicore machine, all cores will be used by default.
# If desired, you can reduce the number of cores used, e.g. to 1, by
# uncommenting the next line and setting a valid number of CPU cores.
#mk_add_options MOZ_MAKE_FLAGS="-j1"

# If you have installed DBus-Glib delete this option:
# ac_add_options --disable-dbus

# If you have installed dbus-glib, and you have installed (or will install)
# wireless-tools, and you wish to use geolocation web services, comment out
# this line
ac_add_options --disable-necko-wifi

# Comment out following two options if you have PulseAudio installed
#ac_add_options --enable-alsa
#ac_add_options --disable-pulseaudio

# If you have installed gconf, comment out this line
ac_add_options --disable-gconf

# Uncomment these if you have installed them:
# ac_add_options --enable-system-hunspell
ac_add_options --enable-startup-notification

# If you have not installed Yasm, uncomment this option:
# ac_add_options --disable-webm

# If you have applied the patch for system graphite and
# system harfbuzz, uncomment these lines to use them:
#ac_add_options --with-system-graphite2
#ac_add_options --with-system-harfbuzz

# Stripping is now enabled by default.
# Uncomment these lines if you need to run a debugger:
#ac_add_options --disable-strip
#ac_add_options --disable-install-strip

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
ac_add_options --with-system-icu

# It is recommended not to touch anything below this line
ac_add_options --prefix=/usr
ac_add_options --enable-application=browser

ac_add_options --disable-crashreporter
ac_add_options --disable-updater
ac_add_options --disable-tests

ac_add_options --enable-optimize="-O2"

ac_add_options --enable-official-branding
ac_add_options --enable-safe-browsing
ac_add_options --enable-url-classifier

# From firefox-40, using system cairo causes firefox to crash
# frequently when it is doing background rendering in a tab.
#ac_add_options --enable-system-cairo
ac_add_options --enable-system-ffi
ac_add_options --enable-system-pixman

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 --with-system-zlib

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

echo "make"
make -f client.mk >>$KM_LOG 2>&1

echo "install"
make -f client.mk install INSTALL_SDK= >>$KM_LOG 2>&1


That might look much like what you had before, but details (and
dependenies) change.  In more recent times we had re-enabled system
cairo, but recently that failed to build (some rust code disagreed
about the parameters for a function) and now it is marked as 'not
supported'.

Regards,

ĸen
-- 
      Remembering The People's Republic of Treacle Mine Road.
        Truth!  Justice!  Freedom!  Reasonably priced Love!
                 And a Hard-boiled Egg!
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to