On Thu, May 24, 2018 at 07:33:40PM -0700, Paul Rogers wrote:
> > 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.
>
> Is that a prereq for current/future versions of FF? I'd rather not
> adopt things I don't need.
>
For the future, who knows ? At the moment I test the release once,
either on our current release or on recent svn, to see if it builds
without stylo. So for 60.0 I know it will build. And the changes
in 60.0.1 are not related to that (I made a diff). In theory, I
expect 60-esr to build without stylo - but I have no interest in
testing ESR builds.
> >
> > 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.
>
> If I were to upgrade to 60, it'd be an ALSA build.
>
Yes. In theory pulse might work more reliably in 60+. But for
both, see the comments in the book - Tim helped debug why alsa was
not working a couple of releases ago, I doubt anything has altered
in that part.
> > 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 showed that in the attachment. Basically, I do:
> [~]# cat /etc/profile.d
> # PGR was here
> [ -d /usr/lib/pkgconfig ] && \
> PKG_CONFIG_PATH=/usr/lib/pkgconfig
> [ -d /usr/local/lib/pkgconfig ] && \
> PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:/usr/local/lib/pkgconfig
> [ -d /usr/share/pkgconfig ] && \
> PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:/usr/share/pkgconfig
> [ -d /usr/local/share/pkgconfig ] && \
> PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:/usr/local/share/pkgconfig
>
> export PKG_CONFIG_PATH
>
> I export all of them.
>
Okay, I didn't notice the eport.
> >
> > 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.
>
> This seems like a good approach. I'll try this.
>
> >
> > 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.
> ___8<...
> > ac_add_options --with-system-zlib
> >
> > mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/firefox-build-dir
> > EOF
>
> This is a diff of your mozconfig and mine. I had to sort them first.
> Mine was based on what build this FF48.
>
I'm not very used to reading traditional diffs, I've assume your is
'>' and mine '<'.
Some things dropped out because no-longer recognized. Others may
have moved to be in better places.
> > ac_add_options --enable-ffmpeg
On 60.0, html5 soesn't need ffmpeg (e.g. youtube), but anywhere
offering mp4 etc videos still needs it (otherwise you just get the
option to download them). But I don't think the option is needed
any more ? And 60 _will_ barf on things it doesn't recognize.
Oh, and it also needs recent-enough rustc : it will tell you if
yours is too old.
> > ac_add_options --enable-install-strip
Now default, I think.
> 54c14,15
> < ac_add_options --enable-optimize="-O2"
> ---
> > ac_add_options --enable-optimize
At the time I used it, that was necessary (gcc-6 or gcc-7 issue,
something to do with problems at runtime, no menus or something like
that : -O2 does more optimization and is better tested in general
use). For recent gcc 7/8 go with what is in the svn book, but for
8.1 probably best to use whatever value we had in the 8.1 book.
> > ac_add_options --enable-pie
Sweet or savoury ;-) ? Maybe that was an old 32-bit option ?
> 56a18
> > ac_add_options --enable-strip
> 61c23
> > ac_add_options --with-distribution-id=POD
> 63a26
> > ac_add_options --with-system-harfbuzz
For harfbuzz you need the patch and the current version. I have NOT
tested using system harfbuzz without system graphite2.
>
> Ummm, you're not saying the exact order of the ac_add_options makes a
> difference, are you? I've never run into that before! I have an order
> used many times in the past that makes it easier for me to adjust
> between versions.
Not at all. In the book's mozconfig we just put changes where the
editor making the change thinks it belongs.
ĸ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