[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to figure out the correct build-dependencies?



Thomas Viehmann <tv@beamnet.de> schrieb:

> Hi.
>
> Frank Küster wrote:
>> dh_shlibdeps nicely sorts out the libraries that a binary package
>> depends on. Quite nicely, since I get "xlibmesa3 | libgl1", but there
>> seems to be no package named libgl1. And how do I figure out the correct
>> Build-dependencies:-line? Are there any tools?
> This is created by the shlib file of the package that provides the
> xlibmesa3-Library. libgl1 is to be a virtual package for packages implementing
> opengl (or whatever it's officially called). (Take a look at "apt-cache showpkg
> libgl1".)

Ah, thank you.

> Building your packages with pbuilder (and testing those) will catch most of your
> obmissions.

I'll try that - last time I tried, some weeks ago, it seemed unstable
was un-installable.

> BTW: (Learned by my own obmission.) For free packages, you might also want to
> check whether the build-dependencies are in main. (IIRC, molmol is non-free,
> anyway, though.)

Yes, it's non-free. I will have to ask the authors wether it may be
distributed at all.

>> Of course if I use some utilities not in build-essential, I have to know
>> that myself and put them there. But what about libraries? Can I just
>> assume that for every library in the Dependencies of my binary package,
>> I need the respective libfoo-dev in Build-Dependencies?
> More or less, yes.

What would be a case of "less"?

TIA, Frank
-- 
Frank Küster, Biozentrum der Univ. Basel
Abt. Biophysikalische Chemie



Reply to: