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 

icecast-2.3.0, ices-2.0.1 rpms for Fedora Core 4

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Source Clients
View previous topic :: View next topic  
Author Message
Anonymous
Guest





PostPosted: Sun Nov 06, 2005 1:22 am    Post subject: icecast-2.3.0, ices-2.0.1 rpms for Fedora Core 4 Reply with quote

I've got working source RPMs for icecast-2.3.0, ices-2.0.1, and libshout-2.1...

The only non-trivial part about these packages was working around the libshout-1.x package that's in the Fedora Extras repo.

Source RPMS are here:

http://zagar.cactus.org/rpms/SRPMS/libshout2-2.1-6.src.rpm
http://zagar.cactus.org/rpms/SRPMS/icecast-2.3.0-0.src.rpm
http://zagar.cactus.org/rpms/SRPMS/ices-2.0.1-1.src.rpm

The more adventurous of you may find binary rpms on this site, but those were built specifically for a Via C3 processor running RHEL-4.
Back to top
fab
Guest





PostPosted: Wed Nov 09, 2005 8:20 am    Post subject: ices dotn work for me.. Reply with quote

When I do " rpmbuild --rebuild ices-2.0.1-1.src.rpm "
I get this:

stream.h:18:26: error: shout/shout2.h: No such file or directory
In file included from input.c:33:
input.h:34: error: syntax error before 'shout_t'
input.h:34: warning: no semicolon at end of struct or union
input.h:36: error: syntax error before '}' token
input.h:36: warning: data definition has no type or storage class
input.c: In function 'input_loop':
input.c:319: error: 'arg' undeclared (first use in this function)
input.c:319: error: (Each undeclared identifier is reported only once
input.c:319: error: for each function it appears in.)
make[3]: *** [input.o] Error 1
make[3]: Leaving directory `/usr/src/redhat/BUILD/ices-2.0.1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/ices-2.0.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/ices-2.0.1'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.58683 (%build)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.58683 (%build)
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Wed Nov 09, 2005 2:04 pm    Post subject: Reply with quote

I don't think we have ever used a shout2.h header file, ices certainly hasn't referred to it, I'm guessing that whoever packaged the ices rpm you have has done some modifications of their own.

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





PostPosted: Thu Nov 10, 2005 11:52 am    Post subject: Re: icecast-2.3.0, ices-2.0.1 rpms for Fedora Core 4 Reply with quote

jrzagar wrote:
I've got working source RPMs for icecast-2.3.0, ices-2.0.1, and libshout-2.1...

The only non-trivial part about these packages was working around the libshout-1.x package that's in the Fedora Extras repo.

Source RPMS are here:

http://zagar.cactus.org/rpms/SRPMS/libshout2-2.1-6.src.rpm
http://zagar.cactus.org/rpms/SRPMS/icecast-2.3.0-0.src.rpm
http://zagar.cactus.org/rpms/SRPMS/ices-2.0.1-1.src.rpm

The more adventurous of you may find binary rpms on this site, but those were built specifically for a Via C3 processor running RHEL-4.


I dont suppose you have a suitable init script for either of the icecast or ices RPMs ????
Back to top
Anonymous
Guest





PostPosted: Mon Nov 14, 2005 11:36 pm    Post subject: Re: ices dosn't work for me.. Reply with quote

I'll take a look at the specs file for my custom version of "ices". There should be a build dependency for libshout2-devel in there. In the short term, check and make sure that you have libshout2-devel installed. If you have this installed, it should provide the include file you need.

I probably didn't go into enough detail in the original posting, but there is a conflict between libshout-2.x and libshout-1.x. They both call their include file "shout.h", so you can't install both versions without creating conflicts.

Since Fedora Extras still uses the version 1.x libshout library, I had to hack the 2.x build scripts so I wouldn't end up breaking existing Fedora Extras packages...

-RZ

fab wrote:
When I do " rpmbuild --rebuild ices-2.0.1-1.src.rpm "
I get this:

stream.h:18:26: error: shout/shout2.h: No such file or directory
In file included from input.c:33:
input.h:34: error: syntax error before 'shout_t'
input.h:34: warning: no semicolon at end of struct or union
input.h:36: error: syntax error before '}' token
input.h:36: warning: data definition has no type or storage class
input.c: In function 'input_loop':
input.c:319: error: 'arg' undeclared (first use in this function)
input.c:319: error: (Each undeclared identifier is reported only once
input.c:319: error: for each function it appears in.)
make[3]: *** [input.o] Error 1
make[3]: Leaving directory `/usr/src/redhat/BUILD/ices-2.0.1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/ices-2.0.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/ices-2.0.1'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.58683 (%build)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.58683 (%build)
Back to top
Anonymous
Guest





PostPosted: Mon Nov 14, 2005 11:45 pm    Post subject: Re: icecast-2.3.0, ices-2.0.1 rpms for Fedora Core 4 Reply with quote

Not yet. It's #3 on my Icecast/Ices TODO, though...

#1 Verify/Fix BuildRequires issue with libshout2 source rpm.
#2 Update spec file to automatically create "icecast" userid and home directory.
#3 Create suitable init scripts

whitecurve wrote:
jrzagar wrote:
I've got working source RPMs for icecast-2.3.0, ices-2.0.1, and libshout-2.1...

The only non-trivial part about these packages was working around the libshout-1.x package that's in the Fedora Extras repo.

Source RPMS are here:

http://zagar.cactus.org/rpms/SRPMS/libshout2-2.1-6.src.rpm
http://zagar.cactus.org/rpms/SRPMS/icecast-2.3.0-0.src.rpm
http://zagar.cactus.org/rpms/SRPMS/ices-2.0.1-1.src.rpm

The more adventurous of you may find binary rpms on this site, but those were built specifically for a Via C3 processor running RHEL-4.


I dont suppose you have a suitable init script for either of the icecast or ices RPMs ????
Back to top
Anonymous
Guest





PostPosted: Mon Nov 14, 2005 11:58 pm    Post subject: Reply with quote

karlH wrote:
I don't think we have ever used a shout2.h header file, ices certainly hasn't referred to it, I'm guessing that whoever packaged the ices rpm you have has done some modifications of their own.
karl.


You are correct.

For reasons I won't go into here, I already had libshout-1.x installed on my system because of some dependencies in Fedora Extras. The build scripts for ices was picking up the wrong header file, so I renamed the include file to eliminate the conflict. This led to other changes in configure.in, Makefile.in, and a couple of miniscule changes in the source.

Here is the patch: http://zagar.cactus.org/rpms/SOURCES/ices-2.0.1-shout2.patch

The spec file is here: http://zagar.cactus.org/rpms/SPECS/ices.spec
Back to top
Anonymous
Guest





PostPosted: Tue Nov 15, 2005 12:36 am    Post subject: Re: ices dosn't work for me.. Reply with quote

jrzagar wrote:
I'll take a look at the specs file for my custom version of "ices". There should be a build dependency for libshout2-devel in there. In the short term, check and make sure that you have libshout2-devel installed. If you have this installed, it should provide the include file you need.


I've tried reproducing this problem under RHEL4. No luck. The spec file does have a BuildRequires for libshout2-devel, and the RPM won't build if it isn't installed (see the build log).

If you have libshout2-devel installed, then you ought to have a /usr/include/shout/shout2.h

I'm not able to reproduce the problem in Fedora Core 4 either. I'm willing to work on this some more, but I can't reproduce the problem. I need some more information before I can work on this any more...
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Source Clients 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