I am running OpenBSD 5.7 stable branch without X.

I wanted to install "vnstat" from ports, but got the following error message:

# pkg_add -ivv vnstat
Update candidates: quirks-2.54 -> quirks-2.54
quirks-2.54 signed on 2015-03-08T12:33:05Z
No change in quirks-2.54
parsing vnstat-1.12p0
Direct dependencies for vnstat-1.12p0 resolve to gd-2.1.0 (todo: gd-2.1.0)
parsing gd-2.1.0
Direct dependencies for gd-2.1.0 resolve to libvpx-1.3.0p1 jpeg-9a png-1.6.16 
libiconv-1.14p1 tiff-4.0.3p2
Can't install gd-2.1.0 because of libraries
|library fontconfig.9.1 not found
| not found anywhere
|library freetype.23.0 not found
| not found anywhere
|library pthread-stubs.2.0 not found
| not found anywhere
Direct dependencies for gd-2.1.0 resolve to libvpx-1.3.0p1 jpeg-9a png-1.6.16 
libiconv-1.14p1 tiff-4.0.3p2
Full dependency tree is jpeg-9a libvpx-1.3.0p1 tiff-4.0.3p2 libiconv-1.14p1 
png-1.6.16
Direct dependencies for vnstat-1.12p0 resolve to gd-2.1.0
Can't install vnstat-1.12p0: can't resolve gd-2.1.0

Someone at #openbsd freenode pointed me to the FAQ and the issues about 
"no_x11":

http://www.openbsd.org/faq/faq15.html#NoFun

However, I think "pkg_add" could be more specific!

Without knowing what packages goes into X, it is impossible to understand that 
error message: "Can't install gd-2.1.0 because of libraries".

I got really confused because it doesn't specify what library it is talking 
about.

So, YES, http://www.openbsd.org/faq/faq4.html#FilesNeeded explaines the 
problem, but that's besides the problem.

pkg_add should be more specific: "You need to install xbase5.7.tgz" or whatever!

Kind regards.

Reply via email to