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

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