View previous topic :: View next topic |
Author |
Message |
Anonymous Guest
|
|
Back to top |
|
|
fab Guest
|
Posted: Wed Nov 09, 2005 8:20 am Post subject: ices dotn work for me.. |
|
|
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
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Wed Nov 09, 2005 2:04 pm Post subject: |
|
|
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 |
|
|
Anonymous Guest
|
Posted: Thu Nov 10, 2005 11:52 am Post subject: Re: icecast-2.3.0, ices-2.0.1 rpms for Fedora Core 4 |
|
|
I dont suppose you have a suitable init script for either of the icecast or ices RPMs ???? |
|
Back to top |
|
|
Anonymous Guest
|
Posted: Mon Nov 14, 2005 11:36 pm Post subject: Re: ices dosn't work for me.. |
|
|
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
|
Posted: Mon Nov 14, 2005 11:45 pm Post subject: Re: icecast-2.3.0, ices-2.0.1 rpms for Fedora Core 4 |
|
|
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: |
I dont suppose you have a suitable init script for either of the icecast or ices RPMs ???? |
|
|
Back to top |
|
|
Anonymous Guest
|
Posted: Mon Nov 14, 2005 11:58 pm Post subject: |
|
|
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
|
Posted: Tue Nov 15, 2005 12:36 am Post subject: Re: ices dosn't work for me.. |
|
|
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 |
|
|
|
|
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
|