gusrc / darkice-svn

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

Can't compile Darkice, Crunchbang Statler #43

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? 

A working darkice to stream my shows to shoutcast (Debian doesn't do it)

What do you see instead?
honeyradiance@honeyradiance:~/darkice-1.0$ ./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... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
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 for a BSD-compatible install... /usr/bin/install -c
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... 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 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
honeyradiance@honeyradiance:~/darkice-1.0$ make
Making all in src
make[1]: Entering directory `/home/honeyradiance/darkice-1.0/src'
make  all-am
make[2]: Entering directory `/home/honeyradiance/darkice-1.0/src'
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall   -g -O2 -MT AudioSource.o -MD 
-MP -MF .deps/AudioSource.Tpo -c -o AudioSource.o AudioSource.cpp
mv -f .deps/AudioSource.Tpo .deps/AudioSource.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall   -g -O2 -MT BufferedSink.o -MD 
-MP -MF .deps/BufferedSink.Tpo -c -o BufferedSink.o BufferedSink.cpp
mv -f .deps/BufferedSink.Tpo .deps/BufferedSink.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall   -g -O2 -MT CastSink.o -MD -MP 
-MF .deps/CastSink.Tpo -c -o CastSink.o CastSink.cpp
mv -f .deps/CastSink.Tpo .deps/CastSink.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall   -g -O2 -MT FileSink.o -MD -MP 
-MF .deps/FileSink.Tpo -c -o FileSink.o FileSink.cpp
mv -f .deps/FileSink.Tpo .deps/FileSink.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall   -g -O2 -MT Connector.o -MD -MP 
-MF .deps/Connector.Tpo -c -o Connector.o Connector.cpp
mv -f .deps/Connector.Tpo .deps/Connector.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall   -g -O2 -MT 
MultiThreadedConnector.o -MD -MP -MF .deps/MultiThreadedConnector.Tpo -c -o 
MultiThreadedConnector.o MultiThreadedConnector.cpp
mv -f .deps/MultiThreadedConnector.Tpo .deps/MultiThreadedConnector.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall   -g -O2 -MT DarkIce.o -MD -MP 
-MF .deps/DarkIce.Tpo -c -o DarkIce.o DarkIce.cpp
mv -f .deps/DarkIce.Tpo .deps/DarkIce.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall   -g -O2 -MT Exception.o -MD -MP 
-MF .deps/Exception.Tpo -c -o Exception.o Exception.cpp
mv -f .deps/Exception.Tpo .deps/Exception.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall   -g -O2 -MT IceCast.o -MD -MP 
-MF .deps/IceCast.Tpo -c -o IceCast.o IceCast.cpp
mv -f .deps/IceCast.Tpo .deps/IceCast.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall   -g -O2 -MT IceCast2.o -MD -MP 
-MF .deps/IceCast2.Tpo -c -o IceCast2.o IceCast2.cpp
IceCast2.cpp: In member function ‘virtual bool IceCast2::sendLogin()’:
IceCast2.cpp:180: warning: deprecated conversion from string constant to 
‘char*’
mv -f .deps/IceCast2.Tpo .deps/IceCast2.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall   -g -O2 -MT ShoutCast.o -MD -MP 
-MF .deps/ShoutCast.Tpo -c -o ShoutCast.o ShoutCast.cpp
mv -f .deps/ShoutCast.Tpo .deps/ShoutCast.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall   -g -O2 -MT FileCast.o -MD -MP 
-MF .deps/FileCast.Tpo -c -o FileCast.o FileCast.cpp
mv -f .deps/FileCast.Tpo .deps/FileCast.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall   -g -O2 -MT LameLibEncoder.o 
-MD -MP -MF .deps/LameLibEncoder.Tpo -c -o LameLibEncoder.o LameLibEncoder.cpp
mv -f .deps/LameLibEncoder.Tpo .deps/LameLibEncoder.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall   -g -O2 -MT TwoLameLibEncoder.o 
-MD -MP -MF .deps/TwoLameLibEncoder.Tpo -c -o TwoLameLibEncoder.o 
TwoLameLibEncoder.cpp
mv -f .deps/TwoLameLibEncoder.Tpo .deps/TwoLameLibEncoder.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall   -g -O2 -MT VorbisLibEncoder.o 
-MD -MP -MF .deps/VorbisLibEncoder.Tpo -c -o VorbisLibEncoder.o 
VorbisLibEncoder.cpp
mv -f .deps/VorbisLibEncoder.Tpo .deps/VorbisLibEncoder.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall   -g -O2 -MT FaacEncoder.o -MD 
-MP -MF .deps/FaacEncoder.Tpo -c -o FaacEncoder.o FaacEncoder.cpp
mv -f .deps/FaacEncoder.Tpo .deps/FaacEncoder.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall   -g -O2 -MT aacPlusEncoder.o 
-MD -MP -MF .deps/aacPlusEncoder.Tpo -c -o aacPlusEncoder.o aacPlusEncoder.cpp
mv -f .deps/aacPlusEncoder.Tpo .deps/aacPlusEncoder.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall   -g -O2 -MT OssDspSource.o -MD 
-MP -MF .deps/OssDspSource.Tpo -c -o OssDspSource.o OssDspSource.cpp
mv -f .deps/OssDspSource.Tpo .deps/OssDspSource.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall   -g -O2 -MT SerialUlaw.o -MD 
-MP -MF .deps/SerialUlaw.Tpo -c -o SerialUlaw.o SerialUlaw.cpp
mv -f .deps/SerialUlaw.Tpo .deps/SerialUlaw.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall   -g -O2 -MT SolarisDspSource.o 
-MD -MP -MF .deps/SolarisDspSource.Tpo -c -o SolarisDspSource.o 
SolarisDspSource.cpp
mv -f .deps/SolarisDspSource.Tpo .deps/SolarisDspSource.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall   -g -O2 -MT TcpSocket.o -MD -MP 
-MF .deps/TcpSocket.Tpo -c -o TcpSocket.o TcpSocket.cpp
mv -f .deps/TcpSocket.Tpo .deps/TcpSocket.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall   -g -O2 -MT Util.o -MD -MP -MF 
.deps/Util.Tpo -c -o Util.o Util.cpp
mv -f .deps/Util.Tpo .deps/Util.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall   -g -O2 -MT ConfigSection.o -MD 
-MP -MF .deps/ConfigSection.Tpo -c -o ConfigSection.o ConfigSection.cpp
mv -f .deps/ConfigSection.Tpo .deps/ConfigSection.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall   -g -O2 -MT DarkIceConfig.o -MD 
-MP -MF .deps/DarkIceConfig.Tpo -c -o DarkIceConfig.o DarkIceConfig.cpp
mv -f .deps/DarkIceConfig.Tpo .deps/DarkIceConfig.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall   -g -O2 -MT Reporter.o -MD -MP 
-MF .deps/Reporter.Tpo -c -o Reporter.o Reporter.cpp
mv -f .deps/Reporter.Tpo .deps/Reporter.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall   -g -O2 -MT AlsaDspSource.o -MD 
-MP -MF .deps/AlsaDspSource.Tpo -c -o AlsaDspSource.o AlsaDspSource.cpp
mv -f .deps/AlsaDspSource.Tpo .deps/AlsaDspSource.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall   -g -O2 -MT JackDspSource.o -MD 
-MP -MF .deps/JackDspSource.Tpo -c -o JackDspSource.o JackDspSource.cpp
mv -f .deps/JackDspSource.Tpo .deps/JackDspSource.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall   -g -O2 -MT main.o -MD -MP -MF 
.deps/main.Tpo -c -o main.o main.cpp
mv -f .deps/main.Tpo .deps/main.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall   -g -O2 -MT aflibDebug.o -MD 
-MP -MF .deps/aflibDebug.Tpo -c -o aflibDebug.o aflibDebug.cc
mv -f .deps/aflibDebug.Tpo .deps/aflibDebug.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall   -g -O2 -MT aflibConverter.o 
-MD -MP -MF .deps/aflibConverter.Tpo -c -o aflibConverter.o aflibConverter.cc
aflibConverter.cc: In member function ‘int aflibConverter::resampleFast(int&, 
int, short int*, short int*)’:
aflibConverter.cc:525: warning: deprecated conversion from string constant to 
‘char*’
aflibConverter.cc: In member function ‘int 
aflibConverter::resampleWithFilter(int&, int, short int*, short int*, short 
int*, short int*, short unsigned int, short unsigned int, short unsigned 
int)’:
aflibConverter.cc:571: warning: deprecated conversion from string constant to 
‘char*’
aflibConverter.cc:639: warning: deprecated conversion from string constant to 
‘char*’
mv -f .deps/aflibConverter.Tpo .deps/aflibConverter.Po
g++ -O2 -pedantic -Wall   -g -O2   -o darkice AudioSource.o BufferedSink.o 
CastSink.o FileSink.o Connector.o MultiThreadedConnector.o DarkIce.o 
Exception.o IceCast.o IceCast2.o ShoutCast.o FileCast.o LameLibEncoder.o 
TwoLameLibEncoder.o VorbisLibEncoder.o FaacEncoder.o aacPlusEncoder.o 
OssDspSource.o SerialUlaw.o SolarisDspSource.o TcpSocket.o Util.o 
ConfigSection.o DarkIceConfig.o Reporter.o AlsaDspSource.o JackDspSource.o 
main.o aflibDebug.o aflibConverter.o -L/usr/lib -lmp3lame  -lrt -lnsl 
make[2]: Leaving directory `/home/honeyradiance/darkice-1.0/src'
make[1]: Leaving directory `/home/honeyradiance/darkice-1.0/src'
Making all in man
make[1]: Entering directory `/home/honeyradiance/darkice-1.0/man'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/honeyradiance/darkice-1.0/man'
make[1]: Entering directory `/home/honeyradiance/darkice-1.0'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/home/honeyradiance/darkice-1.0'
honeyradiance@honeyradiance:~/darkice-1.0$ make install
Making install in src
make[1]: Entering directory `/home/honeyradiance/darkice-1.0/src'
make[2]: Entering directory `/home/honeyradiance/darkice-1.0/src'
test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
  /usr/bin/install -c 'darkice' '/usr/local/bin/darkice'
/usr/bin/install: cannot create regular file `/usr/local/bin/darkice': 
Permission denied
make[2]: *** [install-binPROGRAMS] Error 1
make[2]: Leaving directory `/home/honeyradiance/darkice-1.0/src'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/honeyr

What version of the product are you using? On what operating system?

Darkice 1.0
Crunchbang Statler, which is based off of Debian Squeeze

I got libmp3lame0 and faac and jack and all that stuff, vorbis, etc.  I got all 
the tools.

I even added the patch and got gcc4.4 and all that

I even edited JackDSPsource.cpp and SerialUlaw with #include <cstdio> at the 
beginning and everything.  Still won't compile.

Please provide any additional information below.

Original issue reported on code.google.com by Honeyrad...@gmail.com on 14 Jan 2011 at 9:58

GoogleCodeExporter commented 9 years ago
It compiles fine.
If you want to install it in /usr/local/bin you must be root.
Try : sudo make install
type password
done!

Original comment by oetelaar.automatisering on 16 Feb 2011 at 10:51