Hi,
by default, Xenial ships with darkice-1.2, but when i run that, i get the
following weird error:
sudo /usr/bin/darkice[...]
DarkIce 1.2 live audio streamer, http://code.google.com/p/darkice/
Home directory not accessible: Permission denied
i can't understand why that happens, given that i'm running via sudo.
furthermore, if i do "sudo su" and run directly as root, this error doesn't
occur(?!?) -- but i really don't want to invoke darkice that way every time.
i next tried to build the latest darkice (1.3) from source, to see if that
would go better, but that brings different problems. despite trying many
different combinations of options regarding ALSA, Pulseaudio, and/or LAME
settings, ./configure throws a bunch of warnings (really errors) and the make
fails.
for what it's worth, the following files exist:
/usr/lib/x86_64-linux-gnu/libmp3lame.so.0
/usr/lib/x86_64-linux-gnu/libmp3lame.so.0.0.0
/usr/lib/x86_64-linux-gnu/libtwolame.so.0
/usr/lib/x86_64-linux-gnu/libtwolame.so.0.0.0
and "sudo apt-get install lame" returns:
lame is already the newest version (3.99.5+repack1-9build1).
but the command i'd used to build darkice in the past fails, as follows:
./configure --with-lame-prefix=/usr/lib/x86_64-linux-gnu/[...]
checking for lame library at /usr/lib/x86_64-linux-gnu/ ... configure:
WARNING: not found, building without lame
and then, as expected, running "sudo make install" followed by "sudo darkice"
produces:
DarkIce 1.3 live audio streamer, http://code.google.com/p/darkice/[...]
DarkIce: DarkIce.cpp:609: DarkIce not compiled with lame support, thus can't
create mp3 stream: icecast2-0 [0]
finally, i have pulseaudio (version 8.0) installed, and it seems to run OK...
"pulseaudio --check --verbose" returns:
I: [pulseaudio] main.c: Daemon running as PID 26081
but trying to build darkice with pulseaudio ("./configure --with-pulseaudio")
fails with:
[...]
checking for ALSA... yes
checking for PULSEAUDIO... no
configure: error: Package requirements (libpulse-simple libpulse) were not
met:
No package 'libpulse-simple' found
No package 'libpulse' found
my application is very low-bandwidth, so i don't really care if i'm running
1.2 or 1.3 -- i just want to get this working! thanks very much in advance
for any tips or suggestions.
regards,
-Z