[CMake] Using CPack to include shared libraries in rpms
Eric Noulard
eric.noulard at gmail.com
Sat Feb 20 17:44:43 EST 2010
2010/2/20 Robert Knapke <knapkerd5 at gmail.com>:
> Eric,
>
> The reason I asked my original question was because a user of ours who was
> trying to install the project (using yum) was unable to install it (and it
> displayed the boost python library as a missing dependency).
ok I see.
> If I am building the boost libraries on my computer, would you suggest I just create
> another rpm with the missing dependency (or maybe all of the boost
> libraries?),
If you can do that (either minimal boost rpm or all boost rpms) that should be
fine for you co-worker. Beware of the fact that dependencies are transitive.
a.rpm needs b.rpm which may in turns need c.rpm
> or should I find it on one of the rpm sites and send that? Is
> it better if I do it myself, or use an rpm at one of those sites? I see the
> former as being easier for me as I expect that I may have to send these to
> several people, and I dont want the user to have to find things.
Providing all the needed RPMs yourself will possibly makes it easier
for your co-worker but it may be hard to do if transitive dependencies is
long and/or you plan to support differents distributions.
--
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org
More information about the CMake
mailing list