Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Build without WebRTC

54 views
Skip to first unread message

para...@webname.com

unread,
Oct 2, 2015, 4:28:36 PM10/2/15
to dev-em...@lists.mozilla.org
Hi,

Is it possible to build gecko and mozembedlite libraries with WebRTC and
PulseAudio disabled? I'm following the instructions from
https://wiki.mozilla.org/Embedding/IPCLiteAPI and I've added this to my
mozconfig:
ac_add_options --enable-pulseaudio=no
ac_add_options --enable-webrtc=no

But still receive the following error during build (build.sh -t desktop):

4:28.63 from
/home/user/gecko-full/xulrunner-package/mozilla-central/media/webrtc/trunk/webrtc/modules/audio_device/linux/audio_device_pulse_linux.cc:15:
4:28.63 ../../../../../../dist/system_wrappers/pulse/pulseaudio.h:3:35:
fatal error: pulse/pulseaudio.h: No such file or directory
4:28.63 compilation terminated.

Ehsan Akhgari

unread,
Oct 2, 2015, 5:12:25 PM10/2/15
to para...@webname.com, dev-em...@lists.mozilla.org
On 2015-10-02 4:28 PM, para...@webname.com wrote:
> Hi,
>
> Is it possible to build gecko and mozembedlite libraries with WebRTC and
> PulseAudio disabled? I'm following the instructions from
> https://wiki.mozilla.org/Embedding/IPCLiteAPI and I've added this to my
> mozconfig:
> ac_add_options --enable-pulseaudio=no
> ac_add_options --enable-webrtc=no

Try --disable-webrtc and --disable-pulseaudio. I think that should fix it.

para...@webname.com

unread,
Oct 5, 2015, 12:48:09 PM10/5/15
to Ehsan Akhgari, dev-em...@lists.mozilla.org
02.10.2015 23:12, Ehsan Akhgari wrote:
> Try --disable-webrtc and --disable-pulseaudio. I think that should fix it.
>

Thanks, but then I'm getting an error already at configure stage:

0:19.86 configure:21479: checking for libpulse
0:19.86 configure: error: pulseaudio audio backend requires libpulse
development package
0:19.86 *** Fix above errors and then restart with\
0:19.86 "/usr/bin/gmake -f client.mk build"

This looks quite odd, --disable-pulseaudio should work (it's used for
example here:
http://www.linuxfromscratch.org/blfs/view/7.8/xsoft/firefox.html). Can
you actually build mozilla-central git without pulseaudio?

Ehsan Akhgari

unread,
Oct 5, 2015, 1:38:27 PM10/5/15
to para...@webname.com, dev-em...@lists.mozilla.org
I believe most of these options are not guaranteed to work out of the
box, but the above error suggests that configure is still not seeing
--disable-pulseaudio. Try deleting your object directory and building
again, hopefully that would bypass this error.
0 new messages