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 

Compiling ezstream-0.5.6, it can't find libshout

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



Joined: 29 Nov 2009
Posts: 6

PostPosted: Sun Nov 29, 2009 4:26 am    Post subject: Compiling ezstream-0.5.6, it can't find libshout Reply with quote

Hello all,

This is driving me bonkers. I have libshout 2.2.2 installed -- I got it from here -- but the configure script for ezstream can't find it. libshout gets installed in /usr/local/lib and I've tried specifying that in the --with-libshout argument but that doesn't fix it.

I've seen a few references here to a libshout-devel package, but my server is running CentOS and when I try to do yum install libshout-devel, it finds nothing. There is no download link here for libshout-devel, and at any rate it doesn't make sense to me that whatever is in libshout-devel shouldn't be already included in the libshout I downloaded from here.

Can anyone help me out here?
Back to top
View user's profile Send private message
porphyrous



Joined: 29 Nov 2009
Posts: 6

PostPosted: Sun Nov 29, 2009 3:24 pm    Post subject: Reply with quote

More information: The matching error in config.log doesn't say much. It says it can't find shout_new, but otherwise doesn't give any more information than during runtime.

What are the exact files that ezstream is looking for? It's finding shout.h correctly. I have these files in /usr/local/lib (which I've copied to /usr/lib)

libshout.a
libshout.la
libshout.so
libshout.so.3
libshout.so.3.2.0

What am I missing?

I found some libshout-devel packages on rpmfind but nothing specific for CentOS. When I tried to install the Fedora 12 version, it bombed out with all sorts of dependency problems, not a surprise.

Is there anywhere I can get the files for libshout-devel without being in an RPM package? I really need a source tarball.

Another update: After examining the contents of the libshout-devel package, it appears that I am missing an m4 file and some doc files. I have everything else.

Another update: I tried recreating shout.m4 manually from a listing on the net from 2001. Didn't work. I'm out of ideas. Sad

Another update: I tried installing the RPM file without dependencies. I get an error from cpio that says "Bad magic" ?!?
Back to top
View user's profile Send private message
cathrynm



Joined: 19 Nov 2009
Posts: 5

PostPosted: Mon Nov 30, 2009 1:20 am    Post subject: Reply with quote

Yeah, I think I had the exact same issue with ices. Read my topic.
Back to top
View user's profile Send private message
jcr
Modérateur français
Modérateur français


Joined: 14 Apr 2006
Posts: 544
Location: France, Auvergne

PostPosted: Mon Nov 30, 2009 6:13 pm    Post subject: Reply with quote

You might grab source rpm from defora 12 and rebuld rpms from source.

This would solve dependencies.
_________________
Epsilon Friends Radio Icecast Radio on CentovaCast admin panel. Icecast hosting
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
manuaparis



Joined: 05 Dec 2009
Posts: 4

PostPosted: Sat Dec 05, 2009 7:22 pm    Post subject: Reply with quote

I have got exactly the same problem

I download the package libshout-2.2.2-5.fc12.src.rpm and i have an error MD5 when i try to install this package with CENTOS

Have you got an idea how can i do with centos?

thanks
Back to top
View user's profile Send private message
jcr
Modérateur français
Modérateur français


Joined: 14 Apr 2006
Posts: 544
Location: France, Auvergne

PostPosted: Sat Dec 05, 2009 7:25 pm    Post subject: Reply with quote

download and installe without requiring rpm signature..
centos does not have, by default, fedora rpm signatures.
For more, read yum help.
_________________
Epsilon Friends Radio Icecast Radio on CentovaCast admin panel. Icecast hosting
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
manuaparis



Joined: 05 Dec 2009
Posts: 4

PostPosted: Sat Dec 05, 2009 9:19 pm    Post subject: Reply with quote

the problem is already there

i use that command to extract the file
rpm2cpio libshout-2.2.2-5.fc12.src.rpm | cpio -idmv
then
./configure
make
make install

in the directory
/usr/local/lib the files are here with the good date time

libshout.a
libshout.la
libshout.so
libshout.so.3
libshout.so.3.2.0

then I go to the directory ezstream
./configure

and i have got exactly the same error
configure: error: libshout 2.2.x is required
Back to top
View user's profile Send private message
porphyrous



Joined: 29 Nov 2009
Posts: 6

PostPosted: Mon Dec 07, 2009 2:33 pm    Post subject: Reply with quote

I think he means to download the libshout-devel source package and install it as you did. I'll try that and see if I have any luck.

Thanks for the followup!


David V
Back to top
View user's profile Send private message
jcr
Modérateur français
Modérateur français


Joined: 14 Apr 2006
Posts: 544
Location: France, Auvergne

PostPosted: Mon Dec 07, 2009 4:31 pm    Post subject: Reply with quote

What's suggested is:
Download sourc package from fedora.

use:
Code:
rpmbuild -bb libshout.spec

This will build a complete set of rpms, libshout and libshout-devel packages, you can then install via yum localinstall

What sounds missing is the full developmant package, includes, link library and so on..
_________________
Epsilon Friends Radio Icecast Radio on CentovaCast admin panel. Icecast hosting
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
manuaparis



Joined: 05 Dec 2009
Posts: 4

PostPosted: Mon Dec 07, 2009 8:34 pm    Post subject: Reply with quote

Ok it works

I use that code from the extract of FC12
Code:
rpmbuild -bb libshout.spec

before I had to install
Code:

yum install rpm-build
yum install speex-devel
yum install libtheora-devel


Yum localinstall doesn't work because of signature so i use rpm -ivh to install the two rpm files

then go to ezstream
Code:
./configure

and it works

now i am going to the next step use ezstream with icecast!...

thanks very much.
Back to top
View user's profile Send private message
porphyrous



Joined: 29 Nov 2009
Posts: 6

PostPosted: Mon Dec 07, 2009 9:46 pm    Post subject: Reply with quote

jcr wrote:
What's suggested is:
Download sourc package from fedora.

use:
Code:
rpmbuild -bb libshout.spec

This will build a complete set of rpms, libshout and libshout-devel packages, you can then install via yum localinstall

What sounds missing is the full developmant package, includes, link library and so on..


Now, keep in mind that my problem is I'm running CentOS, which apparently doesn't have libshout in its repositories. That's why I've been needing some way to get the libshout-devel source code. I can't build anything that's Fedora-specific. I have to have source code, I think.



Updated:


Well, now I'm totally baffled. I found a full set of CentOS RPMs for libshout and libshout-devel at http://packages.sw.be/libshout/ and downloaded the i386 versions for CentOS 4. libshout-devel wanted libshout, so even though I've installed it from source, I went ahead and tried to install it. It wanted speex, which lucky for me there was a repository suggestion so I used yum install to install speex. That worked.

I then installed the RPM for libshout. That worked.

I then installed the RPM for libshout-devel. That worked.

So then I ran the ./configure for ezstream. No libshout found. WTF?

from config.log:

configure:6148: checking if libshout works
configure:6176: gcc -std=gnu99 -o conftest -g -O2 conftest.c >&5
/tmp/cc2hsl5r.o(.text+0xd): In function `main':
/usr/local/src/ezstream-0.5.6/conftest.c:37: undefined reference to `shout_new'
collect2: ld returned 1 exit status
configure:6182: $? = 1
configure: failed program was:
| /* confdefs.h. */
configure:6198: result: no
configure:6288: checking for libshout
configure:6296: result: no
configure:6299: error: libshout 2.2.x is required.


I now have absolutely no idea what to do.



David V
Back to top
View user's profile Send private message
porphyrous



Joined: 29 Nov 2009
Posts: 6

PostPosted: Mon Dec 07, 2009 10:46 pm    Post subject: Reply with quote

Code:

yum install rpm-build
yum install speex-devel
yum install libtheora-devel


Bwah hah!!!! For some reason, installing these packages fixed the issue!!!!! ezstream configure completed!!! Woo hoo! Now to compile.....



David V
Back to top
View user's profile Send private message
jcr
Modérateur français
Modérateur français


Joined: 14 Apr 2006
Posts: 544
Location: France, Auvergne

PostPosted: Mon Dec 07, 2009 11:56 pm    Post subject: Reply with quote

Quote:
keep in mind that my problem is I'm running CentOS

Keep in mind that CentOS is a RH enterprise open sourced. RHEL is built upon fedora.

You can import fedora source RPM and build most of them directly using rpmbuild.

This way is cleaner when it comes to updates tahan raw compiling from scratch.
But each user has his(her) own way about thinking about distrution stability...
_________________
Epsilon Friends Radio Icecast Radio on CentovaCast admin panel. Icecast hosting
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
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