Ray Lutz
2016-Apr-29 23:03 UTC
[Icecast] Trying to build ices-0.4 on ubuntu and "libshout not usable"
Hello: I hope someone can take a look at this and give me a little push to get me past this logjam. I've been running icecast + ices-0.4 + a perl application developed internally which runs an mp3 stream for a number of years. I am migrating my server from CentOS to ubuntu so I can upgrade to Perl 5.18 (so as to get clean unicode processing for another application.) I have installed everything else but ices is not cooperating. On CentOS, I had no problem building ices-0.4. Now, configure says it can't find a usable version of libshout. but I built libshout and it exists at /usr/local/lib: root at vps4:/var/www/vhosts/airprogressive.org/private/othercode/ices-0.4# ls /usr/local/lib/libshout* -al -rw-r--r-- 1 root root 543020 Apr 29 18:20 /usr/local/lib/libshout.a -rwxr-xr-x 1 root root 1031 Apr 29 18:20 /usr/local/lib/libshout.la lrwxrwxrwx 1 root root 17 Apr 29 18:20 /usr/local/lib/libshout.so -> libshout.so.3.2.0 lrwxrwxrwx 1 root root 17 Apr 29 18:20 /usr/local/lib/libshout.so.3 -> libshout.so.3.2.0 -rwxr-xr-x 1 root root 326803 Apr 29 18:20 /usr/local/lib/libshout.so.3.2.0 Strangely, even though I built and installed libshout-2.4.1 it winds up installing as libshout.so.3.2.0. Here is a list of things that may be useful from a browser-activated perl script that gives me the basics. ----------------------------------------- OS Ubuntu 14.04.4 LTS Environment Variables: CONTEXT_DOCUMENT_ROOT = /var/www/vhosts/cognisys.com/httpdocs CONTEXT_PREFIX DOCUMENT_ROOT = /var/www/vhosts/cognisys.com/httpdocs GATEWAY_INTERFACE = CGI/1.1 HTTP_ACCEPT = text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 HTTP_ACCEPT_ENCODING = gzip, deflate, sdch HTTP_ACCEPT_LANGUAGE = en-US,en;q=0.8 HTTP_CACHE_CONTROL = max-age=0 HTTP_CONNECTION = keep-alive HTTP_HOST = 69.73.179.57 HTTP_UPGRADE_INSECURE_REQUESTS = 1 HTTP_USER_AGENT = Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36 MOD_PERL = mod_perl/2.0.8 MOD_PERL_API_VERSION = 2 PATH = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin QUERY_STRING REMOTE_ADDR = 72.220.142.223 REMOTE_PORT = 17565 REQUEST_METHOD = GET REQUEST_SCHEME = http REQUEST_URI = /w203/bin/simple SCRIPT_FILENAME = /var/www/vhosts/cognisys.com/httpdocs/w203/bin/simple SCRIPT_NAME = /w203/bin/simple SCRIPT_URI = http://69.73.179.57/w203/bin/simple SCRIPT_URL = /w203/bin/simple SERVER_ADDR = 69.73.179.57 SERVER_ADMIN = raylutz at cognisys.com SERVER_NAME = 69.73.179.57 SERVER_PORT = 80 SERVER_PROTOCOL = HTTP/1.1 SERVER_SIGNATURE Apache Server at 69.73.179.57 Port 80 SERVER_SOFTWARE = Apache uid=33(www-data) gid=33(www-data) groups=33(www-data),1002(psaserv),1008(psasb) Other Information: Perl Version: 5.018002 ----------------------------- And here is what happens when I try to configure. ----------------------------- # ./configure --with-perl --with-lame 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 ANSI C... none needed checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for AIX... no checking for library containing strerror... none required 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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking for an ANSI C-conforming const... yes checking whether byte ordering is bigendian... no checking for inline... inline checking for sys/wait.h that is POSIX.1 compatible... 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 signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking sys/signal.h usability... yes checking sys/signal.h presence... yes checking for sys/signal.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 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 for unistd.h... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking for pid_t... yes checking for size_t... yes checking return type of signal handlers... void checking for strftime... yes checking for vsnprintf... yes checking for setsid... yes checking for setlinebuf... yes checking whether build environment is sane... yes checking for gawk... gawk checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking for a sed that does not truncate output... /bin/sed checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes 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... g++ -E checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc static flag works... yes checking if gcc supports -fno-rtti -fno-exceptions... 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 whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes appending configuration tag "F77" to libtool checking for pkg-config... no checking for shout-config... no configure: error: Could not find a usable libshout IDEAS??? Thank you in advance! --Ray Lutz
Larry Turnbull
2016-Apr-29 23:29 UTC
[Icecast] Trying to build ices-0.4 on ubuntu and "libshout not?usable"
Hi Ray: With Ubuntu for the libshout library it will work if you install it using the apt-get command. Apt-get install libshout-dev I got ices to work on Ubuntu 14.04 with this. Hope that helps. Larry -----Original Message----- From: Icecast [mailto:icecast-bounces at xiph.org] On Behalf Of Ray Lutz Sent: Friday, April 29, 2016 6:03 PM To: icecast at xiph.org Subject: [Icecast] Trying to build ices-0.4 on ubuntu and "libshout not usable" Hello: I hope someone can take a look at this and give me a little push to get me past this logjam. I've been running icecast + ices-0.4 + a perl application developed internally which runs an mp3 stream for a number of years. I am migrating my server from CentOS to ubuntu so I can upgrade to Perl 5.18 (so as to get clean unicode processing for another application.) I have installed everything else but ices is not cooperating. On CentOS, I had no problem building ices-0.4. Now, configure says it can't find a usable version of libshout. but I built libshout and it exists at /usr/local/lib: root at vps4:/var/www/vhosts/airprogressive.org/private/othercode/ices-0.4# ls /usr/local/lib/libshout* -al -rw-r--r-- 1 root root 543020 Apr 29 18:20 /usr/local/lib/libshout.a -rwxr-xr-x 1 root root 1031 Apr 29 18:20 /usr/local/lib/libshout.la lrwxrwxrwx 1 root root 17 Apr 29 18:20 /usr/local/lib/libshout.so -> libshout.so.3.2.0 lrwxrwxrwx 1 root root 17 Apr 29 18:20 /usr/local/lib/libshout.so.3 -> libshout.so.3.2.0 -rwxr-xr-x 1 root root 326803 Apr 29 18:20 /usr/local/lib/libshout.so.3.2.0 Strangely, even though I built and installed libshout-2.4.1 it winds up installing as libshout.so.3.2.0. Here is a list of things that may be useful from a browser-activated perl script that gives me the basics. ----------------------------------------- OS Ubuntu 14.04.4 LTS Environment Variables: CONTEXT_DOCUMENT_ROOT = /var/www/vhosts/cognisys.com/httpdocs CONTEXT_PREFIX DOCUMENT_ROOT = /var/www/vhosts/cognisys.com/httpdocs GATEWAY_INTERFACE = CGI/1.1 HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 HTTP_ACCEPT_ENCODING = gzip, deflate, sdch HTTP_ACCEPT_LANGUAGE = en-US,en;q=0.8 HTTP_CACHE_CONTROL = max-age=0 HTTP_CONNECTION = keep-alive HTTP_HOST = 69.73.179.57 HTTP_UPGRADE_INSECURE_REQUESTS = 1 HTTP_USER_AGENT = Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36 MOD_PERL = mod_perl/2.0.8 MOD_PERL_API_VERSION = 2 PATH = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin QUERY_STRING REMOTE_ADDR = 72.220.142.223 REMOTE_PORT = 17565 REQUEST_METHOD = GET REQUEST_SCHEME = http REQUEST_URI = /w203/bin/simple SCRIPT_FILENAME = /var/www/vhosts/cognisys.com/httpdocs/w203/bin/simple SCRIPT_NAME = /w203/bin/simple SCRIPT_URI = http://69.73.179.57/w203/bin/simple SCRIPT_URL = /w203/bin/simple SERVER_ADDR = 69.73.179.57 SERVER_ADMIN = raylutz at cognisys.com SERVER_NAME = 69.73.179.57 SERVER_PORT = 80 SERVER_PROTOCOL = HTTP/1.1 SERVER_SIGNATURE Apache Server at 69.73.179.57 Port 80 SERVER_SOFTWARE = Apache uid=33(www-data) gid=33(www-data) groups=33(www-data),1002(psaserv),1008(psasb) Other Information: Perl Version: 5.018002 ----------------------------- And here is what happens when I try to configure. ----------------------------- # ./configure --with-perl --with-lame 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 ANSI C... none needed checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for AIX... no checking for library containing strerror... none required 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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking for an ANSI C-conforming const... yes checking whether byte ordering is bigendian... no checking for inline... inline checking for sys/wait.h that is POSIX.1 compatible... 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 signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking sys/signal.h usability... yes checking sys/signal.h presence... yes checking for sys/signal.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 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 for unistd.h... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking for pid_t... yes checking for size_t... yes checking return type of signal handlers... void checking for strftime... yes checking for vsnprintf... yes checking for setsid... yes checking for setlinebuf... yes checking whether build environment is sane... yes checking for gawk... gawk checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking for a sed that does not truncate output... /bin/sed checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes 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... g++ -E checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc static flag works... yes checking if gcc supports -fno-rtti -fno-exceptions... 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 whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes appending configuration tag "F77" to libtool checking for pkg-config... no checking for shout-config... no configure: error: Could not find a usable libshout IDEAS??? Thank you in advance! --Ray Lutz _______________________________________________ Icecast mailing list Icecast at xiph.org http://lists.xiph.org/mailman/listinfo/icecast
buddylove
2016-Apr-30 00:22 UTC
[Icecast] Trying to build ices-0.4 on ubuntu and "libshout not?usable"
yeah... as the configure-scripts states in the last line... it's definetely a dependency problem. if its not in the repos you probably need to compile it by hand. I recommend reading about 'autotools' (GNU) Greets Gee On 30.04.2016 01:29, Larry Turnbull wrote:> Hi Ray: > > With Ubuntu for the libshout library it will work if you install it using the apt-get command. > > Apt-get install libshout-dev > > I got ices to work on Ubuntu 14.04 with this. > > Hope that helps. > > Larry > > > -----Original Message----- > From: Icecast [mailto:icecast-bounces at xiph.org] On Behalf Of Ray Lutz > Sent: Friday, April 29, 2016 6:03 PM > To: icecast at xiph.org > Subject: [Icecast] Trying to build ices-0.4 on ubuntu and "libshout not usable" > > Hello: > I hope someone can take a look at this and give me a little push to get me past this logjam. > > I've been running icecast + ices-0.4 + a perl application developed internally which runs an mp3 stream for a number of years. > I am migrating my server from CentOS to ubuntu so I can upgrade to Perl > 5.18 (so as to get clean unicode processing for another application.) I have installed everything else but ices is not cooperating. > > On CentOS, I had no problem building ices-0.4. Now, configure says it can't find a usable version of libshout. > but I built libshout and it exists at /usr/local/lib: > > root at vps4:/var/www/vhosts/airprogressive.org/private/othercode/ices-0.4# > ls /usr/local/lib/libshout* -al > -rw-r--r-- 1 root root 543020 Apr 29 18:20 /usr/local/lib/libshout.a > -rwxr-xr-x 1 root root 1031 Apr 29 18:20 /usr/local/lib/libshout.la > lrwxrwxrwx 1 root root 17 Apr 29 18:20 /usr/local/lib/libshout.so -> > libshout.so.3.2.0 > lrwxrwxrwx 1 root root 17 Apr 29 18:20 /usr/local/lib/libshout.so.3 > -> libshout.so.3.2.0 > -rwxr-xr-x 1 root root 326803 Apr 29 18:20 /usr/local/lib/libshout.so.3.2.0 > > Strangely, even though I built and installed libshout-2.4.1 it winds up installing as libshout.so.3.2.0. > > Here is a list of things that may be useful from a browser-activated perl script that gives me the basics. > ----------------------------------------- > OS Ubuntu 14.04.4 LTS > > Environment Variables: > CONTEXT_DOCUMENT_ROOT = /var/www/vhosts/cognisys.com/httpdocs > CONTEXT_PREFIX > DOCUMENT_ROOT = /var/www/vhosts/cognisys.com/httpdocs > GATEWAY_INTERFACE = CGI/1.1 > HTTP_ACCEPT > text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 > HTTP_ACCEPT_ENCODING = gzip, deflate, sdch HTTP_ACCEPT_LANGUAGE = en-US,en;q=0.8 HTTP_CACHE_CONTROL = max-age=0 HTTP_CONNECTION = keep-alive HTTP_HOST = 69.73.179.57 HTTP_UPGRADE_INSECURE_REQUESTS = 1 HTTP_USER_AGENT = Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36 MOD_PERL = mod_perl/2.0.8 MOD_PERL_API_VERSION = 2 PATH = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin > QUERY_STRING > REMOTE_ADDR = 72.220.142.223 > REMOTE_PORT = 17565 > REQUEST_METHOD = GET > REQUEST_SCHEME = http > REQUEST_URI = /w203/bin/simple > SCRIPT_FILENAME = /var/www/vhosts/cognisys.com/httpdocs/w203/bin/simple > SCRIPT_NAME = /w203/bin/simple > SCRIPT_URI = http://69.73.179.57/w203/bin/simple > SCRIPT_URL = /w203/bin/simple > SERVER_ADDR = 69.73.179.57 > SERVER_ADMIN = raylutz at cognisys.com > SERVER_NAME = 69.73.179.57 > SERVER_PORT = 80 > SERVER_PROTOCOL = HTTP/1.1 > SERVER_SIGNATURE > > Apache Server at 69.73.179.57 Port 80 > > SERVER_SOFTWARE = Apache > uid=33(www-data) gid=33(www-data) > groups=33(www-data),1002(psaserv),1008(psasb) > Other Information: > Perl Version: 5.018002 > > ----------------------------- > And here is what happens when I try to configure. > ----------------------------- > > # ./configure --with-perl --with-lame > 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 ANSI C... none needed checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for AIX... no checking for library containing strerror... none required 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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking f o r an ANSI C-conforming const... yes checking whether byte ordering is bigendian... no checking for inline... inline checking for sys/wait.h that is POSIX.1 compatible... 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 signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking sys/signal.h usability... yes checking sys/signal.h presence... yes checking for sys/signal.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 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 for unistd.h... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking for pid_t ... yes c hecking for size_t... yes checking return type of signal handlers... void checking for strftime... yes checking for vsnprintf... yes checking for setsid... yes checking for setlinebuf... yes checking whether build environment is sane... yes checking for gawk... gawk checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking for a sed that does not truncate output... /bin/sed checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g ++ accep t s -g... yes checking dependency style of g++... gcc3 checking how to run the C++ preprocessor... g++ -E checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc static flag works... yes checking if gcc su pports - f no-rtti -fno-exceptions... 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 whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes> configure: creating libtool > appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes appending configuration tag "F77" to libtool checking for pkg-config... no checking for shout-config... no > configure: error: Could not find a usable libshout > > IDEAS??? > > Thank you in advance! > --Ray Lutz > > > _______________________________________________ > Icecast mailing list > Icecast at xiph.org > http://lists.xiph.org/mailman/listinfo/icecast > > _______________________________________________ > Icecast mailing list > Icecast at xiph.org > http://lists.xiph.org/mailman/listinfo/icecast >-- -----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG v2 mQINBFbjTrwBEAC7sFgwbSCHUIzxwIhrbkanN0dOBfXHPpDIrfNMjEcsH+Q3HnJz 0UX2joNp5I8GwlLiJHZFDTS9n83sXCokKgKYuBATeOGdC4Hc4JrmK5nEbby8OXFk g1lo96x1IqKRlkhqudW86V1vVfVSL50H6JGZqdm//mujzaqabKsCNvh9gQZiSvEG lSZBt8B5itn+oeKw835/6Mri4TLcmL7BLsDdS4RsKuw4VfhY4yYEqhxxYssac90J omzD9os3CI1ZfiSoG1ZpVJ8sTYe+AAj6OAdCXXlGQepC7GQJ3eUiTyMrEw52ynKg ADHQksm0ZPUhQpZHScLcYpy/PIJEbtnoHj+Xceu8SnvJd38sI+70oHB/k4lHsb90 i3VFdQ1iPSEJqCq6kp0At6x7arylgdk+iobVCjcUJQzHMgf+RzY3SOFGynm1R98U worvXSx/koM7kurDXpMSkPAK6i3kvBfIYDbiemdn+DeEC8eIiW6YJSTLiq9IFqYF BqIo0q7GDdZ72y2VS3YN11TaPLvICGWdEOMlL3DyNXYxzufUKGpw5PdSS6lHVSH2 9n7jCXxKbymZyYmz2hK20Z3RXSwjN9nB9i4GofLRRj3ZbRclpOUze6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Y7rZy6/5RP5H1Ad+BUP2vrXlVW+xvoWFjgVPjLX3jxkALuN 8TcjTbwnT6NOge71oHIXV9yy2LkKFx/ArmZ64HiveSEQ+rS6WqWu3vUyqP7+ZmPE Pb2j5dkpcGyvS4Wc1Ijj2pvhpPrD7M0IaiIjM6efO5B1SFrmyAzzWPsVpS2lptzi mUWzQZD2thq1kqvtwmGz0PxaZQ==y6Yc -----END PGP PUBLIC KEY BLOCK----- -----BEGIN PUBLIC INFO BLOCK----- Workstation(s) 2xIvy Bridge|16GB-SDRAM|120GB-SDHD|2x16GB|2x3TB - LUKS Operating Systems - Arch Linux & Ubuntu Studio Programming - C/C++|ASM|php|bash CMS - Drupal - Server 2 Cores|2GB-RAM|50GB-SDHD|6TB Traffic|Tor-Exit|Icecast-Stream - Gee Bee Productions Radio IT-Consulting Harware One-Off-Productions Webdesign - Content Management - Webhosting - www.pirate-radio.eu +41/76-7569208 -----END PUBLIC INFO BLOCK-----
tTh
2016-Apr-30 05:23 UTC
[Icecast] Trying to build ices-0.4 on ubuntu and "libshout not usable"
On 04/30/2016 01:03 AM, Ray Lutz a dit:> # ./configure --with-perl --with-lame[...]> checking for pkg-config... no > checking for shout-config... no > configure: error: Could not find a usable libshoutYou must install the 'pkg-config' package, and re-run the ./configure -- ---------------------------------------------------------------------- http://weblog.mixart-myrys.org/?post/2016/02/THSF-V7
Ray Lutz
2016-May-01 17:27 UTC
[Icecast] Trying to build ices-0.4 on ubuntu and "libshout not?usable"
Yes, I used this approach and I am now making progress. Thank you to the list for your help. --Ray On 04/29/2016 4:29 PM, Larry Turnbull wrote:> Hi Ray: > > With Ubuntu for the libshout library it will work if you install it using the apt-get command. > > Apt-get install libshout-dev > > I got ices to work on Ubuntu 14.04 with this. > > Hope that helps. > > Larry > > > -----Original Message----- > From: Icecast [mailto:icecast-bounces at xiph.org] On Behalf Of Ray Lutz > Sent: Friday, April 29, 2016 6:03 PM > To: icecast at xiph.org > Subject: [Icecast] Trying to build ices-0.4 on ubuntu and "libshout not usable" > > Hello: > I hope someone can take a look at this and give me a little push to get me past this logjam. > > I've been running icecast + ices-0.4 + a perl application developed internally which runs an mp3 stream for a number of years. > I am migrating my server from CentOS to ubuntu so I can upgrade to Perl > 5.18 (so as to get clean unicode processing for another application.) I have installed everything else but ices is not cooperating. > > On CentOS, I had no problem building ices-0.4. Now, configure says it can't find a usable version of libshout. > but I built libshout and it exists at /usr/local/lib: > > root at vps4:/var/www/vhosts/airprogressive.org/private/othercode/ices-0.4# > ls /usr/local/lib/libshout* -al > -rw-r--r-- 1 root root 543020 Apr 29 18:20 /usr/local/lib/libshout.a > -rwxr-xr-x 1 root root 1031 Apr 29 18:20 /usr/local/lib/libshout.la > lrwxrwxrwx 1 root root 17 Apr 29 18:20 /usr/local/lib/libshout.so -> > libshout.so.3.2.0 > lrwxrwxrwx 1 root root 17 Apr 29 18:20 /usr/local/lib/libshout.so.3 > -> libshout.so.3.2.0 > -rwxr-xr-x 1 root root 326803 Apr 29 18:20 /usr/local/lib/libshout.so.3.2.0 > > Strangely, even though I built and installed libshout-2.4.1 it winds up installing as libshout.so.3.2.0. > > Here is a list of things that may be useful from a browser-activated perl script that gives me the basics. > ----------------------------------------- > OS Ubuntu 14.04.4 LTS > > Environment Variables: > CONTEXT_DOCUMENT_ROOT = /var/www/vhosts/cognisys.com/httpdocs > CONTEXT_PREFIX > DOCUMENT_ROOT = /var/www/vhosts/cognisys.com/httpdocs > GATEWAY_INTERFACE = CGI/1.1 > HTTP_ACCEPT > text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 > HTTP_ACCEPT_ENCODING = gzip, deflate, sdch HTTP_ACCEPT_LANGUAGE = en-US,en;q=0.8 HTTP_CACHE_CONTROL = max-age=0 HTTP_CONNECTION = keep-alive HTTP_HOST = 69.73.179.57 HTTP_UPGRADE_INSECURE_REQUESTS = 1 HTTP_USER_AGENT = Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36 MOD_PERL = mod_perl/2.0.8 MOD_PERL_API_VERSION = 2 PATH = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin > QUERY_STRING > REMOTE_ADDR = 72.220.142.223 > REMOTE_PORT = 17565 > REQUEST_METHOD = GET > REQUEST_SCHEME = http > REQUEST_URI = /w203/bin/simple > SCRIPT_FILENAME = /var/www/vhosts/cognisys.com/httpdocs/w203/bin/simple > SCRIPT_NAME = /w203/bin/simple > SCRIPT_URI = http://69.73.179.57/w203/bin/simple > SCRIPT_URL = /w203/bin/simple > SERVER_ADDR = 69.73.179.57 > SERVER_ADMIN = raylutz at cognisys.com > SERVER_NAME = 69.73.179.57 > SERVER_PORT = 80 > SERVER_PROTOCOL = HTTP/1.1 > SERVER_SIGNATURE > > Apache Server at 69.73.179.57 Port 80 > > SERVER_SOFTWARE = Apache > uid=33(www-data) gid=33(www-data) > groups=33(www-data),1002(psaserv),1008(psasb) > Other Information: > Perl Version: 5.018002 > > ----------------------------- > And here is what happens when I try to configure. > ----------------------------- > > # ./configure --with-perl --with-lame > 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 ANSI C... none needed checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for AIX... no checking for library containing strerror... none required 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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking for an ANSI C-conforming const... yes checking whether byte ordering is bigendian... no checking for inline... inline checking for sys/wait.h that is POSIX.1 compatible... 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 signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking sys/signal.h usability... yes checking sys/signal.h presence... yes checking for sys/signal.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 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 for unistd.h... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking for pid_t... yes checking for size_t... yes checking return type of signal handlers... void checking for strftime... yes checking for vsnprintf... yes checking for setsid... yes checking for setlinebuf... yes checking whether build environment is sane... yes checking for gawk... gawk checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking for a sed that does not truncate output... /bin/sed checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes 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... g++ -E checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc static flag works... yes checking if gcc supports -fno-rtti -fno-exceptions... 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 whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes > configure: creating libtool > appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes appending configuration tag "F77" to libtool checking for pkg-config... no checking for shout-config... no > configure: error: Could not find a usable libshout > > IDEAS??? > > Thank you in advance! > --Ray Lutz > > > _______________________________________________ > Icecast mailing list > Icecast at xiph.org > http://lists.xiph.org/mailman/listinfo/icecast > > _______________________________________________ > Icecast mailing list > Icecast at xiph.org > http://lists.xiph.org/mailman/listinfo/icecast