This forum has been archived. All content is frozen. Please use KDE Discuss instead.

building without static libraries

Tags: None
(comma "," separated)
imported4-liquidat
Registered Member
Posts
27
Karma
0

building without static libraries

Tue Apr 04, 2006 10:58 pm
Hey,

I try to build official Fedora packages of ktorrent at the moment to provide ktorrent for Fedora directly through the Fedora repositories.

But I stumbled over some problems, and need some help:
Fedora has some strict rules what rpms/packages are allowed to have, and what not - one of these rules is that static libraries are forbidden: Fedora Packaging Guidelines.

Therefore I tried to configure and compile ktorrent without static libraries (--disable-static) but it failed, probably because of libtool. Have you ever tried to compile ktorrent without static libraries? Is there any chance of compiling it without static libraries?

liquidat
George
Moderator
Posts
5421
Karma
1

Wed Apr 05, 2006 9:50 am
The static libraries are temporary.
We have static libraries in these directories

libktorrent/torrent/
libktorrent/util/
libktorrent/mse/
libktorrent/kademlia/
libktorrent/interfaces/

But all those libaries get linked into libktorrent which is a shared library.

So no static ones get installed. We have to do this to get around limitations from automake.
imported4-liquidat
Registered Member
Posts
27
Karma
0

Wed Apr 05, 2006 10:50 am
Thx for the quick answer, but I probably didn't explain what I meant:
it was about the files which are normally installed in "%{_libdir}/lib*.la".

But I discussed with some other people that this is probably fixable through the rpm system itself, and that it is not your fault as I thought.

If you are interested in this discussion have a look at bug report in the redhat bugzilla which deals with the building of the ktorrent packages.

There you will find a notice when the package is finally accpeted and oncluded in fedora core 5.

I can also provide a package for fc5 until it is officially accpeted if you want.
George
Moderator
Posts
5421
Karma
1

Wed Apr 05, 2006 4:33 pm
OK, then, if you want to send the rpm, I will put it online.
imported4-liquidat
Registered Member
Posts
27
Karma
0

Mon Apr 10, 2006 2:31 pm
Ok, here it is: Ktorrent for Fedora Core 5

But, keep in mind that this is *NOT* an official Fedora Extras file and just built on my personal computer. And you cannot know if I am evil or not ;)

Having said that, the package should work without any problem on every Fedora Core 5 installation on x86 computers.

I will try to keep an eye on this forum, but if there are serious bugs you can also send me a message or redirect the people to the given bug report if they want to point out problems.

liquidat
George
Moderator
Posts
5421
Karma
1

Mon Apr 10, 2006 5:05 pm
I have updated the website, I have directly linked to the link you provided. Is that OK ?
imported4-liquidat
Registered Member
Posts
27
Karma
0

Mon Apr 10, 2006 7:16 pm
It doesn't matter to me if you provide them or just link to my place - I hope that in does not take too long till this link is unnecessary and you can just add a note that it is part of the fedora core distribution :)


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]