Go Back   HostGator Peer Support Forums > HostGator Peer Support Forums > Linux VPS Support

Notices

Reply
 
Thread Tools
  #1  
Old 11-15-2009, 11:22 AM
rec9140 rec9140 is offline
Junior Croc
 
Join Date: Jun 2007
Posts: 137
Default VPS, IceCast and installation

After looking at several hosts that provide audio hosting, it has become apparent to me that while all are great companies, I thank those that took time to respond to my questions, its clear that shoutcast is just not for me. WHMSonic looks great, but the limits of shoutcast one stream/one server just won't work for me. Thus I would need to have account #1/stream 1, account #2, stream 2 etc.. v. IceCast which can handle multiple streams on one server, one account.

After looking it appears that CentOS and IceCast and libxml2 have issues based on searches at icecast.org.

I am one of those types who doesn't like mucking around with installs unless I know whats going on. Test, test, test, then install to a live server, once I know the install will work be it source or DEB or ......

Any way has ANY ONE done an install of the current IceCast SOURCE package to their Level 3 or better VPS?

Did you have the dreaded issue with the libxml2/libxslst ?

Code:
 /usr/lib/libxslt.so: undefined reference to `xmlXPathContextSetCache'
http://icecast.imux.net/viewtopic.ph...ghlight=centos

Lots of blaming CentOS by the Icecast people, when its looks like the Icecast people jumped on a feature that requires and uber updated libxml2/libxlst... I really don't care... this is why compiling gets Linux into so much flak for the desktop... I have one word.... STATIC!

If you did how did you correct it? The icecast.org forums make mention of http://IP:2086/scripts2/autofixer and selecting the fixlibxml to fix this, but this doesn't exist in the VPS containers....

Looks like libvorbis etc. need installed too since doing the ./configure, make failed at first with that error...

Seems CentOS has a bug that wants to install i386 stuff to x86_64 when its not needed.So is:

Code:
root@rcc [/]# yum install libvorbis.x86_64 libvorbis-devel.x86_64 vorbis-tools.x86_64 libogg.x86_64 libogg-devel.x86_64
Correct? There's no need to install the i386 libs correct? Which would occur if I removed the .x86_64 lines.

Llike I said I don't like mucking around with compiling stuff till I know whats going to happen in/out/up/down/left/right/center as there is too much risk for problems. Don't matter how many backups of the container I have...... Thats why I like VM's I stick stuff in a vm of my desktop and if it fubar's it I don't install that source/DEB to my desktop. Nuke that vm, and look for a package/program that works.

If some one has done this I would like to work with you to get this up on my VPS and produce a FAQ for those that come later.

Thanks in advance.

Reply With Quote
  #2  
Old 11-16-2009, 12:13 PM
GatorCarl's Avatar
GatorCarl GatorCarl is offline
HostGator Staff
 
Join Date: Sep 2007
Location: Oz
Posts: 433
Default Re: VPS, IceCast and installation

Try the following:

rm /usr/lib/libxml2.so
ln -s /usr/lib/libxml2.so.2.6.26 /usr/lib/libxml2.so

libxml2.so gets symlinked to the older version libxml2.so.2.6.23 which does not reference xmlXPathContextSetCache

Please pm me if this does not work.
Reply With Quote
  #3  
Old 11-16-2009, 01:10 PM
rec9140 rec9140 is offline
Junior Croc
 
Join Date: Jun 2007
Posts: 137
Default Re: VPS, IceCast and installation

AHHAAHAHA!

I will give that a whirl tonight during "playtime."

THANKS!
Reply With Quote
  #4  
Old 11-16-2009, 06:35 PM
rec9140 rec9140 is offline
Junior Croc
 
Join Date: Jun 2007
Posts: 137
Smile Re: VPS, IceCast and installation

Quote:
Originally Posted by GatorCarl View Post
Try the following:

rm /usr/lib/libxml2.so
ln -s /usr/lib/libxml2.so.2.6.26 /usr/lib/libxml2.so

libxml2.so gets symlinked to the older version libxml2.so.2.6.23 which does not reference xmlXPathContextSetCache
I think we have a WINNER WINNER CHICKEN DINNER!



one slight change:

Code:
ln -s /usr/lib64/libxml2.so.2.6.26 /usr/lib64/libxml2.so
Since the VPS' are on x86_64 when I did this everything looks to have compiled and installed...

The first one in usr/lib did not work.

So I need to play with the config and see if it starts now....

Will advise as "playtime" moves along....

Reply With Quote
  #5  
Old 11-16-2009, 08:32 PM
rec9140 rec9140 is offline
Junior Croc
 
Join Date: Jun 2007
Posts: 137
Default Re: VPS, IceCast and installation

As "playtime" has continued.... I've got one issue thats a perm issue with the log files and it looks like I will have a working icecast server shortly.

So THANK YOU to GatorCarl for the solution that others just have not found before.
Reply With Quote
  #6  
Old 11-17-2009, 07:34 AM
rec9140 rec9140 is offline
Junior Croc
 
Join Date: Jun 2007
Posts: 137
Default Re: VPS, IceCast and installation

Ice baby! We have ICE! ICEcast.....

THANKS to GatorCarl's EXCELLENT FIND! the compiling issue(s) are resolved. (PS: I'll put in for a raise on that alone!)



To any one who is looking to do the IceCast server with their VPS I will put together a HOWTO of what I did that got things going. I am now testing with a live source, and will have a second source lined up later today.

IceCast.org etc.. are not very helpful when it comes to CentOS/WHM/CPanel installs and all of them gloss over the libxml2 issue which will stop things dead in its tracks.

So as soon as I can gather up my notes in to something coherent I will post..

Again... THANK YOU GatorCarl for the magic bullet to compile!
Reply With Quote
  #7  
Old 11-18-2009, 06:20 AM
eacollin's Avatar
eacollin eacollin is offline
Hatchling Croc
 
Join Date: Mar 2008
Location: South Florida
Posts: 39
Default Re: VPS, IceCast and installation

Cool looking forward to your How To icecast posting..
Reply With Quote
  #8  
Old 11-18-2009, 08:08 AM
rec9140 rec9140 is offline
Junior Croc
 
Join Date: Jun 2007
Posts: 137
Default Re: VPS, IceCast and installation

Quote:
Originally Posted by eacollin View Post
Cool looking forward to your How To icecast posting..
Hopefully over the weekend when I can collect my notes from "playtime" and what I've adjusted over the past few days.

I've things running but a have one slight bug which I don't know if its on the server side or the source side. Its minor, but its a little annoying.

But... I am doing my best and will probably be ordering a 2nd VPS just to put this on.
Reply With Quote
  #9  
Old 11-19-2009, 09:15 AM
rec9140 rec9140 is offline
Junior Croc
 
Join Date: Jun 2007
Posts: 137
Arrow Re: VPS, IceCast and installation

Quote:
Originally Posted by GatorCarl View Post
Try the following:

Please pm me if this does not work.
I've got things compiled and running, but I have an issue I've submitted a ticket on regarding something possibly with the server itself.

Ticket #QBW-12728222

I am posting this only as, possibly your the IC2 guru at HG.
Reply With Quote
  #10  
Old 11-23-2009, 06:47 AM
rec9140 rec9140 is offline
Junior Croc
 
Join Date: Jun 2007
Posts: 137
Default Re: VPS, IceCast and installation

I will NOT be posting a IceCast HOWTO, as based on my testing with the VPS there is no way to be successful with the IC2 server for more than 5 minutes at a time due to network issues which no one seems to be able to resolve.

I can listen to the source streamer for hours on end with out interuption, but the VPS drops sources pretty much every 5 minutes on cue, so its useless.

I've tried various winslobber streamers and even DarkIce, all with the same issue.

I've asked HG to look into and it appears to be unresolvable, so I will not waste any ones time with attempting this and the huge amount of frustration I've had from this.

The posted resolution to the Icecast 2 server install, does resolve the compilation problem, but the VPS is not stable enough to handle this. So it appears that only a full dedi will be able to handle IC2.
Reply With Quote
  #11  
Old 11-23-2009, 09:56 AM
GatorDaveC's Avatar
GatorDaveC GatorDaveC is offline
HostGator Staff
 
Join Date: Mar 2006
Location: Ontario, Canada
Posts: 937
Default Re: VPS, IceCast and installation

There shouldn't be any issues running a streaming server at all. Would you like me to take a look at your VPS for you?

Quote:
Originally Posted by rec9140 View Post
I will NOT be posting a IceCast HOWTO, as based on my testing with the VPS there is no way to be successful with the IC2 server for more than 5 minutes at a time due to network issues which no one seems to be able to resolve.

I can listen to the source streamer for hours on end with out interuption, but the VPS drops sources pretty much every 5 minutes on cue, so its useless.

I've tried various winslobber streamers and even DarkIce, all with the same issue.

I've asked HG to look into and it appears to be unresolvable, so I will not waste any ones time with attempting this and the huge amount of frustration I've had from this.

The posted resolution to the Icecast 2 server install, does resolve the compilation problem, but the VPS is not stable enough to handle this. So it appears that only a full dedi will be able to handle IC2.
Reply With Quote
  #12  
Old 11-23-2009, 10:39 AM
rec9140 rec9140 is offline
Junior Croc
 
Join Date: Jun 2007
Posts: 137
Default Re: VPS, IceCast and installation

Quote:
Originally Posted by GatorDaveC View Post
There shouldn't be any issues running a streaming server at all. Would you like me to take a look at your VPS for you?
Please, your more than welcome to look at it and in re:

JBO-12738364
QBW-12728222

There is something that has an intermittent issue with the network and its killing the IC2 source streams....

The one streamcaster I use allows for push streams so I can listen to it and it streams along for hours on end.

I don't see why there would be a problem either, but unfortunately there is one and its just about boiled my blood. I thought one of the techs had narrowed it down and then was not able to pinpoint it.....

So I thank you in advance, and greatly appreciate you looking at it... and let me emphasize "THE PROBLEM" has boiled by blood, NOT HG tech's. I know intermittent problems are a PITA, try solving it for a 24 site multizone radio system..

If things are resolved I'll post the HOWTO, but at this point I don't want any one to go through the process I've went through.
Reply With Quote
  #13  
Old 12-06-2009, 08:48 AM
rec9140 rec9140 is offline
Junior Croc
 
Join Date: Jun 2007
Posts: 137
Default Re: VPS, IceCast and installation

IceCast 2 Server Install HOWTO

Version: 1.0.0
Date: 12/6/09
License: Creative Commons Share-A-Like V3.0
http://creativecommons.org/licenses/by-nc-sa/3.0/us/

Exception: HostGator is permitted to use this for commercial purposes for the support of HostGator hosting clients,so long as attribution is listed, and changes/updates/corrections are posted back to the HOWTO.

You will need SSH access to your server

You will need familiarity with basic Linux commands and text editors

You will need the latest copy of the Icecast2 server software

1) Connect to your server as root via SSH

2) Download the Icecast2 server software with:

Code:
wget --progress=bar http://downloads.xiph.org/releases/icecast/icecast-2.3.2.tar.gz

3) Next we need to correct issues with CentOS 5.x/WHM/CPanel and using an old XML lib

THANK YOU to GatorCarl for finding this fix! The IceCast.org people have been less than
helpful to those using CentOS and IC2! !

Code:
cd /usr/lib
rm libxml2.so
rm libxml2.so.2
ln -s /usr/lib/libxml2.so.2.6.26 /usr/lib/libxml2.so
ln -s /usr/lib/libxml2.so.2.6.26 /usr/lib/libxml2.so.2
cd /usr/lib64
rm libxml2.so
rm libxml2.so.2
ln -s /usr/lib/libxml2.so.2.6.26 /usr/lib/libxml2.so
ln -s /usr/lib/libxml2.so.2.6.26 /usr/lib/libxml2.so.2
4) Next we need to make sure we have all the codec's for the various formats installed

NOTE: If you want to stream Theora Video you will need to add that lib and devel packages.

Code:
yum install libvorbis.x86_64 libvorbis-devel.x86_64 vorbis-tools.x86_64 libogg.x86_64 libogg-devel.x86_64 speex.x86_64 speex-devel.x86_64

5) Open port 8000 in your server. You will need to either:
a) Put in a ticket with HG
b) Configure via CLI for your firewall
c) Configure via GUI interface in WHM/CPanel if available
d) ***NOT SUGGESTED *** UNSAFE ****
Code:
/etc/init.d/firewall stop
5) Once the above is completed your ready to install and compile the IceCast Server

6) Unpack the icecast source

Code:
tar -zxvf icecast-2.3.2.tar.gz
7) You will will now have a directory icecast-2.3.2

8) Change to the directory with:
Code:
cd icecast-2.3.2
9) Follow the standard Linux compile configure step

Code:
./configure --with-libwrap
The above adds wrappers support and is suggested to use.

10) If you get NO ERRORS then continue on. If you get any error STOP as you can NOT COMPILE!

Example output:
Code:
root@host [~/icecast-2.3.2]# ./configure --with-libwrap
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 whether to enable maintainer-specific portions of Makefiles... no
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 build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
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 recognize dependent libraries... pass_all
checking how to run the C preprocessor... gcc -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 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 xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... 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... 98304
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 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 static flag -static 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++ static flag -static 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
appending configuration tag "F77" to libtool
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking alloca.h usability... yes
checking alloca.h presence... yes
checking for alloca.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking for unistd.h... (cached) yes
checking for __func__... yes
checking for localtime_r... yes
checking for poll... yes
checking for library containing nanosleep... none required
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for socklen_t... yes
checking for va_copy... va_copy
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking winsock2.h usability... no
checking winsock2.h presence... no
checking for winsock2.h... no
checking for library containing sethostent... none required
checking for library containing getnameinfo... none required
checking for endhostent... yes
checking for getaddrinfo... yes
checking for inet_aton... yes
checking for writev... yes
checking for struct sockaddr_storage.ss_family... yes
checking for inet_pton... yes
checking for xslt-config... /usr/bin/xslt-config
checking for xsltSaveResultToString... yes
checking for fgrep... /bin/grep -F
checking for libogg... ok
checking for libvorbis... ok
checking for libtheora... Not found
configure: WARNING: Theora disabled!
checking for libspeex... ok
checking for kate_decode_init in -lkate... 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 pthread_spin_lock... yes
checking for curl-config... no
checking curl/curl.h usability... no
checking curl/curl.h presence... no
checking for curl/curl.h... no
checking for libcurl... no
configure: libcurl not found
configure: YP support disabled
checking for pkg-config... /usr/bin/pkg-config
configure: creating ./config.status
config.status: creating Makefile
config.status: creating conf/Makefile
config.status: creating debian/Makefile
config.status: creating src/Makefile
config.status: creating src/avl/Makefile
config.status: creating src/httpp/Makefile
config.status: creating src/thread/Makefile
config.status: creating src/log/Makefile
config.status: creating src/net/Makefile
config.status: creating src/timing/Makefile
config.status: creating doc/Makefile
config.status: creating web/Makefile
config.status: creating admin/Makefile
config.status: creating win32/Makefile
config.status: creating win32/res/Makefile
config.status: creating examples/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
root@host [~/icecast-2.3.2]#

11) Time to compile

Code:
make
Example output:

Code:
root@host [~/icecast-2.3.2]# make
make  all-recursive
make[1]: Entering directory `/root/icecast-2.3.2'
Making all in src
make[2]: Entering directory `/root/icecast-2.3.2/src'
Making all in avl
make[3]: Entering directory `/root/icecast-2.3.2/src/avl'
/bin/sh ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I./..   -pthread -g -O2 -MT libiceavl_la-avl.lo -MD -MP -MF .deps/libiceavl_la-avl.Tpo -c -o libiceavl_la-avl.lo `test -f 'avl.c' || echo './'`avl.c
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I../.. -I./.. -pthread -g -O2 -MT libiceavl_la-avl.lo -MD -MP -MF .deps/libiceavl_la-avl.Tpo -c avl.c  -fPIC -DPIC -o .libs/libiceavl_la-avl.o
 gcc -DHAVE_CONFIG_H -I. -I../.. -I./.. -pthread -g -O2 -MT libiceavl_la-avl.lo -MD -MP -MF .deps/libiceavl_la-avl.Tpo -c avl.c -o libiceavl_la-avl.o >/dev/null 2>&1
mv -f .deps/libiceavl_la-avl.Tpo .deps/libiceavl_la-avl.Plo
/bin/sh ../../libtool --tag=CC   --mode=link gcc -pthread -g -O2   -o libiceavl.la  libiceavl_la-avl.lo
ar cru .libs/libiceavl.a .libs/libiceavl_la-avl.o
ranlib .libs/libiceavl.a
creating libiceavl.la
(cd .libs && rm -f libiceavl.la && ln -s ../libiceavl.la libiceavl.la)
make[3]: Leaving directory `/root/icecast-2.3.2/src/avl'
Making all in thread
make[3]: Entering directory `/root/icecast-2.3.2/src/thread'
/bin/sh ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I./..   -pthread -g -O2 -MT libicethread_la-thread.lo -MD -MP -MF .deps/libicethread_la-thread.Tpo -c -o libicethread_la-thread.lo `test -f 'thread.c' || echo './'`thread.c
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I../.. -I./.. -pthread -g -O2 -MT libicethread_la-thread.lo -MD -MP -MF .deps/libicethread_la-thread.Tpo -c thread.c  -fPIC -DPIC -o .libs/libicethread_la-thread.o
 gcc -DHAVE_CONFIG_H -I. -I../.. -I./.. -pthread -g -O2 -MT libicethread_la-thread.lo -MD -MP -MF .deps/libicethread_la-thread.Tpo -c thread.c -o libicethread_la-thread.o >/dev/null 2>&1
mv -f .deps/libicethread_la-thread.Tpo .deps/libicethread_la-thread.Plo
/bin/sh ../../libtool --tag=CC   --mode=link gcc -pthread -g -O2   -o libicethread.la  libicethread_la-thread.lo
ar cru .libs/libicethread.a .libs/libicethread_la-thread.o
ranlib .libs/libicethread.a
creating libicethread.la
(cd .libs && rm -f libicethread.la && ln -s ../libicethread.la libicethread.la)
make[3]: Leaving directory `/root/icecast-2.3.2/src/thread'
Making all in httpp
make[3]: Entering directory `/root/icecast-2.3.2/src/httpp'
/bin/sh ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I./.. -Wall -ffast-math -fsigned-char -I/usr/include/libxml2 -I/usr/local/include -I/usr/kerberos/include  -pthread -g -O2 -MT libicehttpp_la-httpp.lo -MD -MP -MF .deps/libicehttpp_la-httpp.Tpo -c -o libicehttpp_la-httpp.lo `test -f 'httpp.c' || echo './'`httpp.c
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I../.. -I./.. -Wall -ffast-math -fsigned-char -I/usr/include/libxml2 -I/usr/local/include -I/usr/kerberos/include -pthread -g -O2 -MT libicehttpp_la-httpp.lo -MD -MP -MF .deps/libicehttpp_la-httpp.Tpo -c httpp.c  -fPIC -DPIC -o .libs/libicehttpp_la-httpp.o
 gcc -DHAVE_CONFIG_H -I. -I../.. -I./.. -Wall -ffast-math -fsigned-char -I/usr/include/libxml2 -I/usr/local/include -I/usr/kerberos/include -pthread -g -O2 -MT libicehttpp_la-httpp.lo -MD -MP -MF .deps/libicehttpp_la-httpp.Tpo -c httpp.c -o libicehttpp_la-httpp.o >/dev/null 2>&1
mv -f .deps/libicehttpp_la-httpp.Tpo .deps/libicehttpp_la-httpp.Plo
/bin/sh ../../libtool --tag=CC   --mode=link gcc -pthread -g -O2   -o libicehttpp.la  libicehttpp_la-httpp.lo
ar cru .libs/libicehttpp.a .libs/libicehttpp_la-httpp.o
ranlib .libs/libicehttpp.a
creating libicehttpp.la
(cd .libs && rm -f libicehttpp.la && ln -s ../libicehttpp.la libicehttpp.la)
make[3]: Leaving directory `/root/icecast-2.3.2/src/httpp'
Making all in net
make[3]: Entering directory `/root/icecast-2.3.2/src/net'
/bin/sh ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I./..   -pthread -g -O2 -MT libicenet_la-sock.lo -MD -MP -MF .deps/libicenet_la-sock.Tpo -c -o libicenet_la-sock.lo `test -f 'sock.c' || echo './'`sock.c
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I../.. -I./.. -pthread -g -O2 -MT libicenet_la-sock.lo -MD -MP -MF .deps/libicenet_la-sock.Tpo -c sock.c  -fPIC -DPIC -o .libs/libicenet_la-sock.o
 gcc -DHAVE_CONFIG_H -I. -I../.. -I./.. -pthread -g -O2 -MT libicenet_la-sock.lo -MD -MP -MF .deps/libicenet_la-sock.Tpo -c sock.c -o libicenet_la-sock.o >/dev/null 2>&1
mv -f .deps/libicenet_la-sock.Tpo .deps/libicenet_la-sock.Plo
/bin/sh ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I./..   -pthread -g -O2 -MT libicenet_la-resolver.lo -MD -MP -MF .deps/libicenet_la-resolver.Tpo -c -o libicenet_la-resolver.lo `test -f 'resolver.c' || echo './'`resolver.c
 gcc -DHAVE_CONFIG_H -I. -I../.. -I./.. -pthread -g -O2 -MT libicenet_la-resolver.lo -MD -MP -MF .deps/libicenet_la-resolver.Tpo -c resolver.c  -fPIC -DPIC -o .libs/libicenet_la-resolver.o
 gcc -DHAVE_CONFIG_H -I. -I../.. -I./.. -pthread -g -O2 -MT libicenet_la-resolver.lo -MD -MP -MF .deps/libicenet_la-resolver.Tpo -c resolver.c -o libicenet_la-resolver.o >/dev/null 2>&1
mv -f .deps/libicenet_la-resolver.Tpo .deps/libicenet_la-resolver.Plo
/bin/sh ../../libtool --tag=CC   --mode=link gcc -pthread -g -O2   -o libicenet.la  libicenet_la-sock.lo libicenet_la-resolver.lo
ar cru .libs/libicenet.a .libs/libicenet_la-sock.o .libs/libicenet_la-resolver.o
ranlib .libs/libicenet.a
creating libicenet.la
(cd .libs && rm -f libicenet.la && ln -s ../libicenet.la libicenet.la)
make[3]: Leaving directory `/root/icecast-2.3.2/src/net'
Making all in log
make[3]: Entering directory `/root/icecast-2.3.2/src/log'
/bin/sh ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..    -pthread -g -O2 -MT log.lo -MD -MP -MF .deps/log.Tpo -c -o log.lo log.c
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I../.. -pthread -g -O2 -MT log.lo -MD -MP -MF .deps/log.Tpo -c log.c  -fPIC -DPIC -o .libs/log.o
 gcc -DHAVE_CONFIG_H -I. -I../.. -pthread -g -O2 -MT log.lo -MD -MP -MF .deps/log.Tpo -c log.c -o log.o >/dev/null 2>&1
mv -f .deps/log.Tpo .deps/log.Plo
/bin/sh ../../libtool --tag=CC   --mode=link gcc -pthread -g -O2   -o libicelog.la  log.lo
ar cru .libs/libicelog.a .libs/log.o
ranlib .libs/libicelog.a
creating libicelog.la
(cd .libs && rm -f libicelog.la && ln -s ../libicelog.la libicelog.la)
make[3]: Leaving directory `/root/icecast-2.3.2/src/log'
Making all in timing
make[3]: Entering directory `/root/icecast-2.3.2/src/timing'
/bin/sh ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..    -pthread -g -O2 -MT libicetiming_la-timing.lo -MD -MP -MF .deps/libicetiming_la-timing.Tpo -c -o libicetiming_la-timing.lo `test -f 'timing.c' || echo './'`timing.c
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I../.. -pthread -g -O2 -MT libicetiming_la-timing.lo -MD -MP -MF .deps/libicetiming_la-timing.Tpo -c timing.c  -fPIC -DPIC -o .libs/libicetiming_la-timing.o
 gcc -DHAVE_CONFIG_H -I. -I../.. -pthread -g -O2 -MT libicetiming_la-timing.lo -MD -MP -MF .deps/libicetiming_la-timing.Tpo -c timing.c -o libicetiming_la-timing.o >/dev/null 2>&1
mv -f .deps/libicetiming_la-timing.Tpo .deps/libicetiming_la-timing.Plo
/bin/sh ../../libtool --tag=CC   --mode=link gcc -pthread -g -O2   -o libicetiming.la  libicetiming_la-timing.lo
ar cru .libs/libicetiming.a .libs/libicetiming_la-timing.o
ranlib .libs/libicetiming.a
creating libicetiming.la
(cd .libs && rm -f libicetiming.la && ln -s ../libicetiming.la libicetiming.la)
make[3]: Leaving directory `/root/icecast-2.3.2/src/timing'
make[3]: Entering directory `/root/icecast-2.3.2/src'
gcc -DHAVE_CONFIG_H -I. -I..  -Wall -ffast-math -fsigned-char -I/usr/include/libxml2 -I/usr/local/include -I/usr/kerberos/include  -pthread -g -O2 -MT cfgfile.o -MD -MP -MF .deps/cfgfile.Tpo -c -o cfgfile.o cfgfile.c
cfgfile.c: In function ‘config_clear’:
cfgfile.c:172: warning: unused variable ‘i’
mv -f .deps/cfgfile.Tpo .deps/cfgfile.Po
gcc -DHAVE_CONFIG_H -I. -I..  -Wall -ffast-math -fsigned-char -I/usr/include/libxml2 -I/usr/local/include -I/usr/kerberos/include  -pthread -g -O2 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c
mv -f .deps/main.Tpo .deps/main.Po
gcc -DHAVE_CONFIG_H -I. -I..  -Wall -ffast-math -fsigned-char -I/usr/include/libxml2 -I/usr/local/include -I/usr/kerberos/include  -pthread -g -O2 -MT logging.o -MD -MP -MF .deps/logging.Tpo -c -o logging.o logging.c
mv -f .deps/logging.Tpo .deps/logging.Po
gcc -DHAVE_CONFIG_H -I. -I..  -Wall -ffast-math -fsigned-char -I/usr/include/libxml2 -I/usr/local/include -I/usr/kerberos/include  -pthread -g -O2 -MT sighandler.o -MD -MP -MF .deps/sighandler.Tpo -c -o sighandler.o sighandler.c
mv -f .deps/sighandler.Tpo .deps/sighandler.Po
gcc -DHAVE_CONFIG_H -I. -I..  -Wall -ffast-math -fsigned-char -I/usr/include/libxml2 -I/usr/local/include -I/usr/kerberos/include  -pthread -g -O2 -MT connection.o -MD -MP -MF .deps/connection.Tpo -c -o connection.o connection.c
mv -f .deps/connection.Tpo .deps/connection.Po
gcc -DHAVE_CONFIG_H -I. -I..  -Wall -ffast-math -fsigned-char -I/usr/include/libxml2 -I/usr/local/include -I/usr/kerberos/include  -pthread -g -O2 -MT global.o -MD -MP -MF .deps/global.Tpo -c -o global.o global.c
mv -f .deps/global.Tpo .deps/global.Po
gcc -DHAVE_CONFIG_H -I. -I..  -Wall -ffast-math -fsigned-char -I/usr/include/libxml2 -I/usr/local/include -I/usr/kerberos/include  -pthread -g -O2 -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o util.c
mv -f .deps/util.Tpo .deps/util.Po
gcc -DHAVE_CONFIG_H -I. -I..  -Wall -ffast-math -fsigned-char -I/usr/include/libxml2 -I/usr/local/include -I/usr/kerberos/include  -pthread -g -O2 -MT slave.o -MD -MP -MF .deps/slave.Tpo -c -o slave.o slave.c
mv -f .deps/slave.Tpo .deps/slave.Po
gcc -DHAVE_CONFIG_H -I. -I..  -Wall -ffast-math -fsigned-char -I/usr/include/libxml2 -I/usr/local/include -I/usr/kerberos/include  -pthread -g -O2 -MT source.o -MD -MP -MF .deps/source.Tpo -c -o source.o source.c
mv -f .deps/source.Tpo .deps/source.Po
gcc -DHAVE_CONFIG_H -I. -I..  -Wall -ffast-math -fsigned-char -I/usr/include/libxml2 -I/usr/local/include -I/usr/kerberos/include  -pthread -g -O2 -MT stats.o -MD -MP -MF .deps/stats.Tpo -c -o stats.o stats.c
mv -f .deps/stats.Tpo .deps/stats.Po
gcc -DHAVE_CONFIG_H -I. -I..  -Wall -ffast-math -fsigned-char -I/usr/include/libxml2 -I/usr/local/include -I/usr/kerberos/include  -pthread -g -O2 -MT refbuf.o -MD -MP -MF .deps/refbuf.Tpo -c -o refbuf.o refbuf.c
mv -f .deps/refbuf.Tpo .deps/refbuf.Po
gcc -DHAVE_CONFIG_H -I. -I..  -Wall -ffast-math -fsigned-char -I/usr/include/libxml2 -I/usr/local/include -I/usr/kerberos/include  -pthread -g -O2 -MT client.o -MD -MP -MF .deps/client.Tpo -c -o client.o client.c
mv -f .deps/client.Tpo .deps/client.Po
gcc -DHAVE_CONFIG_H -I. -I..  -Wall -ffast-math -fsigned-char -I/usr/include/libxml2 -I/usr/local/include -I/usr/kerberos/include  -pthread -g -O2 -MT xslt.o -MD -MP -MF .deps/xslt.Tpo -c -o xslt.o xslt.c
mv -f .deps/xslt.Tpo .deps/xslt.Po
gcc -DHAVE_CONFIG_H -I. -I..  -Wall -ffast-math -fsigned-char -I/usr/include/libxml2 -I/usr/local/include -I/usr/kerberos/include  -pthread -g -O2 -MT fserve.o -MD -MP -MF .deps/fserve.Tpo -c -o fserve.o fserve.c
mv -f .deps/fserve.Tpo .deps/fserve.Po
gcc -DHAVE_CONFIG_H -I. -I..  -Wall -ffast-math -fsigned-char -I/usr/include/libxml2 -I/usr/local/include -I/usr/kerberos/include  -pthread -g -O2 -MT event.o -MD -MP -MF .deps/event.Tpo -c -o event.o event.c
mv -f .deps/event.Tpo .deps/event.Po
gcc -DHAVE_CONFIG_H -I. -I..  -Wall -ffast-math -fsigned-char -I/usr/include/libxml2 -I/usr/local/include -I/usr/kerberos/include  -pthread -g -O2 -MT admin.o -MD -MP -MF .deps/admin.Tpo -c -o admin.o admin.c
mv -f .deps/admin.Tpo .deps/admin.Po
gcc -DHAVE_CONFIG_H -I. -I..  -Wall -ffast-math -fsigned-char -I/usr/include/libxml2 -I/usr/local/include -I/usr/kerberos/include  -pthread -g -O2 -MT md5.o -MD -MP -MF .deps/md5.Tpo -c -o md5.o md5.c
mv -f .deps/md5.Tpo .deps/md5.Po
gcc -DHAVE_CONFIG_H -I. -I..  -Wall -ffast-math -fsigned-char -I/usr/include/libxml2 -I/usr/local/include -I/usr/kerberos/include  -pthread -g -O2 -MT format.o -MD -MP -MF .deps/format.Tpo -c -o format.o format.c
mv -f .deps/format.Tpo .deps/format.Po
gcc -DHAVE_CONFIG_H -I. -I..  -Wall -ffast-math -fsigned-char -I/usr/include/libxml2 -I/usr/local/include -I/usr/kerberos/include  -pthread -g -O2 -MT format_ogg.o -MD -MP -MF .deps/format_ogg.Tpo -c -o format_ogg.o format_ogg.c
mv -f .deps/format_ogg.Tpo .deps/format_ogg.Po
gcc -DHAVE_CONFIG_H -I. -I..  -Wall -ffast-math -fsigned-char -I/usr/include/libxml2 -I/usr/local/include -I/usr/kerberos/include  -pthread -g -O2 -MT format_mp3.o -MD -MP -MF .deps/format_mp3.Tpo -c -o format_mp3.o format_mp3.c
mv -f .deps/format_mp3.Tpo .deps/format_mp3.Po
gcc -DHAVE_CONFIG_H -I. -I..  -Wall -ffast-math -fsigned-char -I/usr/include/libxml2 -I/usr/local/include -I/usr/kerberos/include  -pthread -g -O2 -MT format_midi.o -MD -MP -MF .deps/format_midi.Tpo -c -o format_midi.o format_midi.c
mv -f .deps/format_midi.Tpo .deps/format_midi.Po
gcc -DHAVE_CONFIG_H -I. -I..  -Wall -ffast-math -fsigned-char -I/usr/include/libxml2 -I/usr/local/include -I/usr/kerberos/include  -pthread -g -O2 -MT format_flac.o -MD -MP -MF .deps/format_flac.Tpo -c -o format_flac.o format_flac.c
mv -f .deps/format_flac.Tpo .deps/format_flac.Po
gcc -DHAVE_CONFIG_H -I. -I..  -Wall -ffast-math -fsigned-char -I/usr/include/libxml2 -I/usr/local/include -I/usr/kerberos/include  -pthread -g -O2 -MT auth.o -MD -MP -MF .deps/auth.Tpo -c -o auth.o auth.c
mv -f .deps/auth.Tpo .deps/auth.Po
gcc -DHAVE_CONFIG_H -I. -I..  -Wall -ffast-math -fsigned-char -I/usr/include/libxml2 -I/usr/local/include -I/usr/kerberos/include  -pthread -g -O2 -MT auth_htpasswd.o -MD -MP -MF .deps/auth_htpasswd.Tpo -c -o auth_htpasswd.o auth_htpasswd.c
mv -f .deps/auth_htpasswd.Tpo .deps/auth_htpasswd.Po
gcc -DHAVE_CONFIG_H -I. -I..  -Wall -ffast-math -fsigned-char -I/usr/include/libxml2 -I/usr/local/include -I/usr/kerberos/include  -pthread -g -O2 -MT format_kate.o -MD -MP -MF .deps/format_kate.Tpo -c -o format_kate.o format_kate.c
mv -f .deps/format_kate.Tpo .deps/format_kate.Po
gcc -DHAVE_CONFIG_H -I. -I..  -Wall -ffast-math -fsigned-char -I/usr/include/libxml2 -I/usr/local/include -I/usr/kerberos/include  -pthread -g -O2 -MT format_skeleton.o -MD -MP -MF .deps/format_skeleton.Tpo -c -o format_skeleton.o format_skeleton.c
mv -f .deps/format_skeleton.Tpo .deps/format_skeleton.Po
gcc -DHAVE_CONFIG_H -I. -I..  -Wall -ffast-math -fsigned-char -I/usr/include/libxml2 -I/usr/local/include -I/usr/kerberos/include  -pthread -g -O2 -MT format_vorbis.o -MD -MP -MF .deps/format_vorbis.Tpo -c -o format_vorbis.o format_vorbis.c
mv -f .deps/format_vorbis.Tpo .deps/format_vorbis.Po
gcc -DHAVE_CONFIG_H -I. -I..  -Wall -ffast-math -fsigned-char -I/usr/include/libxml2 -I/usr/local/include -I/usr/kerberos/include  -pthread -g -O2 -MT format_speex.o -MD -MP -MF .deps/format_speex.Tpo -c -o format_speex.o format_speex.c
mv -f .deps/format_speex.Tpo .deps/format_speex.Po
/bin/sh ../libtool --tag=CC   --mode=link gcc -pthread -g -O2 -L/usr/local/lib   -o icecast cfgfile.o main.o logging.o sighandler.o connection.o global.o util.o slave.o source.o stats.o refbuf.o client.o xslt.o fserve.o event.o admin.o md5.o format.o format_ogg.o format_mp3.o format_midi.o format_flac.o auth.o auth_htpasswd.o format_kate.o format_skeleton.o format_vorbis.o format_speex.o net/libicenet.la thread/libicethread.la httpp/libicehttpp.la log/libicelog.la avl/libiceavl.la timing/libicetiming.la  -L/usr/kerberos/lib64 -lssl -lcrypto -ldl   -lspeex -logg  -lvorbis  -L/usr/lib64 -lxslt -lxml2 -lz -lm
mkdir .libs
gcc -pthread -g -O2 -o icecast cfgfile.o main.o logging.o sighandler.o connection.o global.o util.o slave.o source.o stats.o refbuf.o client.o xslt.o fserve.o event.o admin.o md5.o format.o format_ogg.o format_mp3.o format_midi.o format_flac.o auth.o auth_htpasswd.o format_kate.o format_skeleton.o format_vorbis.o format_speex.o  -L/usr/local/lib net/.libs/libicenet.a thread/.libs/libicethread.a httpp/.libs/libicehttpp.a log/.libs/libicelog.a avl/.libs/libiceavl.a timing/.libs/libicetiming.a -L/usr/kerberos/lib64 -lssl -lcrypto -lspeex -logg -lvorbis -L/usr/lib64 -lxslt /usr/lib64/libxml2.so -ldl -lz -lm
make[3]: Leaving directory `/root/icecast-2.3.2/src'
make[2]: Leaving directory `/root/icecast-2.3.2/src'
Making all in conf
make[2]: Entering directory `/root/icecast-2.3.2/conf'
sed -e 's,@pkgdatadir\@,/usr/local/share/icecast,g' -e 's,@localstatedir\@,/usr/local/var,g' -e 's,@PACKAGE\@,icecast,g' ./icecast.xml.in > icecast.xml.dist
sed -e 's,@pkgdatadir\@,/usr/local/share/icecast,g' -e 's,@localstatedir\@,/usr/local/var,g' -e 's,@PACKAGE\@,icecast,g' ./icecast_minimal.xml.in > icecast_minimal.xml.dist
sed -e 's,@pkgdatadir\@,/usr/local/share/icecast,g' -e 's,@localstatedir\@,/usr/local/var,g' -e 's,@PACKAGE\@,icecast,g' ./icecast_shoutcast_compat.xml.in > icecast_shoutcast_compat.xml.dist
sed -e 's,@pkgdatadir\@,/usr/local/share/icecast,g' -e 's,@localstatedir\@,/usr/local/var,g' -e 's,@PACKAGE\@,icecast,g' ./icecast_urlauth.xml.in > icecast_urlauth.xml.dist
make[2]: Leaving directory `/root/icecast-2.3.2/conf'
Making all in debian
make[2]: Entering directory `/root/icecast-2.3.2/debian'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/icecast-2.3.2/debian'
Making all in doc
make[2]: Entering directory `/root/icecast-2.3.2/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/icecast-2.3.2/doc'
Making all in web
make[2]: Entering directory `/root/icecast-2.3.2/web'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/icecast-2.3.2/web'
Making all in admin
make[2]: Entering directory `/root/icecast-2.3.2/admin'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/icecast-2.3.2/admin'
Making all in win32
make[2]: Entering directory `/root/icecast-2.3.2/win32'
Making all in res
make[3]: Entering directory `/root/icecast-2.3.2/win32/res'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/icecast-2.3.2/win32/res'
make[3]: Entering directory `/root/icecast-2.3.2/win32'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/root/icecast-2.3.2/win32'
make[2]: Leaving directory `/root/icecast-2.3.2/win32'
Making all in examples
make[2]: Entering directory `/root/icecast-2.3.2/examples'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/icecast-2.3.2/examples'
make[2]: Entering directory `/root/icecast-2.3.2'
make[2]: Leaving directory `/root/icecast-2.3.2'
make[1]: Leaving directory `/root/icecast-2.3.2'
root@host [~/icecast-2.3.2]#

12)If you get NO ERRORS then continue on. If you get any error STOP as you can NOT INSTALL!

13) Time to install to the system

Code:
make install
Example output:
Code:
root@host [~/icecast-2.3.2]# make install
Making install in src
make[1]: Entering directory `/root/icecast-2.3.2/src'
Making install in avl
make[2]: Entering directory `/root/icecast-2.3.2/src/avl'
make[3]: Entering directory `/root/icecast-2.3.2/src/avl'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/root/icecast-2.3.2/src/avl'
make[2]: Leaving directory `/root/icecast-2.3.2/src/avl'
Making install in thread
make[2]: Entering directory `/root/icecast-2.3.2/src/thread'
make[3]: Entering directory `/root/icecast-2.3.2/src/thread'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/root/icecast-2.3.2/src/thread'
make[2]: Leaving directory `/root/icecast-2.3.2/src/thread'
Making install in httpp
make[2]: Entering directory `/root/icecast-2.3.2/src/httpp'
make[3]: Entering directory `/root/icecast-2.3.2/src/httpp'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/root/icecast-2.3.2/src/httpp'
make[2]: Leaving directory `/root/icecast-2.3.2/src/httpp'
Making install in net
make[2]: Entering directory `/root/icecast-2.3.2/src/net'
make[3]: Entering directory `/root/icecast-2.3.2/src/net'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/root/icecast-2.3.2/src/net'
make[2]: Leaving directory `/root/icecast-2.3.2/src/net'
Making install in log
make[2]: Entering directory `/root/icecast-2.3.2/src/log'
make[3]: Entering directory `/root/icecast-2.3.2/src/log'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/root/icecast-2.3.2/src/log'
make[2]: Leaving directory `/root/icecast-2.3.2/src/log'
Making install in timing
make[2]: Entering directory `/root/icecast-2.3.2/src/timing'
make[3]: Entering directory `/root/icecast-2.3.2/src/timing'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/root/icecast-2.3.2/src/timing'
make[2]: Leaving directory `/root/icecast-2.3.2/src/timing'
make[2]: Entering directory `/root/icecast-2.3.2/src'
make[3]: Entering directory `/root/icecast-2.3.2/src'
test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
  /bin/sh ../libtool --mode=install /usr/bin/install -c 'icecast' '/usr/local/bin/icecast'
/usr/bin/install -c icecast /usr/local/bin/icecast
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/root/icecast-2.3.2/src'
make[2]: Leaving directory `/root/icecast-2.3.2/src'
make[1]: Leaving directory `/root/icecast-2.3.2/src'
Making install in conf
make[1]: Entering directory `/root/icecast-2.3.2/conf'
make[2]: Entering directory `/root/icecast-2.3.2/conf'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/share/icecast/doc" || /bin/mkdir -p "/usr/local/share/icecast/doc"
 /usr/bin/install -c -m 644 'icecast.xml.dist' '/usr/local/share/icecast/doc/icecast.xml.dist'
 /usr/bin/install -c -m 644 'icecast_minimal.xml.dist' '/usr/local/share/icecast/doc/icecast_minimal.xml.dist'
 /usr/bin/install -c -m 644 'icecast_shoutcast_compat.xml.dist' '/usr/local/share/icecast/doc/icecast_shoutcast_compat.xml.dist'
 /usr/bin/install -c -m 644 'icecast_urlauth.xml.dist' '/usr/local/share/icecast/doc/icecast_urlauth.xml.dist'
make  install-data-hook
make[3]: Entering directory `/root/icecast-2.3.2/conf'
/bin/sh ../mkinstalldirs /usr/local/etc
test -f /usr/local/etc/icecast.xml || \
        /usr/bin/install -c -m 644 icecast.xml.dist /usr/local/etc/icecast.xml
make[3]: Leaving directory `/root/icecast-2.3.2/conf'
make[2]: Leaving directory `/root/icecast-2.3.2/conf'
make[1]: Leaving directory `/root/icecast-2.3.2/conf'
Making install in debian
make[1]: Entering directory `/root/icecast-2.3.2/debian'
make[2]: Entering directory `/root/icecast-2.3.2/debian'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/icecast-2.3.2/debian'
make[1]: Leaving directory `/root/icecast-2.3.2/debian'
Making install in doc
make[1]: Entering directory `/root/icecast-2.3.2/doc'
make[2]: Entering directory `/root/icecast-2.3.2/doc'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/share/doc/icecast" || /bin/mkdir -p "/usr/local/share/doc/icecast"
 /usr/bin/install -c -m 644 'index.html' '/usr/local/share/doc/icecast/index.html'
 /usr/bin/install -c -m 644 'icecast2_admin.html' '/usr/local/share/doc/icecast/icecast2_admin.html'
 /usr/bin/install -c -m 644 'icecast2_basicsetup.html' '/usr/local/share/doc/icecast/icecast2_basicsetup.html'
 /usr/bin/install -c -m 644 'icecast2_config_file.html' '/usr/local/share/doc/icecast/icecast2_config_file.html'
 /usr/bin/install -c -m 644 'icecast2_faq.html' '/usr/local/share/doc/icecast/icecast2_faq.html'
 /usr/bin/install -c -m 644 'icecast2_glossary.html' '/usr/local/share/doc/icecast/icecast2_glossary.html'
 /usr/bin/install -c -m 644 'icecast2_introduction.html' '/usr/local/share/doc/icecast/icecast2_introduction.html'
 /usr/bin/install -c -m 644 'icecast2_relay.html' '/usr/local/share/doc/icecast/icecast2_relay.html'
 /usr/bin/install -c -m 644 'icecast2_stats.html' '/usr/local/share/doc/icecast/icecast2_stats.html'
 /usr/bin/install -c -m 644 'icecast2_win32.html' '/usr/local/share/doc/icecast/icecast2_win32.html'
 /usr/bin/install -c -m 644 'icecast2_yp.html' '/usr/local/share/doc/icecast/icecast2_yp.html'
 /usr/bin/install -c -m 644 'icecast2_listenerauth.html' '/usr/local/share/doc/icecast/icecast2_listenerauth.html'
 /usr/bin/install -c -m 644 'icecast2_changes.html' '/usr/local/share/doc/icecast/icecast2_changes.html'
 /usr/bin/install -c -m 644 'listener_auth1.jpg' '/usr/local/share/doc/icecast/listener_auth1.jpg'
 /usr/bin/install -c -m 644 'listener_auth2.jpg' '/usr/local/share/doc/icecast/listener_auth2.jpg'
 /usr/bin/install -c -m 644 'listener_auth3.jpg' '/usr/local/share/doc/icecast/listener_auth3.jpg'
 /usr/bin/install -c -m 644 'masterslave.png' '/usr/local/share/doc/icecast/masterslave.png'
 /usr/bin/install -c -m 644 'relay.png' '/usr/local/share/doc/icecast/relay.png'
make[2]: Leaving directory `/root/icecast-2.3.2/doc'
make[1]: Leaving directory `/root/icecast-2.3.2/doc'
Making install in web
make[1]: Entering directory `/root/icecast-2.3.2/web'
make[2]: Entering directory `/root/icecast-2.3.2/web'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/share/icecast/web" || /bin/mkdir -p "/usr/local/share/icecast/web"
 /usr/bin/install -c -m 644 'status.xsl' '/usr/local/share/icecast/web/status.xsl'
 /usr/bin/install -c -m 644 'status2.xsl' '/usr/local/share/icecast/web/status2.xsl'
 /usr/bin/install -c -m 644 'corner_bottomleft.jpg' '/usr/local/share/icecast/web/corner_bottomleft.jpg'
 /usr/bin/install -c -m 644 'corner_bottomright.jpg' '/usr/local/share/icecast/web/corner_bottomright.jpg'
 /usr/bin/install -c -m 644 'corner_topleft.jpg' '/usr/local/share/icecast/web/corner_topleft.jpg'
 /usr/bin/install -c -m 644 'corner_topright.jpg' '/usr/local/share/icecast/web/corner_topright.jpg'
 /usr/bin/install -c -m 644 'icecast.png' '/usr/local/share/icecast/web/icecast.png'
 /usr/bin/install -c -m 644 'key.gif' '/usr/local/share/icecast/web/key.gif'
 /usr/bin/install -c -m 644 'style.css' '/usr/local/share/icecast/web/style.css'
 /usr/bin/install -c -m 644 'auth.xsl' '/usr/local/share/icecast/web/auth.xsl'
 /usr/bin/install -c -m 644 'server_version.xsl' '/usr/local/share/icecast/web/server_version.xsl'
 /usr/bin/install -c -m 644 'tunein.png' '/usr/local/share/icecast/web/tunein.png'
 /usr/bin/install -c -m 644 'key.png' '/usr/local/share/icecast/web/key.png'
make[2]: Leaving directory `/root/icecast-2.3.2/web'
make[1]: Leaving directory `/root/icecast-2.3.2/web'
Making install in admin
make[1]: Entering directory `/root/icecast-2.3.2/admin'
make[2]: Entering directory `/root/icecast-2.3.2/admin'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/share/icecast/admin" || /bin/mkdir -p "/usr/local/share/icec
 /usr/bin/install -c -m 644 'listclients.xsl' '/usr/local/share/icecast/admin/li
 /usr/bin/install -c -m 644 'listmounts.xsl' '/usr/local/share/icecast/admin/lis
 /usr/bin/install -c -m 644 'moveclients.xsl' '/usr/local/share/icecast/admin/mo
 /usr/bin/install -c -m 644 'response.xsl' '/usr/local/share/icecast/admin/respo
 /usr/bin/install -c -m 644 'stats.xsl' '/usr/local/share/icecast/admin/stats.xs
 /usr/bin/install -c -m 644 'manageauth.xsl' '/usr/local/share/icecast/admin/man
 /usr/bin/install -c -m 644 'updatemetadata.xsl' '/usr/local/share/icecast/admin
make[2]: Leaving directory `/root/icecast-2.3.2/admin'
make[1]: Leaving directory `/root/icecast-2.3.2/admin'
Making install in win32
make[1]: Entering directory `/root/icecast-2.3.2/win32'
Making install in res
make[2]: Entering directory `/root/icecast-2.3.2/win32/res'
make[3]: Entering directory `/root/icecast-2.3.2/win32/res'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/root/icecast-2.3.2/win32/res'
make[2]: Leaving directory `/root/icecast-2.3.2/win32/res'
make[2]: Entering directory `/root/icecast-2.3.2/win32'
make[3]: Entering directory `/root/icecast-2.3.2/win32'

root@host [/usr/local/etc]#
14) Now its time to do some other setup to run the IceCast server

15) Logs, IceCast needs a directory for its log

Code:
cd /usr/local/var/
mkdir log
cd log
mkdir icecast
chown nobody:nobody icecast
This creates the directory that Icecast needs and sets the permissions for the icecast daemon to access the directory.

16) Time to configure IceCast to run on your server

Code:
root@host [~]# cd /usr/local/etc
root@host [/usr/local/etc]# vi icecast.xml
This will start the vi editor (use EMACS, nano, or other editor if you like), you will need to be familar with
the vi editor (or your editor to make these changes, this HOWTO does not cover the editor commands).

The icecast.xml config :

Code:
root@host [/usr/local/etc]# cat icecast.xml
<icecast>
    <limits>
        <clients>100</clients>
        <sources>2</sources>
        <threadpool>5</threadpool>
        <queue-size>524288</queue-size>
        <client-timeout>30</client-timeout>
        <header-timeout>15</header-timeout>
        <source-timeout>10</source-timeout>
        <!-- If enabled, this will provide a burst of data when a client
             first connects, thereby significantly reducing the startup
             time for listeners that do substantial buffering. However,
             it also significantly increases latency between the source
             client and listening client.  For low-latency setups, you
             might want to disable this. -->
        <burst-on-connect>1</burst-on-connect>
        <!-- same as burst-on-connect, but this allows for being more
             specific on how much to burst. Most people won't need to
             change from the default 64k. Applies to all mountpoints  -->
        <burst-size>65535</burst-size>
    </limits>

    <authentication>
        <!-- Sources log in with username 'source' -->
        <source-password>SOURCE PASSWORD</source-password>
        <!-- Relays log in username 'relay' -->
        <relay-password>RELAY PASSWORD</relay-password>

        <!-- Admin logs in with the username given below -->
        <admin-user>admin</admin-user>
        <admin-password>ADMIN PASSWORD</admin-password>
    </authentication>

    <!-- set the mountpoint for a shoutcast source to use, the default if not
         specified is /stream but you can change it here if an alternative is
         wanted or an extension is required
    <shoutcast-mount>/live.nsv</shoutcast-mount>
    -->

    <!-- Uncomment this if you want directory listings -->
    <!--
    <directory>
        <yp-url-timeout>15</yp-url-timeout>
        <yp-url>http://dir.xiph.org/cgi-bin/yp-cgi</yp-url>
    </directory>
     -->

    <!-- This is the hostname other people will use to connect to your server.
    It affects mainly the urls generated by Icecast for playlists and yp
    listings. -->
    <hostname>YOUR IP HERE/YOU DOMAIN HERE</hostname>

    <!-- You may have multiple <listener> elements -->
    <listen-socket>
        <port>8000</port>
        <!-- <bind-address>127.0.0.1</bind-address> -->
        <!-- <shoutcast-mount>/stream</shoutcast-mount> -->
    </listen-socket>
    <!--
    <listen-socket>
        <port>8001</port>
    </listen-socket>
    -->

    <!--<master-server>127.0.0.1</master-server>-->
    <!--<master-server-port>8001</master-server-port>-->
    <!--<master-update-interval>120</master-update-interval>-->
    <!--<master-password>pass</master-password>-->

    <!-- setting this makes all relays on-demand unless overridden, this is
         useful for master relays which do not have <relay> definitions here.
         The default is 0 -->
    <!--<relays-on-demand>1</relays-on-demand>-->

    <!--
    <relay>
        <server>127.0.0.1</server>
        <port>8001</port>
        <mount>/example.ogg</mount>
        <local-mount>/different.ogg</local-mount>
        <on-demand>0</on-demand>

        <relay-shoutcast-metadata>0</relay-shoutcast-metadata>
    </relay>
    -->

    <!-- Only define a <mount> section if you want to use advanced options,
         like alternative usernames or passwords
    <mount>
        <mount-name>/example-complex.ogg</mount-name>

        <username>othersource</username>
        <password>hackmemore</password>

        <max-listeners>1</max-listeners>
        <dump-file>/tmp/dump-example1.ogg</dump-file>
        <burst-size>65536</burst-size>
        <fallback-mount>/example2.ogg</fallback-mount>
        <fallback-override>1</fallback-override>
        <fallback-when-full>1</fallback-when-full>
        <intro>/example_intro.ogg</intro>
        <hidden>1</hidden>
        <no-yp>1</no-yp>
        <authentication type="htpasswd">
                <option name="filename" value="myauth"/>
                <option name="allow_duplicate_users" value="0"/>
        </authentication>
        <on-connect>/home/icecast/bin/stream-start</on-connect>
        <on-disconnect>/home/icecast/bin/stream-stop</on-disconnect>
    </mount>

    <mount>
        <mount-name>/auth_example.ogg</mount-name>
        <authentication type="url">
            <option name="mount_add"       value="http://myauthserver.net/notify_mount.php"/>
            <option name="mount_remove"    value="http://myauthserver.net/notify_mount.php"/>
            <option name="listener_add"    value="http://myauthserver.net/notify_listener.php"/>
            <option name="listener_remove" value="http://myauthserver.net/notify_listener.php"/>
        </authentication>
    </mount>

    -->

    <fileserve>1</fileserve>

    <paths>
                <!-- basedir is only used if chroot is enabled -->
        <basedir>/usr/local/share/icecast</basedir>

        <!-- Note that if <chroot> is turned on below, these paths must both
             be relative to the new root, not the original root -->
        <logdir>/usr/local/var/log/icecast</logdir>
        <webroot>/usr/local/share/icecast/web</webroot>
        <adminroot>/usr/local/share/icecast/admin</adminroot>
        <!-- <pidfile>/usr/local/share/icecast/icecast.pid</pidfile> -->

        <!-- Aliases: treat requests for 'source' path as being for 'dest' path
             May be made specific to a port or bound address using the "port"
             and "bind-address" attributes.
          -->
        <!--
        <alias source="/foo" dest="/bar"/>
          -->
        <!-- Aliases: can also be used for simple redirections as well,
             this example will redirect all requests for http://server:port/ to
             the status page
          -->
        <alias source="/" dest="/status.xsl"/>
    </paths>

    <logging>
        <accesslog>access.log</accesslog>
        <errorlog>error.log</errorlog>
        <!-- <playlistlog>playlist.log</playlistlog> -->
        <loglevel>3</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
        <logsize>10000</logsize> <!-- Max size of a logfile -->
        <!-- If logarchive is enabled (1), then when logsize is reached
             the logfile will be moved to [error|access|playlist].log.DATESTAMP,
             otherwise it will be moved to [error|access|playlist].log.old.
             Default is non-archive mode (i.e. overwrite)
        -->
        <!-- <logarchive>1</logarchive> -->
    </logging>

    <security>
        <chroot>0</chroot>
        <!--
        <changeowner>
            <user>nobody</user>
            <group>nobody</group>
        </changeowner>
        -->
    </security>
</icecast>
You need to change the following lines:

Code:
<hostname>YOUR IP HERE/YOU DOMAIN HERE</hostname>

<authentication>
        <!-- Sources log in with username 'source' -->
        <source-password>SOURCE PASS</source-password>
        <!-- Relays log in username 'relay' -->
        <relay-password>ADMIN PASS</relay-password>

        <!-- Admin logs in with the username given below -->
        <admin-user>admin</admin-user>
        <admin-password>ADMIN PASS</admin-password>
    </authentication>
Put in your domain or IP as thats how you will access the IceCast server

CHANGE THE PASSWORDS to something else! ! !


*** IMPORTANT **** the following section must be uncommented and changed or your IceCast server will NOT RUN!

Code:
<security>
        <chroot>0</chroot>
        <!--
        <changeowner>
            <user>nobody</user>
            <group>nobody</group>
        </changeowner>
        -->
    </security>
See the
Code:
 <!-- and -->
These have to be removed and changed to the user your IceCast server will run as.

Code:
<security>
        <chroot>0</chroot>
        <changeowner>
            <user>nobody</user>
            <group>nobody</group>
        </changeowner>
    </security>
You can use the existing nobody user, or create another user for IceCast such as ice, icecast etc... That decision is left to you. If you create a new user change the ownership step to that user instead of nobody:nobody

17) With configuration complete its time to start the Icecast2 server

Code:
root@host [~]# icecast -b -c /usr/local/etc/icecast.xml
Starting icecast2
Detaching from the console
Changed groupid to 99.
Changed userid to 99.
root@host [~]#
The first line will start the IceCast server in the background (-b) with the config (-c) file at /usr/local/etc/icecast.xml
The additional lines show the sucessful starting of the server.

18) Check to see if its operating:

Code:
http://YOUR IP OR DOMAIN HERE!:8000/
What you should get is a web page with information out the streams on your server. As you have not started any then it will be blank.

19) You can login to the ADMIN area here:

Code:
http://YOUR IP HERE!:8000/admin
User: admin
pass: as listed in the icecast.xml config file

20) Next you need sources to see that its all working.

This is a quick example.... under Linux (I don't support winslobber.)

Get a copy of the DarkIce package for your distro

Debian and Debian based including *buntus and distros based on *buntu such as KMint (PRIOR to 9.04):

Debian's version is NEUTRED and can NOT STREAM in MP3 format! ! ! (Please don't bother to tell me about the IP etc. BS, I do NOT CARE about that BS, hint thats why I call it BS!) This version of DarkIce is limited to Ogg Vorbis. You will need to compile FROM SOURCE and have the LAME MP3 encoder installed on your system to stream in MP3 format.

*buntus and distros based on *buntu such as KMint FROM 9.04 and forward IS COMPILED with MP3 support installable from a DEB in the repos with out compiling

Code:
sudo apt-get install darkice
Will get you a copy from most distro's repos, taking the above note in to account.

You need to configure darkice

Code:
# sample DarkIce configuration file, edit for your needs before using
 # see the darkice.cfg man page for details
 
 # this section describes general aspects of the live streaming session
 [general]
 duration        = 00        # duration of encoding, in seconds. 0 means forever
 bufferSecs      = 5         # size of internal slip buffer, in seconds
 reconnect       = yes       # reconnect to the server(s) if disconnected
 
 # this section describes the audio input that will be streamed
 [input]
 device          = /dev/dsp  # OSS DSP soundcard device for the audio input
 sampleRate      = 22050     # sample rate in Hz. try 11025, 22050 or 44100
 bitsPerSample   = 16        # bits per sample. try 16
 channel         = 2         # channels. 1 = mono, 2 = stereo
 
 # this section describes a streaming connection to an IceCast server
 # there may be up to 8 of these sections, named [icecast-0] ... [icecast-7]
 # these can be mixed with [icecast2-x] and [shoutcast-x] sections
 
 # this section describes a streaming connection to an IceCast2 server
 # there may be up to 8 of these sections, named [icecast2-0] ... [icecast2-7]
 # these can be mixed with [icecast-x] and [shoutcast-x] sections
 [icecast2-0]
 bitrateMode     = abr       # average bit rate
 format          = vorbis    # format of the stream: ogg vorbis
 lowpass         = 5000
 bitrate         = 96        # bitrate of the stream sent to the server
 server          = ICECAST SERVER IP OR DOMAIN # host name of the server
 port            = 8000      # port of the IceCast2 server, usually 8000
 password        = SOURCE PASSWORD    # source password to the IceCast2 server
 mountPoint      = MOUNT NAME  # mount point of this stream on
 the IceCast2 server
 name            =  name                         # name of the stream
 description     =  description 		 # description of the stream
 url             = URL about the stream          # URL related to the stream
 genre           = GENRE    # genre of the stream
 public          = yes       # advertise this stream?
you can start darkice with:

Code:
darkice -c /path/to/darkice.cfg
You can get more info on the DarkIce software at:

Code:
man darkice
man darkice.cfg
Site: http://code.google.com/p/darkice/
Mailing List/Support: http://www.freelists.org/list/darkice

21) With a stream source active you shuold be able to open your media player such as Amarok and stream the source.

22) Support

Icecast Forums:
http://icecast.imux.net/


23) If you complete this HOWTO and have issues or questions or are successful please let me know.

If needed I can/will make corrections/additions etc..

Thanks.
Reply With Quote
  #14  
Old 12-07-2009, 08:06 AM
rec9140 rec9140 is offline
Junior Croc
 
Join Date: Jun 2007
Posts: 137
Default Re: VPS, IceCast and installation

One update to the HOWTO:

The symlink code should be as follows:

Code:
cd /usr/lib
rm libxml2.so
rm libxml2.so.2
ln -s /usr/lib/libxml2.so.2.6.26 /usr/lib/libxml2.so
ln -s /usr/lib/libxml2.so.2.6.26 /usr/lib/libxml2.so.2
cd /usr/lib64
rm libxml2.so
rm libxml2.so.2
ln -s /usr/lib/libxml2.so.2.6.26 /usr/lib64/libxml2.so
ln -s /usr/lib/libxml2.so.2.6.26 /usr/lib64/libxml2.so.2
This fixes the symlink the compiler needs for both the normal 32 bit (/usr/lib/) and the 64 bit (/usr/lib64/)


Thanks!
Reply With Quote
  #15  
Old 08-30-2010, 01:17 PM
Liquid_Squelch Liquid_Squelch is offline
Hatchling Croc
 
Join Date: Jun 2009
Posts: 31
Default Re: VPS, IceCast and installation

rec,
I know this thread is from the end of 2009, but I was wondering if you were still running Icecast on a VPS at Hostgator.

I'm currently on the babycroc plan, and was thinking of upgrading my account to VPS-3 so I can move my icecast install from my home pc to a server - as I now have remote feeds broadcasting to me as well as my own local lan connecting to the server for broadcast.

I'm looking for something that is stable, and won't go down if my commercial power, or ISP goes down.

The price difference from Babycroc to VPS 3 is a bit much, so I want to make sure I can use your tutorial for my site.

73
Phil / w2lie
www.w2lie.net
Reply With Quote
  #16  
Old 08-30-2010, 01:30 PM
rec9140 rec9140 is offline
Junior Croc
 
Join Date: Jun 2007
Posts: 137
Default Re: VPS, IceCast and installation

Quote:
Originally Posted by Liquid_Squelch View Post
rec,
I know this thread is from the end of 2009, but I was wondering if you were still running Icecast on a VPS at Hostgator.
www.w2lie.net
Yes, I still use the VPS for my IceCast server.

I currently have 4 stand alone feeds.. I have 2 feeds that send in dual format, OGG and MP3.. and one that is transcoded from OGG to MP3 on the VPS.

So the tutorial stands for use on the VPS.

If you run into questions you can post or PM regarding IceCast or streamTranscoder.
Reply With Quote
  #17  
Old 09-12-2010, 07:07 PM
Liquid_Squelch Liquid_Squelch is offline
Hatchling Croc
 
Join Date: Jun 2009
Posts: 31
Default Re: VPS, IceCast and installation

Ok - I just purchased the VPS-3, and I am getting the following error:

configure: error: XSLT configuration could not be found


I changed the symlinks as directed in post 14, but no luck.
I tried yum install libxslt-devel and that produced an error as well.

Any help? thanks
Reply With Quote
  #18  
Old 09-12-2010, 08:47 PM
rec9140 rec9140 is offline
Junior Croc
 
Join Date: Jun 2007
Posts: 137
Default Re: VPS, IceCast and installation

Your /usr/lib needs to look like this:

Code:
-rwxr-xr-x   1 root root    31132 Jan  9  2007 libXrender.so.1.3.0*
lrwxrwxrwx   1 root root       14 May 15 01:44 libXt.so.6 -> libXt.so.6.0.0*
-rwxr-xr-x   1 root root   353148 Mar 30 21:12 libXt.so.6.0.0*
lrwxrwxrwx   1 root root       16 Dec 16  2009 libXtst.so.6 -> libXtst.so.6.1.0*
-rwxr-xr-x   1 root root    18992 Jan  7  2007 libXtst.so.6.1.0*
-rwxr-xr-x   1 root root    92598 Jan  9  2007 libz.a*
Your /usr/lib64 needs to look like:

Code:
-rw-r--r--  1 root   root     364496 Jul 31  2008 libxslt.a                                                            
drwxr-xr-x  2 root   root       4096 Jul 31  2008 libxslt-plugins/                                                     
lrwxrwxrwx  1 root   root         17 Nov  4  2009 libxslt.so -> libxslt.so.1.1.17*                                     
lrwxrwxrwx  1 root   root         17 Nov  4  2009 libxslt.so.1 -> libxslt.so.1.1.17*
-rwxr-xr-x  1 root   root     217208 Jul 31  2008 libxslt.so.1.1.17*
lrwxrwxrwx  1 root   root         14 May 15 01:44 libXt.so.6 -> libXt.so.6.0.0*
-rwxr-xr-x  1 root   root     392736 Mar 30 21:10 libXt.so.6.0.0*
lrwxrwxrwx  1 root   root         16 Dec 16  2009 libXtst.so.6 -> libXtst.so.6.1.0*
-rwxr-xr-x  1 root   root      22128 Jan  6  2007 libXtst.so.6.1.0*
lrwxrwxrwx  1 root   root         19 Oct 30  2009 libXxf86vm.so.1 -> libXxf86vm.so.1.0.0*
-rwxr-xr-x  1 root   root      19216 Jan  7  2007 libXxf86vm.so.1.0.0*
-rwxr-xr-x  1 root   root     108660 Jan  9  2007 libz.a*
lrwxrwxrwx  1 root   root         13 Oct 30  2009 libz.so -> libz.so.1.2.3*
lrwxrwxrwx  1 root   root         13 Jan  9  2007 libz.so.1 -> libz.so.1.2.3*
-rwxr-xr-x  1 root   root      83344 Jan  9  2007 libz.so.1.2.3*
-rw-r--r--  1 root   root       1437 Mar 31 12:05 logging.properties
Till those symlinks are correct IceCast will not compile.

Look at the libxslt ones... like I said above till they are pointing to the version IC likes it will not work... they were already on the VPS unless HG has made changes to the base... then welll... all bets are off and welcome to fubar'd repo's and rpm and yum pergatory.
Reply With Quote
  #19  
Old 09-12-2010, 10:42 PM
Liquid_Squelch Liquid_Squelch is offline
Hatchling Croc
 
Join Date: Jun 2009
Posts: 31
Default Re: VPS, IceCast and installation

rec, I want to thank you right now for the help! I purchased the VPS specifically to run Icecast. If I can not make it work, then I have no need for the VPS...

My /usr/lib looks good. Everything Matches. My /usr/lib64 is a mess...

libxslt.a <missing>
libxslt-plugins/ <missing>
libxslt.so -> libxslt.so.1.1.17* <missing>
libxslt.so.1 -> libxslt.so.1.1.17* <missing>
libxslt.so.1.1.17* <missing>

libXt.so.6 -> libXt.so.6.0.0* <OK>
libXt.so.6.0.0* <OK>
libXtst.so.6 -> libXtst.so.6.1.0* <OK>
libXtst.so.6.1.0* <OK>
libXxf86vm.so.1 -> libXxf86vm.so.1.0.0* <OK>
libXxf86vm.so.1.0.0* <OK>
libz.a* <OK>
libz.so -> libz.so.1.2.3* <OK>
libz.so.1 -> libz.so.1.2.3* <OK>
libz.so.1.2.3* <OK>
logging.properties <OK>


When I try to install the devel package, i get the following in shell:
Code:
# yum install libxslt-devel
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

   /usr/lib64/libz.so.1: file too short

Please install a package which provides this module, or
verify that the module is installed correctly.

It's possible that the above module doesn't match the
current version of Python, which is:
2.4.3 (#1, Sep  3 2009, 15:37:37)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-46)]

If you cannot solve this problem yourself, please go to
the yum faq at:
  http://wiki.linux.duke.edu/YumFaq
I guess a ticket will be opened for support...
Reply With Quote
  #20  
Old 09-13-2010, 06:25 AM
Liquid_Squelch Liquid_Squelch is offline
Hatchling Croc
 
Join Date: Jun 2009
Posts: 31
Default Re: VPS, IceCast and installation

This wasn't the answer I was looking for:

Quote:
Hi,

The problem with yum is the result of your attempt at installing Icecast and symlinking to 32 bit libraries. The VPS's OS is 64 bit, as such you cant arbitrarily make symlinks to /usr/lib. These are only provided for supporting 32 bit software.

Example:
-bash-3.2# ls -l /usr/lib64/libxml2.*
-rw-r--r-- 1 root root 2067672 Aug 10 2009 /usr/lib64/libxml2.a
lrwxrwxrwx 1 root root 26 Sep 12 20:04 /usr/lib64/libxml2.so -> /usr/lib/libxml2.so.2.6.26
lrwxrwxrwx 1 root root 26 Sep 12 20:04 /usr/lib64/libxml2.so.2 -> /usr/lib/libxml2.so.2.6.26
-rwxr-xr-x 1 root root 1294744 Aug 10 2009 /usr/lib64/libxml2.so.2.6.26
-bash-3.2#

I have corrected the issues by manually replacing the files in your /usr/lib64 directory with working files. Please make sure that if you are following a tutorial somewhere that you make sure it is for a 64 Bit OS.

Please let us know if you have any questions or require further assistance.

Thank you,
Larry Brower
Level II Linux Systems Administrator
HostGator.com LLC
http://support.hostgator.com
I will have to play around more tonight.
Reply With Quote
  #21  
Old 09-13-2010, 07:46 AM
rec9140 rec9140 is offline
Junior Croc
 
Join Date: Jun 2007
Posts: 137
Default Re: VPS, IceCast and installation

Quote:
Originally Posted by Liquid_Squelch View Post
This wasn't the answer I was looking for:



I will have to play around more tonight.
The tutorial is for BOTH 64 and 32 bit CentOS 5.x.

Thats why you do this in both /usr/lib (32bit) and /usr/lib64 (64 bit)

libxslt is ON the server unless HG has played with the base OS.....all that needs updated is the symlinks so that it finds the correct version that IC likes.

Code:
d /usr/lib
rm libxml2.so
rm libxml2.so.2
ln -s /usr/lib/libxml2.so.2.6.26 /usr/lib/libxml2.so
ln -s /usr/lib/libxml2.so.2.6.26 /usr/lib/libxml2.so.2
cd /usr/lib64
rm libxml2.so
rm libxml2.so.2
ln -s /usr/lib64/libxml2.so.2.6.26 /usr/lib64/libxml2.so
ln -s /usr/lib64/libxml2.so.2.6.26 /usr/lib64/libxml2.so.2
Reply With Quote
  #22  
Old 09-13-2010, 01:35 PM
Liquid_Squelch Liquid_Squelch is offline
Hatchling Croc
 
Join Date: Jun 2009
Posts: 31
Default Re: VPS, IceCast and installation

rec,
Thanks for the help, my icecast server is alive. All I need to do now is load it on up!

I thought I configured a relay mount on there, but I guess I didn't.

All I need to figure out now is how to do http://sub.<mydomain> instead of <mydomain>:8005

Thanks again!
Reply With Quote
  #23  
Old 09-13-2010, 01:51 PM
rec9140 rec9140 is offline
Junior Croc
 
Join Date: Jun 2007
Posts: 137
Default Re: VPS, IceCast and installation

Quote:
Originally Posted by Liquid_Squelch View Post
rec,

I thought I configured a relay mount on there, but I guess I didn't.

All I need to figure out now is how to do http://sub.<mydomain> instead of <mydomain>:8005

Thanks again!
is this sub a SUB DOMAIN or a HOSTNAME..

if its a HOSTNAME..

Set up an A Record in your DNS and point it to your VPS IP.

I have : audio.mydomain.invalid setup in my DNS to point to my VPS .... although I think if you set in the icecast.xml

<host>sub.mydomain.invalid</host> that should fly or even better just use the IP <host>my.ip.dot.address</host> and then any thing that resolves to that IP will work... unless you ONLY want x.y.tld to work.

if is an EXSTING subdomain then you probably need to get HG involved..

If you have NOT added this in CPanel as subdomain then again and you not planning to have subdomain.maindomain.invalid as a WEB SITE then I would just put an A record in DNS and be done...
Reply With Quote
  #24  
Old 09-13-2010, 02:06 PM
Liquid_Squelch Liquid_Squelch is offline
Hatchling Croc
 
Join Date: Jun 2009
Posts: 31
Default Re: VPS, IceCast and installation

Here is where I really bank hard on the learning curve !

I currently have domain.com setup and I plan on running a website there.
Right now, Icecast responds to domain.com:8005
I would like everyone coming to sub.domain.com to hit icecast instead of using the "8005" port.

I've set the hostname in Icecast to my IP address.

I currently do not have a subdomain setup in Cpanel for this purpose. I'm trying to figure out to get sub.domain.com to point to domain.com:8005 with out "redirects".

I've looked at my A Records, and I couldn't see where to point to a port.

Thanks again.. I can see light at the end of the tunnel - I just hope it isn't the train
Reply With Quote
  #25  
Old 09-13-2010, 02:20 PM
rec9140 rec9140 is offline
Junior Croc
 
Join Date: Jun 2007
Posts: 137
Default Re: VPS, IceCast and installation

Quote:
Originally Posted by Liquid_Squelch View Post
Here is where I really bank hard on the learning curve !

I currently have domain.com setup and I plan on running a website there.
Right now, Icecast responds to domain.com:8005
I would like everyone coming to sub.domain.com to hit icecast instead of using the "8005" port.
Thats a totally different deal... which is beyond me. Setting A records will NOT get around specifying the port the IC is running on.

You probably could do this using iptables to this... but with Apache on port 80 its going to take some tweaking to do this... you will have to see if one of the TCP/IP and iptables people here can assist..
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What to do with my VPS? jonel Linux VPS Support 7 10-31-2009 10:13 PM
Can we do these in VPS? jonel Linux VPS Support 5 10-29-2009 01:12 AM
Vps UNLEASH Suggestions 6 07-20-2008 03:56 PM
I want to install icecast or shoutcast my semi dedicated server mana82 Shared Hosting Support 5 09-14-2007 02:39 AM
VPS again cjnoyes Suggestions 32 11-29-2006 08:49 PM

All times are GMT -5. The time now is 07:36 AM.