On Sat, 2014-11-01 at 14:53 -0400, Richard wrote:
> I am using the instructions in the blfs-7.6
> stable book to build firefox. When I issue
> the instruction:
>
> make -f client.mk
>
> I get the following error:
>
> --------------------------------------------------------------
> checking Python environment is Mozilla virtualenv... Traceback (most
> recent call last):
> File "<string>", line 1, in <module>
> File
> "/sources/firefox/mozilla-release/python/mozbuild/mozbuild/base.py",
> line 17, in <module>
> from mach.mixin.process import ProcessExecutionMixin
> File
> "/sources/firefox/mozilla-release/python/mach/mach/mixin/process.py",
> line 29, in <module>
> raise Exception('Could not detect environment shell!')
> Exception: Could not detect environment shell!
> configure: error: Python environment does not appear to be sane.
> ------ config.log ------
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
>
> configure:1215: checking host system type
> configure:1236: checking target system type
> configure:1254: checking build system type
> configure:1329: checking for gawk
> configure:1414: checking for python2.7
> configure:1524: checking Python environment is Mozilla virtualenv
> configure: error: Python environment does not appear to be sane.
> *** Fix above errors and then restart with\
> "make -f client.mk build"
> /sources/firefox/mozilla-release/client.mk:363: recipe for target
> 'configure' failed
> make[2]: *** [configure] Error 1
> make[2]: Leaving directory '/sources/firefox/mozilla-release'
> /sources/firefox/mozilla-release/client.mk:377: recipe for target
> '/sources/firefox/mozilla-release/firefox-build-dir/Makefile' failed
> make[1]: ***
> [/sources/firefox/mozilla-release/firefox-build-dir/Makefile] Error 2
> make[1]: Leaving directory '/sources/firefox/mozilla-release'
> client.mk:187: recipe for target 'build' failed
> make: *** [build] Error 2
> -----------------------------------------------------
>
> I also tried using the instruction:
>
> SHELL=/bin/sh make -f client.mk
>
> which got me further, but I still ended up with the
> following error:
>
> -------------------------------------------------
> configure:21041: checking for alsa
> configure:21048: checking MOZ_ALSA_CFLAGS
> configure:21053: checking MOZ_ALSA_LIBS
> configure:21299: checking for gstreamer-0.10 >= 0.10.25
> gstreamer-app-0.10
> gstreamer-plugins-base-0.10
> configure: error: gstreamer and gstreamer-plugins-base development
> packages are needed to build gstreamer backend. Install them or disable
> gstreamer support with --disable-gstreamer
> *** Fix above errors and then restart with\
> "make -f client.mk build"
> /sources/firefox/mozilla-release/client.mk:363: recipe for target
> 'configure' failed
> make[2]: *** [configure] Error 1
> make[2]: Leaving directory '/sources/firefox/mozilla-release'
> /sources/firefox/mozilla-release/client.mk:377: recipe for target
> '/sources/firefox/mozilla-release/firefox-build-dir/Makefile' failed
> make[1]: ***
> [/sources/firefox/mozilla-release/firefox-build-dir/Makefile] Error 2
> make[1]: Leaving directory '/sources/firefox/mozilla-release'
> client.mk:187: recipe for target 'build' failed
> make: *** [build] Error 2
> --------------------------------------------------
>
> Do I need to use the SHELL=/bin/sh form of the
> command, and do I also need to install gstreamer?
> I don't recall seeing gstreamer in the list of
> dependencies. Or do I need to disable gstreamer?
>
> Or is there something else I need to do?
>
> Richard
It sounds like you are doing this in chroot and if so you must use the
provided command. It really is quite clear in the instructions what is
needed.
Christopher.
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page