On Tue, 2 May 2017 18:02:55 +0100 Ken Moffat <[email protected]> wrote:
> On Tue, May 02, 2017 at 10:46:33AM +0200, Stephen Berman wrote: >> I have built LFS 8.0 and numerous packages from BLFS 8.0, mostly without >> unsurmountable problems. But I cannot build firefox-51.0.1: >> >> DEBUG: configure:12346: checking for gtk+-3.0 >= 3.4.0 gtk+-unix-print-3.0 >> glib-2.0 gobject-2.0 >> DEBUG: configure:12353: checking MOZ_GTK3_CFLAGS >> DEBUG: configure:12358: checking MOZ_GTK3_LIBS >> DEBUG: configure:12432: checking for gtk+-2.0 >= 2.18.0 gtk+-unix-print-2.0 >> glib-2.0 >= 2.22 gobject-2.0 gdk-x11-2.0 >> DEBUG: configure: error: Library requirements (gtk+-2.0 >= 2.18.0 >> gtk+-unix-print-2.0 glib-2.0 >= 2.22 gobject-2.0 gdk-x11-2.0) not met; >> consider adjusting the PKG_CONFIG_PATH environment variable if your >> libraries are in a nonstandard prefix so pkg-config can find them. >> ERROR: old-configure failed >> *** Fix above errors and then restart with\ >> "make -f client.mk build" >> make[2]: *** [/sources/firefox-51.0.1/client.mk:377: configure] Error 1 >> make[2]: Leaving directory '/sources/firefox-51.0.1' >> make[1]: *** [/sources/firefox-51.0.1/client.mk:390: >> /sources/firefox-51.0.1/firefox-build-dir/Makefile] Error 2 >> make[1]: Leaving directory '/sources/firefox-51.0.1' >> make: *** [client.mk:168: build] Error 2 >> >> I have installed all required and recommended dependencies. This error >> appears to say that GTK+2 is required, although the BLFS 8.0 book says >> "GTK+-3.22.8 (or GTK+-2.24.31 if you change the mozconfig where >> indicated)" and I have left that mozconfig line commented out. I have >> searched the LFS lists and the web but not found any mention of this >> problem, which is suprising, since I doubt I'm the only one who's tried >> to build Firefox without GTK+2. Have I misunderstood the BLFS >> instructions and GTK+2 is required to build Firefox or is there some >> other problem? > > I'm sure that at one time (when gtk3 was first usable) we noted that > both gtk2 AND gtk3 were needed. Not sure why that dropped out - > maybe it was me - but the error message above is conclusive. If it > was my fault that got removed: Sorry. No big deal, and thanks for confirming. > There are many things which still need gtk2. That's fine; I'm just trying to build only what I need. >> I note that after this failure, since I needed Firefox to pursue my >> normal workflow using LFS, I downloaded the firefox-52.0.2 binary >> package from the Mozilla website and have installed and been using it >> without serious problems, although my LFS does not have GTK+2 (however, >> the directory of the binary package includes a subdirectory gtk2 >> containing libmozgtk.so). >> > > I use the binary on my netbook, because recompiling there took a > whole day last time I tried it - everything is linked in. Yeah, the estimated build time of "14 SBU (with parallelism=4 on a recent intel i7, much longer on lesser CPUs)" is a bit intimidating; this is a rather old single-core machine, and the GCC test suite took 583 minutes... > But ff-51 has vulnerabilities. I normally point people to the > development book, but I should add that there may be breakage from > time to time. > > For the future, if you install gtk2 you should be able to build > 52.1.0esr - moving to ff53 and later requires rustc. For the time being I have to stay below 53 anyway, since it appears not to support my card reader, unlike 52.1 (on another machine). Thanks for the response. Steve Berman -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
