I have serious problems to compile IceS on a debian (woody), kernel 2.4.18. I have to say the configure script does not find anything... - I installed libshout and libshout-dev downloaded drom the icecast site. I have shout.h : 0:33 root@radiopi2 /usr/include/shout# ls shout.h Yet configure gives me this : ~/sources/ices-0.2.2% ./configure --with-libshout=/usr/include checking for shout/shout.h... (cached) no configure: error: Could not find an installed shout library - Lame is not found neither. I have (lame and lame-dev 3.91 from deb packages): lame in /usr/bin lame.h in /usr/include/lame lib files in /usr/lib : /usr/lib# ls -l libmp3lame* -rw-r--r-- 1 root root 364104 fév 1 17:49 libmp3lame.a -rw-r--r-- 1 root root 668 fév 1 17:49 libmp3lame.la lrwxrwxrwx 1 root root 19 mai 1 00:43 libmp3lame.so -> libmp3lame.so.0.0.0 lrwxrwxrwx 1 root root 19 mai 1 00:43 libmp3lame.so.0 -> libmp3lame.so.0.0.0 -rw-r--r-- 1 root root 319696 fév 1 17:49 libmp3lame.so.0.0.0 And with that : ./configure --with-lame=/usr/bin --with-lame-includes=/usr/include/lame --with-lame-libraries=/usr/lib [...] checking for lame/lame.h... (cached) no checking for lame.h... (cached) no configure: error: Could not find a valid LAME library installation This seems to mean that lame files are found but not valid, or unusable... I think the problem is global and is not only about lame. I put the whole configuration output attached ; this is rather urgent, any help is really welcome... Thanks in advance. Ced <p><p><p><p> -------------- next part -------------- loading cache ./config.cache Building ices 0.2.2... checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... (cached) yes checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for working makeinfo... found checking whether to enable maintainer-specific portions of Makefiles... no checking host system type... i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu checking for ranlib... (cached) ranlib checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for ld used by GCC... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD-compatible nm... (cached) /usr/bin/nm -B checking whether ln -s works... (cached) yes loading cache ./config.cache within ltconfig checking for object suffix... o checking for executable suffix... (cached) no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... yes checking if gcc supports -fno-rtti -fno-exceptions ... yes checking if gcc static flag -static works... -static checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the linker (/usr/bin/ld) supports shared libraries... yes checking command to parse /usr/bin/nm -B output... ok checking how to hardcode library paths into programs... immediate checking for /usr/bin/ld option to reload object files... -r checking dynamic linker characteristics... Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for objdir... .libs creating libtool loading cache ./config.cache checking for ranlib... (cached) ranlib checking for gcc... (cached) gcc checking whether the C compiler (gcc -g -O2 ) works... yes checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for uname... (cached) uname checking for gmake... no checking for a BSD compatible install... /usr/bin/install -c checking whether make sets ${MAKE}... (cached) yes checking host system type... i686-pc-linux-gnu checking how to run the C preprocessor... (cached) gcc -E checking for AIX... no checking for strerror in -lcposix... (cached) no checking for minix/config.h... (cached) no checking for working const... (cached) yes checking for library containing gethostbyname... (cached) none required checking for library containing nanosleep... (cached) none required checking for pthread_create... (cached) no checking for pthread_create in -lpthread... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... (cached) yes checking for errno.h... (cached) yes checking for fcntl.h... (cached) yes checking for signal.h... (cached) yes checking for sys/signal.h... (cached) yes checking for sys/socket.h... (cached) yes checking for sys/stat.h... (cached) yes checking for sys/time.h... (cached) yes checking for sys/types.h... (cached) yes checking for unistd.h... (cached) yes checking whether time.h and sys/time.h may both be included... (cached) yes checking for ANSI C header files... (cached) yes checking for pid_t... (cached) yes checking for size_t... (cached) yes checking return type of signal handlers... (cached) void checking for strftime... (cached) yes checking for vsnprintf... (cached) yes checking for setsid... (cached) yes checking for inet_addr... (cached) yes checking for inet_aton... (cached) yes checking for setlinebuf... (cached) yes checking for shout/shout.h... (cached) no Installed libshout not found, using builtin checking for lame/lame.h... (cached) no checking for lame.h... (cached) no Could not find a valid LAME library, reencoding disabled Vorbis is disabled because LAME is not enabled checking for perl_construct... (cached) no Could not find perl libraries, perl scripting disabled checking for Python.h... (cached) no Could not find the python library, python scripting disabled checking for xml2-config... no checking for xml-config... no Compiling without libxml support - no configfiles creating ./config.status creating Makefile creating src/Makefile creating src/playlist/Makefile creating conf/Makefile creating conf/ices.conf.dist creating doc/Makefile creating doc/ices.1 creating resolver/Makefile creating thread/Makefile creating avl/Makefile creating log/Makefile creating config.h config.h is unchanged configuring in libshout running /bin/sh ./configure --cache-file=.././config.cache --srcdir=. loading cache .././config.cache checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... (cached) yes checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for working makeinfo... found checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking host system type... i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu checking for ranlib... (cached) ranlib checking for ld used by GCC... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD-compatible nm... (cached) /usr/bin/nm -B checking whether ln -s works... (cached) yes loading cache .././config.cache within ltconfig checking for object suffix... o checking for executable suffix... (cached) no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... yes checking if gcc supports -fno-rtti -fno-exceptions ... yes checking if gcc static flag -static works... -static checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the linker (/usr/bin/ld) supports shared libraries... yes checking command to parse /usr/bin/nm -B output... ok checking how to hardcode library paths into programs... immediate checking for /usr/bin/ld option to reload object files... -r checking dynamic linker characteristics... Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for objdir... .libs creating libtool loading cache .././config.cache checking how to run the C preprocessor... (cached) gcc -E checking for ANSI C header files... (cached) yes checking for fcntl.h... (cached) yes checking for sys/file.h... (cached) yes checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking for working const... (cached) yes checking for size_t... (cached) yes checking whether time.h and sys/time.h may both be included... (cached) yes checking for unix98 socklen_t... yes checking size of long long... (cached) 8 checking for vprintf... (cached) yes checking for gettimeofday... (cached) yes checking for select... (cached) yes checking for socket... (cached) yes checking for strdup... (cached) yes checking for nanosleep... (cached) yes creating ./config.status creating Makefile creating doc/Makefile creating config.h config.h is unchanged Compiling with CPPFLAGS= Linking with LDFLAGS= -lpthread Features: libshout: builtin LAME : no Vorbis : no Perl : no Python : no XML : no Configuration complete. Now run 'make'. You can then run 'make install' to install ices
On Wednesday, 01 May 2002 at 00:55, Cédric Mallet wrote:> I have serious problems to compile IceS on a debian (woody), kernel 2.4.18. > I have to say the configure script does not find anything... > > - I installed libshout and libshout-dev downloaded drom the icecast site. I > have shout.h : > 0:33 root@radiopi2 /usr/include/shout# ls > shout.h > > Yet configure gives me this : > ~/sources/ices-0.2.2% ./configure --with-libshout=/usr/include > checking for shout/shout.h... (cached) no > configure: error: Could not find an installed shout libraryFirst, make sure you remove config.cache Second, don't bother with the --with-libshout option at all - ices should find it automatically. Third, you want --with-libshout=/usr --with-x options that take an argument usually expect the same thing you would use as --prefix when building it. This is standard autoconf convention. So when you say --with-libshout=/usr/include, the configure script searches /usr/include/include/shout/shout.h and /usr/include/lib/libshout.so Fourth, you don't need libshout at all, ices comes with it.> - Lame is not found neither. I have (lame and lame-dev 3.91 from deb > packages): > lame in /usr/bin > lame.h in /usr/include/lame > lib files in /usr/lib : > /usr/lib# ls -l libmp3lame* > -rw-r--r-- 1 root root 364104 fév 1 17:49 libmp3lame.a > -rw-r--r-- 1 root root 668 fév 1 17:49 libmp3lame.la > lrwxrwxrwx 1 root root 19 mai 1 00:43 libmp3lame.so -> > libmp3lame.so.0.0.0 > lrwxrwxrwx 1 root root 19 mai 1 00:43 libmp3lame.so.0 -> > libmp3lame.so.0.0.0 > -rw-r--r-- 1 root root 319696 fév 1 17:49 libmp3lame.so.0.0.0 > > And with that : > ./configure --with-lame=/usr/bin --with-lame-includes=/usr/include/lame > --with-lame-libraries=/usr/libSame thing. First, don't specify any argument. Second, try only --with-lame Third, if you really want to be precise, use --with-lame=/usr Those other options (-includes, -libraries) are usually not needed except in unusual installations.> I think the problem is global and is not only about lame. > I put the whole configuration output attached ; this is rather urgent, any > help is really welcome...I think you just need a little more experience building from source. Unfortunately there is no deb package for ices. I've been hoping to make the linked in libraries loadable at runtime (dlopen'd) if I get the time - this might make ices suitable for packaging with debian... -b --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
On Wednesday 01 May 2002 01:11, you wrote: You were right, removing config.cache worked. Thank you very much for your explanations. Ced> On Wednesday, 01 May 2002 at 00:55, Cédric Mallet wrote: > > I have serious problems to compile IceS on a debian (woody), kernel > > 2.4.18. I have to say the configure script does not find anything... > > > > - I installed libshout and libshout-dev downloaded drom the icecast site. > > I have shout.h : > > 0:33 root@radiopi2 /usr/include/shout# ls > > shout.h > > > > Yet configure gives me this : > > ~/sources/ices-0.2.2% ./configure --with-libshout=/usr/include > > checking for shout/shout.h... (cached) no > > configure: error: Could not find an installed shout library > > First, make sure you remove config.cache > Second, don't bother with the --with-libshout option at all - ices > should find it automatically. > Third, you want --with-libshout=/usr > > --with-x options that take an argument usually expect the same thing you > would use as --prefix when building it. This is standard autoconf > convention. > > So when you say --with-libshout=/usr/include, the configure script > searches /usr/include/include/shout/shout.h and > /usr/include/lib/libshout.so > > Fourth, you don't need libshout at all, ices comes with it. > > > - Lame is not found neither. I have (lame and lame-dev 3.91 from deb > > packages): > > lame in /usr/bin > > lame.h in /usr/include/lame > > lib files in /usr/lib : > > /usr/lib# ls -l libmp3lame* > > -rw-r--r-- 1 root root 364104 fév 1 17:49 libmp3lame.a > > -rw-r--r-- 1 root root 668 fév 1 17:49 libmp3lame.la > > lrwxrwxrwx 1 root root 19 mai 1 00:43 libmp3lame.so -> > > libmp3lame.so.0.0.0 > > lrwxrwxrwx 1 root root 19 mai 1 00:43 libmp3lame.so.0 > > -> libmp3lame.so.0.0.0 > > -rw-r--r-- 1 root root 319696 fév 1 17:49 > > libmp3lame.so.0.0.0 > > > > And with that : > > ./configure --with-lame=/usr/bin --with-lame-includes=/usr/include/lame > > --with-lame-libraries=/usr/lib > > Same thing. > First, don't specify any argument. > Second, try only --with-lame > Third, if you really want to be precise, use --with-lame=/usr > Those other options (-includes, -libraries) are usually not needed > except in unusual installations. > > > I think the problem is global and is not only about lame. > > I put the whole configuration output attached ; this is rather urgent, > > any help is really welcome... > > I think you just need a little more experience building from source. > Unfortunately there is no deb package for ices. I've been hoping to make > the linked in libraries loadable at runtime (dlopen'd) if I get the time > - this might make ices suitable for packaging with debian... > > -b > > --- >8 ---- > List archives: http://www.xiph.org/archives/ > icecast project homepage: http://www.icecast.org/ > To unsubscribe from this list, send a message to 'icecast-request@xiph.org' > containing only the word 'unsubscribe' in the body. No subject is needed. > Unsubscribe messages sent to the list will be ignored/filtered.--- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.