Hi Mr. Random ;)
2010/7/22 J. Random Coder <[email protected]>:
> I am trying to build apt statically for use in a miniature 'system
> within a system' I am constructing inside a chroot jail for a project.
That is the first of many errors you will encounter unfortunately.
APT in its current (buildsystem)state simple can't be statical linked
(anymore - i think it worked at some point in the [distant] past).
Feel free to make it work again, it shouldn't be too hard as some
code to handle it is already included with ONLYSTATICLIBS.
> I do NOT want to have to litter the system with all of the various
> libraries that apt depends upon.
apt depends on libc6, libgcc1 and libstdc++6
(In the experimental version libz is added to the list)
The not required apt-utils additional on libdb{4.{6,7,8,9},5.0}
depending on in which environment you will compile it.
(libcurl is needed only for the optional apt-transport-https)
I think it will be really hard to omit these libraries even on a
miniature system as a lot of core packages depend on these libs
so compiling APT static will most likely bring nothing beside
increased size requirements…
Best regards,
David Kalnischkies
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]