Re: Missing dependency when installing pfstat package
Theo de Raadt <[email protected]>
| Newsgroups | gmane.os.openbsd.sparc |
|---|---|
| Message-ID | <[email protected]> |
> This is a fresh 4.6 install on a sunblade 150.
>
> # pkg_add -v ftp://ftp.openbsd.org/pub/OpenBSD/4.6/packages/sparc64/pfstat-2.3p1.tgz
> parsing ftp://ftp.openbsd.org/pub/OpenBSD/4.6/packages/sparc64/pfstat-2.3p1.tgz
> Dependencies for pfstat-2.3p1 resolve to: gd-2.0.35, libiconv-1.13
> (todo: gd-2.0.35)
> pfstat-2.3p1:parsing gd-2.0.35
> Dependencies for gd-2.0.35 resolve to: png-1.2.35, jpeg-6bp5, libiconv-1.13
> found libspec c.51.0 in /usr/lib
> found libspec expat.9.0 in /usr/lib
> Can't install gd-2.0.35: lib not found fontconfig.6.0
^^^^^^^^^^^^^^
> Dependencies for gd-2.0.35 resolve to: png-1.2.35, jpeg-6bp5, libiconv-1.13
> Full dependency tree is png-1.2.35,jpeg-6bp5,libiconv-1.13
> Can't install gd-2.0.35: lib not found freetype.17.0
> found libspec iconv.6.0 in package libiconv-1.13
> found libspec jpeg.62.0 in package jpeg-6bp5
> found libspec m.5.0 in /usr/lib
> found libspec png.8.1 in package png-1.2.35
> found libspec z.4.1 in /usr/lib
> Can't install pfstat-2.3p1: can't resolve gd-2.0.35
>
> Is this because I didn't install the XWindow package(s) when I
> installed the system?
Yes.
By default the installer (from 4.6 and onwards) chooses to install X
if the machine has any sort of framebuffer -- even if it is not in use
as the console. But you must have chosen by hand to not install X.
More and more packages want some of the stuff supplied by X, and quite
frankly, X is so small I install the sets it on my 2GB firewalls.
Sorry, but you made a poor decision when you hand-fiddled the defaults.