LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (http://www.linuxquestions.org/questions/red-hat-31/)
-   -   help needed urgent-problem installing icecast server in rhel5 server (http://www.linuxquestions.org/questions/red-hat-31/help-needed-urgent-problem-installing-icecast-server-in-rhel5-server-718415/)

piyush.ml20 04-11-2009 07:56 AM

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.

Retrievil_Knievil 04-11-2009 08:16 AM

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?

piyush.ml20 04-11-2009 05:52 PM

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.

Retrievil_Knievil 04-12-2009 04:58 AM

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)

piyush.ml20 04-12-2009 02:35 PM

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

Retrievil_Knievil 04-12-2009 06:20 PM

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/

piyush.ml20 04-13-2009 04:27 AM

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.

Retrievil_Knievil 04-13-2009 06:08 AM

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.

piyush.ml20 04-14-2009 03:06 PM

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.

piyush.ml20 04-15-2009 04:54 PM

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

piyush.ml20 04-16-2009 12:49 PM

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)

unSpawn 05-03-2009 06:48 AM

Quote:

Originally Posted by piyush.ml20 (Post 3511246)
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 (Post 3511246)
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".


All times are GMT -5. The time now is 10:38 PM.