[darkice] Getting ALSA to compile with Darkice - What am I missing?

  • From: <addr@xxxxxxxxxxxxx>
  • To: darkice@xxxxxxxxxxxxx
  • Date: Mon, 2 Jul 2012 9:16:02 -0400

Here are the steps I take to install Darkice.  Darkice compiles with OSS but 
not ALSA for me.

Start with a fresh install of 10.04
then:
sudo apt-get update
sudo apt-get install build-essential
Download darkice-1,1.tar.gz and lame-3.99.tar.gz
untar both files --> tar -xzvf lame-3.99.tar.gz and tar -xzvf darkice-1.1.tar.gz
Go into both subdirectories, lame first, and:
./configure
make
sudo make install

before ,/configure with Darkice, move the lame libraries from /usr/local/lib to 
/usr/lib

During the ./configure step for Darkice, at the end is the message that ALSA 
was not in /usr

Here is the result of the ./configure on Darkice:

root@LiveNatureSongs003:/home/teratech/Downloads/darkice-1.1# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/types.h... (cached) yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for sys/stat.h... (cached) yes
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking sys/soundcard.h usability... yes
checking sys/soundcard.h presence... yes
checking for sys/soundcard.h... yes
checking sys/audio.h usability... no
checking sys/audio.h presence... no
checking for sys/audio.h... no
checking sys/audioio.h usability... no
checking sys/audioio.h presence... no
checking for sys/audioio.h... no
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking for pid_t... yes
checking for size_t... yes
checking whether byte ordering is bigendian... no
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... yes
checking for sched_getscheduler in -lrt... yes
checking for getaddrinfo... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for pthread-config... no
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for cc_r... gcc
checking for lame library at /usr ... found at /usr 
checking for vorbis libraries at /usr ... configure: WARNING: not found, 
building without Ogg Vorbis
checking for faac library at /usr ... configure: WARNING: not found, building 
without faac
checking for aacplus library at /usr ... configure: WARNING: not found, 
building without aacplus
checking for twolame library at /usr ... configure: WARNING: not found, 
building without twolame
checking for alsa libraries at /usr ... configure: WARNING: not found, building 
without ALSA support
checking for pulseaudio libraries at /usr ... configure: WARNING: not found, 
building without PULSEAUDIO support
checking for jack libraries at /usr ... configure: WARNING: not found, building 
without JACK support
checking for samplerate libraries at /usr ... configure: WARNING: not found, 
building libsamplerate support
checking for MSG_NOSIGNAL... yes
checking for sched_getscheduler... yes
checking for sched_getparam... yes
not compiling in debug mode
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating man/Makefile
config.status: creating src/config.h
config.status: src/config.h is unchanged
config.status: executing depfiles commands
root@LiveNatureSongs003:/home/teratech/Downloads/darkice-1.1#

I have tried moving the ALSA libraries to /usr and specifying to compile 
Darkice with ALSA and neither one of these actions enables ALSA to compile with 
Darkice for me.  Is there something more I need to do with ALSA before I try 
the Darkice with ALSA compile?  Can someone please let me know what I am 
missing?

Thanks,

Joel Goodwin



Other related posts: