I've successfully installed Broadcast Using This Tool (BUTT) and Icecast2 on Windows, and I can stream audio. However, I'm unable to install Broadcast Using This Tool (BUTT) on Linux. I've tried to install BUTT on Linux Mint version 17, Linux Fedora version 21, and Linux Ubuntu version 14. I used these commands to install these dependencies in Linux:
- sudo apt-get install gcc
- sudo apt-get install gcc-c++
- sudo apt-get install portaudio19-dev
- sudo apt-get install libportaudio-dev
- sudo apt-get install libvorbis-dev
- sudo apt-get install libfltk1.3-dev
- sudo apt-get install libmp3lame-dev
- sudo apt-get install libasound2 alsa-utils alsa-oss
- sudo apt-get install jackd2
If I install BUTT using sudo apt-get install butt, when I enter "butt" into Terminal, I get this output.
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround71
ALSA lib setup.c:548:(add_elem) Cannot obtain info for CTL elem (MIXER,'IEC958 Playback Default',0,0,0): No such file or directory
ALSA lib setup.c:548:(add_elem) Cannot obtain info for CTL elem (MIXER,'IEC958 Playback Default',0,0,0): No such file or directory
ALSA lib setup.c:548:(add_elem) Cannot obtain info for CTL elem (MIXER,'IEC958 Playback Default',0,0,0): No such file or directory
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
If I download any of the BUTT .deb files from sourceforge, and install BUTT from the .deb, I get the same output when entering "butt" into Terminal.
Lastly, I tried to install BUTT from the source .tar.gz. I'm able to run these commands in Terminal.
- cd /home
- cd jeremy
- cd Downloads
- tar -xzf butt-0.1.13.tar.gz
- cd butt-0.1.13
- ./configure
Next, when I enter make into Terminal, I get this output.
make all-recursive
make[1]: Entering directory `/home/jeremy/Downloads/butt-0.1.13'
Making all in src
make[2]: Entering directory `/home/jeremy/Downloads/butt-0.1.13/src'
depbase=`echo butt.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++ -DHAVE_CONFIG_H -I. -I.. -IFLTK -g -O2 -I/usr/include/cairo -I/usr/include
/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/freetype2 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT -MT butt.o -MD -MP -MF $depbase.Tpo -c -o butt.o butt.cpp &&\
mv -f $depbase.Tpo $depbase.Po
In file included from cfg.h:19:0,
from butt.cpp:37:
port_audio.h:61:24: error: ‘PaStreamCallbackTimeInfo’ does not name a type
const PaStreamCallbackTimeInfo* timeInfo,
^
port_audio.h:61:50: error: ISO C++ forbids declaration of ‘timeInfo’ with no type [-fpermissive]
const PaStreamCallbackTimeInfo* timeInfo,
^
port_audio.h:62:18: error: ‘PaStreamCallbackFlags’ has not been declared
PaStreamCallbackFlags statusFlags,
^
make[2]: *** [butt.o] Error 1
make[2]: Leaving directory `/home/jeremy/Downloads/butt-0.1.13/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jeremy/Downloads/butt-0.1.13'
make: *** [all] Error 2