Well the easiest fix for this specific problem is to not adversise those abilities from the rpm, rpm figures those out automagically using ldd on every executable in an rpm file list, you can easily turn that off by adding this to your spec file:
<br><br>AutoReqProv: no<br><br>Then you just need to build the appropriate Provides: line in the spec file for what it does provide, freeswitch.<br><br><div><span class="gmail_quote">On 10/21/06, <b class="gmail_sendername">
Peter Nixon</b> <<a href="mailto:listuser@peternixon.net">listuser@peternixon.net</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Matt<br><br>I am aware that it has been discussed previously. I am aware that some of the<br>libs have extra patches, and I am happy to build packages for them also that<br>include the patches. I DO have freeswitch built in rpm form. (See for example
<br><a href="http://software.opensuse.org/download/server:/telephony/SUSE_Factory/x86_64/freeswitch-snapshot-20061017-16.1.x86_64.rpm">http://software.opensuse.org/download/server:/telephony/SUSE_Factory/x86_64/freeswitch-snapshot-20061017-16.1.x86_64.rpm
</a>)<br><br>The problem is what the FREESWITCH rpm does to the rest of the system when you<br>have it available in a repository.<br><br>Take for example the error messages I posted. They state that when someone<br>tries to install "grep" on their system (assuming that they dont have it) rpm
<br>considers freeswitch-snapshot as a possible providor of "pcre". Likewise if<br>they want to install something that relies on spandsp or sqlite it will try<br>to install freeswitch to satify the dependency..<br>
<br>Do you see the problem?<br><br>-Peter<br><br>On Sat 21 Oct 2006 13:26, Matt Klein wrote:<br>> Peter,<br>> This has been discussed. Issues on current are, some of the..<br>> necessary code additions/modifications to the libs may or may not ever be
<br>> available in your external libs.<br>><br>> Please advise on how you suggest we proceed.<br>><br>> Are you exporting LD_LIBRARY_PATH to /usr/local/freeswitch/lib prior?<br>><br>> thx<br>> -m<br>
><br>> On Sat, 21 Oct 2006, Peter Nixon wrote:<br>> > Hi Guys<br>> ><br>> > Here is the result of building a freeswitch package with all of its<br>> > dependencies inline. It confuses the hell out of rpm when you go an try
<br>> > to build OTHER packages that rely on those dependencies which are already<br>> > provided by standard packages:<br>> ><br>> > Fedora_Extras_5 i586 expansion error<br>> > have choice for
libpcre.so.0 needed by grep: freeswitch-snapshot pcre<br>> > have choice for libsqlite3.so.0 needed by rpm-libs: freeswitch-snapshot<br>> > sqlite have choice for libsqlite3.so.0 needed by rpm: freeswitch-snapshot
<br>> > sqlite have choice for libsqlite3.so.0 needed by rpm-build:<br>> > freeswitch-snapshot sqlite<br>> ><br>> > Now, I CAN work around this by manually specifying preferences for each<br>> > of these packages in ALL of my other builds but this is really bad karma
<br>> > and requires me to screw around with almost 50 other packages just to<br>> > have the pleasure of building freeswitch. ick..<br>> ><br>> > Please please fix the build so that it will use external libs if they are
<br>> > available. I will happily package any external libs that are required<br>> > (infact I already have done so) and can apply patches to any that need<br>> > them.<br>> ><br>> > Cheers<br>
> > --<br>> ><br>> > Peter Nixon<br>> > <a href="http://www.peternixon.net/">http://www.peternixon.net/</a><br>> > PGP Key: <a href="http://www.peternixon.net/public.asc">http://www.peternixon.net/public.asc
</a><br>><br>> _______________________________________________<br>> Freeswitch-dev mailing list<br>> <a href="mailto:Freeswitch-dev@lists.freeswitch.org">Freeswitch-dev@lists.freeswitch.org</a><br>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev">
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br><br>--<br><br>Peter Nixon<br><a href="http://www.peternixon.net/">http://www.peternixon.net/</a><br>PGP Key: <a href="http://www.peternixon.net/public.asc">
http://www.peternixon.net/public.asc</a><br><br><br>_______________________________________________<br>Freeswitch-dev mailing list<br><a href="mailto:Freeswitch-dev@lists.freeswitch.org">Freeswitch-dev@lists.freeswitch.org
</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev">
http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br><a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br><br><br><br></blockquote></div><br>