luis4god / darkice

Automatically exported from code.google.com/p/darkice
0 stars 0 forks source link

Unable to compile darkice with ubuntu 12.04 LTS #96

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. when I try to use ./configure with the extracted package it gives below 
output
2.
3.

What is the expected output? What do you see instead?
root@maxxi:/home/darkice/darkice-1.2# ./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... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for pthread-config... no
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... 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 ... configure: WARNING: not found, building 
without lame
checking for vorbis libraries at /usr ... configure: WARNING: not found, 
building without Ogg Vorbis
checking for opus libraries at /usr ... configure: WARNING: not found, building 
without Ogg Opus
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
configure: error: neither lame, Ogg Vorbis, faac, aac+ nor twolame configured

What version of the product are you using? On what operating system?
darkice-1.2 with Ubuntu 12.04 LTS

Please provide any additional information below.

Original issue reported on code.google.com by asker.st...@gmail.com on 10 Sep 2013 at 8:16

GoogleCodeExporter commented 9 years ago
Same here on dabian 7.1 armhf 

Original comment by goldenHa...@gmail.com on 15 Sep 2013 at 8:44

GoogleCodeExporter commented 9 years ago
You will need to manually compile lame as the ubuntu lame package does not 
reside in the correct place.  

The INSTALL.lame file has instructions

wget the latest lame source
tar xfz lame-3.91.tar.gz
cd lame-3.91
./configure --with-fileio=lame --without-vorbis --disable-gtktest 
--enable-expopt=full --prefix=/usr
make
make install

The key bit being --prefix=/usr in the configure.  

Original comment by em...@mattgreen.co.uk on 25 Jan 2014 at 1:15

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Needed to install opus codec as well:
http://downloads.xiph.org/releases/opus/opus-1.1.tar.gz

and used following line found at 
http://www.t3node.com/blog/live-streaming-mp3-audio-with-darkice-and-icecast2-on
-raspberry-pi/

sudo apt-get --no-install-recommends install build-essential devscripts 
autotools-dev fakeroot dpkg-dev debhelper autotools-dev dh-make quilt ccache 
libsamplerate0-dev libpulse-dev libaudio-dev lame libjack-jackd2-dev 
libasound2-dev libtwolame-dev libfaad-dev libflac-dev libmp4v2-dev 
libshout3-dev libmp3lame-dev

Original comment by oelja...@gmail.com on 23 May 2014 at 10:26

GoogleCodeExporter commented 9 years ago
compiled with 
./configure  --with-vorbis-prefix=/usr/lib/i386-linux-gnu 
--with-jack-prefix=/usr-alsa-prefix=/usr/lib/i386-linux-gnu/ 
--with-faac-prefix=/usr/lib/i386-linux-gnu 
--with-aacplus-prefix=/usr/i386-linux-gnu --with-samplerate-prefix=/usr 
--with-lame-prefix=/usr/lib/i386-linux-gnu 
--with-opus-prefix=/usr/lib/i386-linux-gnu

on ubuntustudio 14.04 with lowlatency kernel

Original comment by oelja...@gmail.com on 24 May 2014 at 8:52