ring-daemon can not be compiled with apulse
Closed this issue · 2 comments
YogSottot commented
ring-daemon-20170209.1 or 99999999 can not be compiled with apulse
I'm don't use pulseaudio so install media-sound/apulse-0.1.7
checking for PULSEAUDIO... no
configure: error: Missing pulseaudio development files
/var/tmp/portage/net-voip/ring-daemon-20170209.1/temp/environment: line 2352: Configure failed: command not found
sed: can't read bin/Makefile: No such file or directory
>>> Source configured.
>>> Compiling source in /var/tmp/portage/net-voip/ring-daemon-20170209.1/work/ring-project/daemon ...
>>> Source compiled.
>>> Test phase [not enabled]: net-voip/ring-daemon-20170209.1
>>> Install ring-daemon-20170209.1 into /var/tmp/portage/net-voip/ring-daemon-20170209.1/image/ category net-voip
>>> Completed installing ring-daemon-20170209.1 into /var/tmp/portage/net-voip/ring-daemon-20170209.1/image/
* Final size of build directory: 553488 KiB
* Final size of installed tree: 44 KiB
* QA Notice: command not found:
*
* /var/tmp/portage/net-voip/ring-daemon-20170209.1/temp/environment: line 2352: Configure failed: command not found
* QA Notice: Unrecognized configure options:
*
* --disable-psk-authentication-FIXME
* --disable-psk-authentication-FIXME
* QA Notice: Package triggers severe warnings which indicate that it
* may exhibit random runtime failures.
* ../src/pjlib-util/md5.c:154:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
* ../src/pjlib-util/md5.c:155:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
* ../src/pjnath/stun_msg_dump.c:277:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
* ../src/pjnath/stun_msg_dump.c:278:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
* ../src/pjnath/stun_msg_dump.c:279:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
* Please do not file a Gentoo bug and instead report the above QA
* issues directly to the upstream developers of this software.
* Homepage: https://tuleap.ring.cx/projects/ring
ecompressdir: bzip2 -9 /usr/share/doc
>>> Installing (1 of 1) net-voip/ring-daemon-20170209.1::ring-overlay
* checking 4 files for package collisions
>>> Merging net-voip/ring-daemon-20170209.1 to /
--- /usr/
--- /usr/share/
--- /usr/share/doc/
--- /usr/share/doc/ring-daemon-20170209.1/
>>> /usr/share/doc/ring-daemon-20170209.1/NEWS.bz2
>>> /usr/share/doc/ring-daemon-20170209.1/ChangeLog
>>> /usr/share/doc/ring-daemon-20170209.1/AUTHORS.bz2
>>> /usr/share/doc/ring-daemon-20170209.1/README.bz2
>>> Safely unmerging already-installed instance...
No package files given... Grabbing a set.
--- replaced obj /usr/share/doc/ring-daemon-20170209.1/README.bz2
--- replaced obj /usr/share/doc/ring-daemon-20170209.1/NEWS.bz2
--- replaced obj /usr/share/doc/ring-daemon-20170209.1/ChangeLog
--- replaced obj /usr/share/doc/ring-daemon-20170209.1/AUTHORS.bz2
--- replaced dir /usr/share/doc/ring-daemon-20170209.1
--- replaced dir /usr/share/doc
--- replaced dir /usr/share
--- replaced dir /usr
>>> Regenerating /etc/ld.so.cache...
>>> Original instance of package unmerged safely.
>>> net-voip/ring-daemon-20170209.1 merged.
>>> Auto-cleaning packages...
equery f apulse
* Searching for apulse ...
* Contents of media-sound/apulse-0.1.7:
/usr
/usr/bin
/usr/bin/apulse
/usr/bin/x86_64-pc-linux-gnu-apulse
/usr/lib64
/usr/lib64/apulse
/usr/lib64/apulse/libpulse-simple.so -> libpulse-simple.so.0
/usr/lib64/apulse/libpulse-simple.so.0
/usr/lib64/apulse/libpulse.so -> libpulse.so.0
/usr/lib64/apulse/libpulse.so.0
/usr/lib64/apulse/libpulsecommon-5.0.so
/usr/share
/usr/share/doc
/usr/share/doc/apulse-0.1.7
/usr/share/doc/apulse-0.1.7/README.md.bz2
I'm add to configure --without-pulse and build it successful.
So there is should be added USE flag pulseaudio
In configure for ring-daemon
Optional Features:
--disable-video Disable video
--disable-accel Disable all hardware accelerations
--disable-vaapi Disable VAAPI hardware acceleration
--enable-ipv6 Enable IPv6 support
--enable-doxygen enable documentation generation with doxygen (disabled by default)
--enable-dot use 'dot' to generate graphs in doxygen (auto)
--enable-debug Build in debug mode, adds stricter warnings, disables optimization
Optional Packages:
--without-opensl Ignore presence of opensl and disable it
--without-alsa disable support for alsa
--without-pulse disable support for pulseaudio
--without-jack Ignore presence of jack and disable it
--without-portaudio disable support for portaudio
--without-dbus disable support for dbus
--with-restcpp enable rest support with C++
--without-sdes disable support for sdes key exchange
--without-gsm disable support for gsm codec
--without-speex disable support for speex codec
--without-speexdsp disable support for speexdp Noise Suppression and Automatic Gain Control
--with-libilbc support ilbc audio [default=check]
--with-opus support opus audio [default=check]
--without-upnp disable support for upnp
--without-natpmp disable support for NAT-PMP
This options can be added as USE flags as well.
I'm compile ring-daemon with --without-pulse --without-jack --without-opensl --without-portaudio --without-upnp --without-natpmp
It works.
stefan-langenmaier commented
Thanks for your detailed report. I'll try to integrate the changes for pulseaudio ASAP.
stefan-langenmaier commented
Let me know if you still have a problem with pulseaudio.