View previous topic :: View next topic |
Author |
Message |
porphyrous
Joined: 29 Nov 2009 Posts: 6
|
Posted: Sun Nov 29, 2009 4:26 am Post subject: Compiling ezstream-0.5.6, it can't find libshout |
|
|
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 |
|
|
porphyrous
Joined: 29 Nov 2009 Posts: 6
|
Posted: Sun Nov 29, 2009 3:24 pm Post subject: |
|
|
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.
Another update: I tried installing the RPM file without dependencies. I get an error from cpio that says "Bad magic" ?!? |
|
Back to top |
|
|
cathrynm
Joined: 19 Nov 2009 Posts: 5
|
Posted: Mon Nov 30, 2009 1:20 am Post subject: |
|
|
Yeah, I think I had the exact same issue with ices. Read my topic. |
|
Back to top |
|
|
jcr Modérateur français
Joined: 14 Apr 2006 Posts: 544 Location: France, Auvergne
|
Posted: Mon Nov 30, 2009 6:13 pm Post subject: |
|
|
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 |
|
|
manuaparis
Joined: 05 Dec 2009 Posts: 4
|
Posted: Sat Dec 05, 2009 7:22 pm Post subject: |
|
|
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 |
|
|
jcr Modérateur français
Joined: 14 Apr 2006 Posts: 544 Location: France, Auvergne
|
Posted: Sat Dec 05, 2009 7:25 pm Post subject: |
|
|
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 |
|
|
manuaparis
Joined: 05 Dec 2009 Posts: 4
|
Posted: Sat Dec 05, 2009 9:19 pm Post subject: |
|
|
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 |
|
|
porphyrous
Joined: 29 Nov 2009 Posts: 6
|
Posted: Mon Dec 07, 2009 2:33 pm Post subject: |
|
|
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 |
|
|
jcr Modérateur français
Joined: 14 Apr 2006 Posts: 544 Location: France, Auvergne
|
Posted: Mon Dec 07, 2009 4:31 pm Post subject: |
|
|
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 |
|
|
manuaparis
Joined: 05 Dec 2009 Posts: 4
|
Posted: Mon Dec 07, 2009 8:34 pm Post subject: |
|
|
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
and it works
now i am going to the next step use ezstream with icecast!...
thanks very much. |
|
Back to top |
|
|
porphyrous
Joined: 29 Nov 2009 Posts: 6
|
Posted: Mon Dec 07, 2009 9:46 pm Post subject: |
|
|
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 |
|
|
porphyrous
Joined: 29 Nov 2009 Posts: 6
|
Posted: Mon Dec 07, 2009 10:46 pm Post subject: |
|
|
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 |
|
|
jcr Modérateur français
Joined: 14 Apr 2006 Posts: 544 Location: France, Auvergne
|
Posted: Mon Dec 07, 2009 11:56 pm Post subject: |
|
|
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 |
|
|
|