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

Re: How to get all dependent source packages



Hi,

On Thu, Jul 16, 2009 at 07:46:59PM +0800, sha liu wrote:
> Hi everyone,
>   What I want to do is:
>   If I want to build a package(for example dpkg) from source, how
> should I recursively get all the dependent *source* packages of it?
> This means not only the direct dependency of the package but also the
> dependent of the dependent...I know "apt-get build-dep" will only
> *install* the dependent *binary* packages.

Do you really mean "ALL".  You should start with build-essential
packages if you mean to say all build-dep packages.  But I do not know
why you do this.  You are doing cross compile.  I do not see point of
downloading source for all build-dep.

I guess this is best answered by reading CLFS itself.  I am no expert.

>   I want to do this because I need to build dpkg on a CLFS system
> (think it as a minimal linux system without debianization), and it's
> crazy to download all dependent source packages of dpkg, right?

Not really if you need dpkg as you say for your system. After all you
asked to have "Cross-Compiled Linux From Scratch" (a.k.a CLFS).

If you are building installation image only, you may not need dpkg.

Anyway, please google and ead things like:

  http://cross-lfs.org/view/clfs-embedded/x86/index.html

Osamu


Reply to: