Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to instal Icecast KH branch on Centos 5 (64 bit)

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
adabisnis



Joined: 31 Jul 2012
Posts: 14
Location: Indonesia

PostPosted: Tue Jul 31, 2012 1:47 pm    Post subject: How to instal Icecast KH branch on Centos 5 (64 bit) Reply with quote

Hello,

I'm new on icecast and centos. Please give me a tutorial (A-Z) about how to instal icecast KH branch on centos 5. I have access to my VPS via SSH (Root).

Thank you for your help
_________________
Klikhost.com
Back to top
View user's profile Send private message Yahoo Messenger
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Jul 31, 2012 2:15 pm    Post subject: Reply with quote

Just do the usual procedures for most source packages. Download the tarball, unpack it, run configure, if there's anything flagging up as missing then then install the dependency and configure again. make or make debug and then make install

you should be able to use any existing xml file without any changes

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
adabisnis



Joined: 31 Jul 2012
Posts: 14
Location: Indonesia

PostPosted: Tue Jul 31, 2012 3:58 pm    Post subject: Reply with quote

Then i type this on ssh : make install
But this error was found.


root@n [~/icecast-2.3.3-kh2]# make install
Making install in conf
make[1]: Entering directory `/root/icecast-2.3.3-kh2/conf'
make[2]: Entering directory `/root/icecast-2.3.3-kh2/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 icecast_minimal.xml.dist icecast_shoutcast_compat.xml.dist '/usr/local/share/icecast/doc'
make install-data-hook
make[3]: Entering directory `/root/icecast-2.3.3-kh2/conf'
/bin/sh /root/icecast-2.3.3-kh2/install-sh -d /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.3-kh2/conf'
make[2]: Leaving directory `/root/icecast-2.3.3-kh2/conf'
make[1]: Leaving directory `/root/icecast-2.3.3-kh2/conf'
Making install in doc
make[1]: Entering directory `/root/icecast-2.3.3-kh2/doc'
make[2]: Entering directory `/root/icecast-2.3.3-kh2/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 icecast2_admin.html icecast2_basicsetup.html icecast2_config_file.html icecast2_faq.html icecast2_glossary.html icecast2_introduction.html icecast2_relay.html icecast2_stats.html icecast2_win32.html icecast2_yp.html icecast2_listenerauth.html '/usr/local/share/doc/icecast'
make[2]: Leaving directory `/root/icecast-2.3.3-kh2/doc'
make[1]: Leaving directory `/root/icecast-2.3.3-kh2/doc'
Making install in web
make[1]: Entering directory `/root/icecast-2.3.3-kh2/web'
Making install in images
make[2]: Entering directory `/root/icecast-2.3.3-kh2/web/images'
make[3]: Entering directory `/root/icecast-2.3.3-kh2/web/images'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/share/icecast/web/images" || /bin/mkdir -p "/usr/local/share/icecast/web/images"
/usr/bin/install -c -m 644 corner_bottomleft.jpg corner_bottomright.jpg corner_topleft.jpg corner_topright.jpg icecast.png key.png tunein.png '/usr/local/share/icecast/web/images'
make[3]: Leaving directory `/root/icecast-2.3.3-kh2/web/images'
make[2]: Leaving directory `/root/icecast-2.3.3-kh2/web/images'
make[2]: Entering directory `/root/icecast-2.3.3-kh2/web'
make[3]: Entering directory `/root/icecast-2.3.3-kh2/web'
make[3]: 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 status2.xsl style.css auth.xsl server_version.xsl 7.xsl adminbar.html statusbar.html admin.html index.html favicon.ico '/usr/local/share/icecast/web'
make[3]: Leaving directory `/root/icecast-2.3.3-kh2/web'
make[2]: Leaving directory `/root/icecast-2.3.3-kh2/web'
make[1]: Leaving directory `/root/icecast-2.3.3-kh2/web'
Making install in admin
make[1]: Entering directory `/root/icecast-2.3.3-kh2/admin'
make[2]: Entering directory `/root/icecast-2.3.3-kh2/admin'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/share/icecast/admin" || /bin/mkdir -p "/usr/local/share/icecast/admin"
/usr/bin/install -c -m 644 listclients.xsl listmounts.xsl moveclients.xsl response.xsl logs.xsl showlog.xsl xspf.xsl viewxml.xsl stats.xsl manageauth.xsl updatemetadata.xsl managerelays.xsl '/usr/local/share/icecast/admin'
make[2]: Leaving directory `/root/icecast-2.3.3-kh2/admin'
make[1]: Leaving directory `/root/icecast-2.3.3-kh2/admin'
Making install in src
make[1]: Entering directory `/root/icecast-2.3.3-kh2/src'
Making install in avl
make[2]: Entering directory `/root/icecast-2.3.3-kh2/src/avl'
make[3]: Entering directory `/root/icecast-2.3.3-kh2/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.3-kh2/src/avl'
make[2]: Leaving directory `/root/icecast-2.3.3-kh2/src/avl'
Making install in thread
make[2]: Entering directory `/root/icecast-2.3.3-kh2/src/thread'
make[3]: Entering directory `/root/icecast-2.3.3-kh2/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.3-kh2/src/thread'
make[2]: Leaving directory `/root/icecast-2.3.3-kh2/src/thread'
Making install in httpp
make[2]: Entering directory `/root/icecast-2.3.3-kh2/src/httpp'
make[3]: Entering directory `/root/icecast-2.3.3-kh2/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.3-kh2/src/httpp'
make[2]: Leaving directory `/root/icecast-2.3.3-kh2/src/httpp'
Making install in net
make[2]: Entering directory `/root/icecast-2.3.3-kh2/src/net'
make[3]: Entering directory `/root/icecast-2.3.3-kh2/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.3-kh2/src/net'
make[2]: Leaving directory `/root/icecast-2.3.3-kh2/src/net'
Making install in log
make[2]: Entering directory `/root/icecast-2.3.3-kh2/src/log'
make[3]: Entering directory `/root/icecast-2.3.3-kh2/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.3-kh2/src/log'
make[2]: Leaving directory `/root/icecast-2.3.3-kh2/src/log'
Making install in timing
make[2]: Entering directory `/root/icecast-2.3.3-kh2/src/timing'
make[3]: Entering directory `/root/icecast-2.3.3-kh2/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.3-kh2/src/timing'
make[2]: Leaving directory `/root/icecast-2.3.3-kh2/src/timing'
make[2]: Entering directory `/root/icecast-2.3.3-kh2/src'
/bin/sh ../libtool --tag=CC --mode=link gcc -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 format_ebml.o auth.o auth_htpasswd.o format_kate.o format_skeleton.o mpeg.o flv.o format_vorbis.o auth_url.o yp.o auth_cmd.o net/libicenet.la thread/libicethread.la httpp/libicehttpp.la log/libicelog.la avl/libiceavl.la timing/libicetiming.la -L/usr/kerberos/lib -lcurl -ldl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lidn -lssl -lcrypto -lvorbis -L/usr/lib -lxslt -lxml2 -lz -lm -lrt
libtool: link: gcc -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 format_ebml.o auth.o auth_htpasswd.o format_kate.o format_skeleton.o mpeg.o flv.o format_vorbis.o auth_url.o yp.o auth_cmd.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/lib -lcurl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lidn -lssl -lcrypto -lvorbis -L/usr/lib -lxslt /usr/lib/libxml2.so -ldl -lz -lm -lrt
/usr/lib/libxslt.so: undefined reference to `xmlXPathContextSetCache'
collect2: ld returned 1 exit status
make[2]: *** [icecast] Error 1
make[2]: Leaving directory `/root/icecast-2.3.3-kh2/src'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/root/icecast-2.3.3-kh2/src'
make: *** [install-recursive] Error 1
_________________
Klikhost.com
Back to top
View user's profile Send private message Yahoo Messenger
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Jul 31, 2012 5:01 pm    Post subject: Reply with quote

This old bug, it's because you have duplicate libxml/libxslt development packages. As there is a close relationship between libxml2 and libxslt there's a certain requirement of versions between them and it looks like the ones found are mismatched.

It could be a quirk of having 32bit and 64bit libs installed as /usr/lib/libxslt.so would tend to indicate a 32bit lib

rpm -qif /usr/lib/libxslt.so
ls -l /usr/lib/libxslt.so*

if that is from libxslt-devel 32bit then remove that package and install the 64bit one.

Just to be clear, icecast has never used "xmlXPathContextSetCache", it is something that is in the libxslt lib referencing something missing in the libxml2 lib.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
adabisnis



Joined: 31 Jul 2012
Posts: 14
Location: Indonesia

PostPosted: Tue Jul 31, 2012 5:31 pm    Post subject: Reply with quote

root@n [~/icecast-2.3.3-kh2]# rpm -qif /usr/lib/libxslt.so
Name : libxslt-devel Relocations: /usr
Version : 1.1.17 Vendor: CentOS
Release : 2.el5_2.2 Build Date: Thu 31 Jul 2008 02:49:33 PM EDT
Install Date: Tue 31 Jul 2012 11:34:42 AM EDT Build Host: builder16.centos.org
Group : Development/Libraries Source RPM: libxslt-1.1.17-2.el5_2.2.src.rpm
Size : 1031408 License: MIT
Signature : DSA/SHA1, Thu 31 Jul 2008 05:39:08 PM EDT, Key ID a8a447dce8562897
URL : http://xmlsoft.org/XSLT/
Summary : Libraries, includes, etc. to embed the Gnome XSLT engine
Description :
This C library allows to transform XML files into other XML files
(or HTML, text, ...) using the standard XSLT stylesheet transformation
mechanism. To use it you need to have a version of libxml2 >= 2.6.25
installed.

root@n [~]# ls -l /usr/lib/libxslt.so
lrwxrwxrwx 1 root root 17 Jul 31 11:34 /usr/lib/libxslt.so -> libxslt.so.1.1.17*
_________________
Klikhost.com
Back to top
View user's profile Send private message Yahoo Messenger
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Jul 31, 2012 5:58 pm    Post subject: Reply with quote

ls -l /usr/lib/libxslt.so*

might as well find the libxml2 versions you have as well

rpm -q libxml2-devel

ls -l /usr/lib/libxml2.so*

karl.


Last edited by karlH on Tue Jul 31, 2012 6:00 pm; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website
adabisnis



Joined: 31 Jul 2012
Posts: 14
Location: Indonesia

PostPosted: Tue Jul 31, 2012 6:00 pm    Post subject: Reply with quote

root@n [~]# ls -l /usr/lib/libxslt.so*
lrwxrwxrwx 1 root root 17 Jul 31 11:34 /usr/lib/libxslt.so -> libxslt.so.1.1.17*
lrwxrwxrwx 1 root root 17 Jul 31 11:34 /usr/lib/libxslt.so.1 -> libxslt.so.1.1.17*
-rwxr-xr-x 1 root root 213116 Jul 31 2008 /usr/lib/libxslt.so.1.1.17*
_________________
Klikhost.com
Back to top
View user's profile Send private message Yahoo Messenger
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Jul 31, 2012 6:13 pm    Post subject: Reply with quote

rpm -q libxslt-devel

if you do not need 32bit development packages for those then you can do

rpm -e libxslt-devel.i386 libxml2-devel.i386

most people do no need them. Looks like your rpm doesn't list the architecture

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber