Bug#589922: cannot compile apt statically - static compile fails
severity 589922 wishlist
thanks
On Do, 2010-07-22 at 04:58 -0400, J. Random Coder wrote:
> Package: apt
> Version: 0.7.20.2+lenny2
> Severity: important
> Justification: fails to build from source
>
>
> I go:
> export CFLAGS=-static; export CXXFLAGS=-static
>
> and then I go:
> # cd /usr/src
> # dpkg-source -x apt_0.7.20.2+lenny2.dsc
> # cd apt-0.7.20.2+lenny2
> # ./configure
>
> ./configure pukes. Its final lines of output:
>
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking db.h usability... no
> checking db.h presence... no
> checking for db.h... no
> checking for curl_easy_init in -lcurl... no
> configure: error: failed: I need CURL due https support
>
> 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. I
> do NOT want to have to litter the system with all of the various
> libraries that apt depends upon. I want static binaries of apt-get and
> all of the other apt programs.
I don't care, you don't tell us your real name and supporting a
statically compiled APT is not of interest for Debian.
--
Julian Andres Klode - Debian Developer, Ubuntu Member
See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.
Reply to: