Quantcast

Build without WebRTC

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Build without WebRTC

paradogz
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.
_______________________________________________
dev-embedding mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-embedding
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Build without WebRTC

Ehsan Akhgari
On 2015-10-02 4:28 PM, [hidden email] 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.

_______________________________________________
dev-embedding mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-embedding
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Build without WebRTC

paradogz
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?

_______________________________________________
dev-embedding mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-embedding
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Build without WebRTC

Ehsan Akhgari
On 2015-10-05 12:48 PM, [hidden email] wrote:

> 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?

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.
_______________________________________________
dev-embedding mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-embedding
Loading...