[Freeswitch-dev] Compiling dependencies inline

Paul Tinsley jackhammer at gmail.com
Sun Oct 22 00:29:07 EDT 2006


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:

AutoReqProv: no

Then you just need to build the appropriate Provides: line in the spec file
for what it does provide, freeswitch.

On 10/21/06, Peter Nixon <listuser at peternixon.net> wrote:
>
> Matt
>
> I am aware that it has been discussed previously. I am aware that some of
> the
> libs have extra patches, and I am happy to build packages for them also
> that
> include the patches. I DO have freeswitch built in rpm form. (See for
> example
>
> http://software.opensuse.org/download/server:/telephony/SUSE_Factory/x86_64/freeswitch-snapshot-20061017-16.1.x86_64.rpm
> )
>
> The problem is what the FREESWITCH rpm does to the rest of the system when
> you
> have it available in a repository.
>
> Take for example the error messages I posted. They state that when someone
> tries to install "grep" on their system (assuming that they dont have it)
> rpm
> considers freeswitch-snapshot as a possible providor of "pcre". Likewise
> if
> they want to install something that relies on spandsp or sqlite it will
> try
> to install freeswitch to satify the dependency..
>
> Do you see the problem?
>
> -Peter
>
> On Sat 21 Oct 2006 13:26, Matt Klein wrote:
> > Peter,
> >       This has been discussed. Issues on current are, some of the..
> > necessary code additions/modifications to the libs may or may not ever
> be
> > available in your external libs.
> >
> > Please advise on how you suggest we proceed.
> >
> > Are you exporting LD_LIBRARY_PATH to /usr/local/freeswitch/lib prior?
> >
> > thx
> > -m
> >
> > On Sat, 21 Oct 2006, Peter Nixon wrote:
> > > Hi Guys
> > >
> > > Here is the result of building a freeswitch package with all of its
> > > dependencies inline. It confuses the hell out of rpm when you go an
> try
> > > to build OTHER packages that rely on those dependencies which are
> already
> > > provided by standard packages:
> > >
> > > Fedora_Extras_5  i586  expansion error
> > > have choice for libpcre.so.0 needed by grep: freeswitch-snapshot pcre
> > > have choice for libsqlite3.so.0 needed by rpm-libs:
> freeswitch-snapshot
> > > sqlite have choice for libsqlite3.so.0 needed by rpm:
> freeswitch-snapshot
> > > sqlite have choice for libsqlite3.so.0 needed by rpm-build:
> > > freeswitch-snapshot sqlite
> > >
> > > Now, I CAN work around this by manually specifying preferences for
> each
> > > of these packages in ALL of my other builds but this is really bad
> karma
> > > and requires me to screw around with almost 50 other packages just to
> > > have the pleasure of building freeswitch. ick..
> > >
> > > Please please fix the build so that it will use external libs if they
> are
> > > available. I will happily package any external libs that are required
> > > (infact I already have done so) and can apply patches to any that need
> > > them.
> > >
> > > Cheers
> > > --
> > >
> > > Peter Nixon
> > > http://www.peternixon.net/
> > > PGP Key: http://www.peternixon.net/public.asc
> >
> > _______________________________________________
> > Freeswitch-dev mailing list
> > Freeswitch-dev at lists.freeswitch.org
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> > http://www.freeswitch.org
>
> --
>
> Peter Nixon
> http://www.peternixon.net/
> PGP Key: http://www.peternixon.net/public.asc
>
>
> _______________________________________________
> Freeswitch-dev mailing list
> Freeswitch-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20061021/1488daa1/attachment.html 


More information about the Freeswitch-dev mailing list