LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 04-11-2009, 07:56 AM   #1
piyush.ml20
LQ Newbie
 
Registered: Aug 2008
Location: india
Distribution: rhel 5 server
Posts: 27

Rep: Reputation: 15
help needed urgent-problem installing icecast server in rhel5 server


can somebody tell me the detailed procedure to install icecast server
in rhel5 server edition.

i download the various tarballs and then run

./configure
make
make install

the documentation is created in /usr
but no config file /etc/icecast.xml is present there.
 
Old 04-11-2009, 08:16 AM   #2
Retrievil_Knievil
Member
 
Registered: Mar 2004
Location: Stavanger, Norway
Distribution: Gentoo, Slackware/SLAX, Knoppix, CentOS, IPCop & DSL
Posts: 138

Rep: Reputation: 21
Try running "locate icecast.xml" - and create it if it does not exist? Have you tried the package at http://downloads.xiph.org/releases/icecast/ ? There is a rpm there for each version, might be easier than building it from source.

There is a guy who made one himself for CentOS though, he posted it here:

http://icecast.imux.net/viewtopic.ph...03c6e54eabe1d8

Might be useful to read what he did to make the package?
 
Old 04-11-2009, 05:52 PM   #3
piyush.ml20
LQ Newbie
 
Registered: Aug 2008
Location: india
Distribution: rhel 5 server
Posts: 27

Original Poster
Rep: Reputation: 15
can u plz also tell me installation of source client icecast.
no rpm is present at the site n i m facing same problem from tar balls.
 
Old 04-12-2009, 04:58 AM   #4
Retrievil_Knievil
Member
 
Registered: Mar 2004
Location: Stavanger, Norway
Distribution: Gentoo, Slackware/SLAX, Knoppix, CentOS, IPCop & DSL
Posts: 138

Rep: Reputation: 21
Sorry, could you rephrase your question? For a client, you can use most sound players on linux (mplayer/vlc/etc). You just need to point them to the url Icecast is listening on (for instance http://localhost:8000/playlist.m3u).

Did you find the icecast.xml file?

How do you start the Icecast deamon?

On the first link I posted there are rpm's for the icecast server, the file you need is probably http://downloads.xiph.org/releases/i....3.2-0.src.rpm - Which I think should compile and run. (I have not tested it myself, sorry)

Last edited by Retrievil_Knievil; 04-12-2009 at 06:20 PM. Reason: Typo fix
 
Old 04-12-2009, 02:35 PM   #5
piyush.ml20
LQ Newbie
 
Registered: Aug 2008
Location: india
Distribution: rhel 5 server
Posts: 27

Original Poster
Rep: Reputation: 15
sorry, i mean 2 say the audio source.
icecast is the server and ices is feeding the audio 2 the server.
i want 2 know about installation of ices n hence ices-playlist.xml file

there is nothing given about ices on your link.it is about server
 
Old 04-12-2009, 06:20 PM   #6
Retrievil_Knievil
Member
 
Registered: Mar 2004
Location: Stavanger, Norway
Distribution: Gentoo, Slackware/SLAX, Knoppix, CentOS, IPCop & DSL
Posts: 138

Rep: Reputation: 21
I'm sorry, I use different software to feed the stream to icecast, (I use MPD) so I cannot help much there. Here is the link to the IceS documentation though: http://www.icecast.org/docs/ices-2.0.0/
 
Old 04-13-2009, 04:27 AM   #7
piyush.ml20
LQ Newbie
 
Registered: Aug 2008
Location: india
Distribution: rhel 5 server
Posts: 27

Original Poster
Rep: Reputation: 15
when running the icecast server it is giving following error -

[root@sunny ~]# su icecast
[icecast@sunny root]$ icecast -c /etc/icecast.xml -b
Starting icecast2
Detaching from the console
[icecast@sunny root]$ Warning: program compiled against libxml 207 using older 206

i also tried but same error

[root@sunny ~]# /usr/bin/icecast -c /etc/icecast.xml
Warning: program compiled against libxml 207 using older 206
Server startup failed. Exiting

last time when this error came i restart my machine and the server ran but this time it is not so.
 
Old 04-13-2009, 06:08 AM   #8
Retrievil_Knievil
Member
 
Registered: Mar 2004
Location: Stavanger, Norway
Distribution: Gentoo, Slackware/SLAX, Knoppix, CentOS, IPCop & DSL
Posts: 138

Rep: Reputation: 21
Seems like you have a version issue with libxml.....try reinstalling/recompiling libxml, and then doing the same with both icecast and ices?

Probably something that got updated while you were working on this. Take a backup of your configuration files first, and you won't have to set everything up all over again. Recompiling should not take long.
 
Old 04-14-2009, 03:06 PM   #9
piyush.ml20
LQ Newbie
 
Registered: Aug 2008
Location: india
Distribution: rhel 5 server
Posts: 27

Original Poster
Rep: Reputation: 15
the whole thing mess up n removal of libxml2 make my OS crash.
i install it again n do the procedure step by step but now i m facing the error -

[root@sunny ~]# yum install curl-devel-7.15.5-2.el5.i386.rpm

Dependencies Resolved

=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
curl-devel i386 7.15.5-2.el5 curl-devel-7.15.5-2.el5.i386.rpm 637 k
Installing for dependencies:
e2fsprogs-devel i386 1.39-10.el5 install 561 k
keyutils-libs-devel i386 1.2-1.el5 install 27 k
krb5-devel i386 1.6.1-31.el5 install 1.9 M
libselinux-devel i386 1.33.4-4.el5 install 131 k
libsepol-devel i386 1.15.2-1.el5 install 189 k
openssl i386 0.9.8e-7.el5 install 1.4 M
openssl-devel i386 0.9.8e-7.el5 install 1.8 M
Updating for dependencies:
krb5-libs i386 1.6.1-31.el5 install 660 k
krb5-workstation i386 1.6.1-31.el5 install 873 k

Transaction Summary
=============================================================================
Install 8 Package(s)
Update 2 Package(s)
Remove 0 Package(s)

Total download size: 8.1 M
Is this ok [y/N]: y
Downloading Packages:
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 82fd17b2


Public key for curl-devel-7.15.5-2.el5.i386.rpm is not installed

the whole problem is in the krb5 dependency.
when i update krb5-workstation it mention it require krb5-lib.
when i update krb5-lib it mention it is being used by installed krb5-workstation.

isn't there any permanent solution for dependency resolution.
every time i have to download them from pbone.net manually.
 
Old 04-15-2009, 04:54 PM   #10
piyush.ml20
LQ Newbie
 
Registered: Aug 2008
Location: india
Distribution: rhel 5 server
Posts: 27

Original Poster
Rep: Reputation: 15
make error

gstrfuncs.c: In function 'g_printf_string_upper_bound':
gstrfuncs.c:870: error: expected ')' before string constant
gstrfuncs.c:1037: error: expected ')' before string constant
gstrfuncs.c:1080: error: expected ')' before string constant
gstrfuncs.c:1111: error: expected ')' before string constant
gstrfuncs.c: In function 'g_strdown':
gstrfuncs.c:1139: warning: pointer targets in assignment differ in signedness
gstrfuncs.c: In function 'g_strup':
gstrfuncs.c:1155: warning: pointer targets in assignment differ in signedness
gstrfuncs.c: In function 'g_strchug':
gstrfuncs.c:1314: warning: pointer targets in assignment differ in signedness
gstrfuncs.c:1317: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness


make[2]: *** [gstrfuncs.lo] Error 1
make[2]: Leaving directory `/root/Desktop/glib-1.2.9'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/Desktop/glib-1.2.9'
make: *** [all-recursive-am] Error 2
 
Old 04-16-2009, 12:49 PM   #11
piyush.ml20
LQ Newbie
 
Registered: Aug 2008
Location: india
Distribution: rhel 5 server
Posts: 27

Original Poster
Rep: Reputation: 15
help plz.
i have almost done it n only left with these 2 problms-

1)while ./configure ices-0.4
Features:
XML : yes
Python : yes
Perl : no
LAME : yes
Vorbis : yes
MP4 : no
FLAC : no

i found all the dependencies except MP4.

2)rpmbuild --rebuild Desktop/vlc-0.8.6d-2.rf.src.rpm

make[4]: *** [libmkv_plugin_a-mkv.o] Error 1
make[4]: Leaving directory `/usr/src/redhat/BUILD/vlc-0.8.6d/modules/demux'
make[3]: *** [all-modules] Error 1
make[3]: Leaving directory `/usr/src/redhat/BUILD/vlc-0.8.6d/modules/demux'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/vlc-0.8.6d/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/vlc-0.8.6d'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.35654 (%build)


RPM build errors:
InstallSourcePackage: Header V3 DSA signature: NOKEY, key ID 6b8d79e6
Bad exit status from /var/tmp/rpm-tmp.35654 (%build)
 
Old 05-03-2009, 06:48 AM   #12
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,132
Blog Entries: 54

Rep: Reputation: 2790Reputation: 2790Reputation: 2790Reputation: 2790Reputation: 2790Reputation: 2790Reputation: 2790Reputation: 2790Reputation: 2790Reputation: 2790Reputation: 2790
Quote:
Originally Posted by piyush.ml20 View Post
i found all the dependencies except MP4.
To troubleshoot ices-0.4 compile-time dependencies run 'export PKG_CONFIG_DEBUG_SPEW=YES'. You'll find that running 'yum install libshout libshout-devel libogg-devel libvorbis-devel libtheora libtheora-devel libspeex libspeex-devel lame lame-devel toolame twolame twolame-devel libxml2 libxml2-devel faad2 faad2-devel flac flac-devel curl-devel libxslt-devel libgcrypt-devel libgpg-error-devel libidn-devel' will cover almost all of them after which ices and icecast compile cleanly.


Quote:
Originally Posted by piyush.ml20 View Post
rpmbuild --rebuild Desktop/vlc-0.8.6d-2.rf.src.rpm
...is readily available from the DAG repo as "vlc-0.9.9-2.el5.rf".

Last edited by unSpawn; 05-03-2009 at 06:54 AM. Reason: deps
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make one rhel5 server control passwords for several rhel5 servers. folkrm Linux - Newbie 3 03-11-2009 02:17 PM
[SOLVED] Icecast server. ctkroeker Linux - Networking 5 02-19-2007 02:28 PM
Urgent help needed: Problem installing Oracle 9i Software on FC-3 varunnarang Linux - Software 2 12-17-2005 01:00 PM
Urgent : help needed on web server implemenation kbsadiga Programming 4 11-29-2004 12:05 PM
Urgent : help needed on web server implemenation kbsadiga Linux - Networking 2 11-28-2004 02:52 AM


All times are GMT -5. The time now is 02:09 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration