[...]
(*) The only two packages I could install are `nano` and `elinks` and
I miss `feh` (to display images on the framebuffer), `xpdf` (to read
PDF) and `surf` (a light WebKit based web browser, unavoidable, to
me).
feh and xpdf should be available as binary packages for i386: <https://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/graphics/feh/README.html> <https://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/print/xpdf/README.html>
Looks like surf is not in pkgsrc yet. Maybe you want to play with this package from the wip (work in progress) section:
<http://pkgsrc.se/wip/surf>
Le jeudi 11 octobre 2018 13:08:06 UTC+2, Michael Buerle a crit:
feh and xpdf should be available as binary packages for i386: <https://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/graphics/feh/README.html> <https://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/print/xpdf/README.html>
Looks like surf is not in pkgsrc yet. Maybe you want to play with this package from the wip (work in progress) section: <http://pkgsrc.se/wip/surf>
Indeed, the first two packages are there, but some of their
dependencies seems to be missing:
# pkg_add feh
pkg_add: no pkg found for 'libelf>=0.8.5', sorry.
pkg_add: Can't install dependency libelf>=0.8.5
pkg_add: Can't install dependency glib2>=2.34.0
pkg_add: Can't install dependency desktop-file-utils>=0.10nb1
pkg_add: 1 package addition failed
# pkg_add xpdf
pkg_add: no pkg found for 'openjpeg>=2.1.0', sorry.
pkg_add: Can't install dependency openjpeg>=2.1.0
pkg_add: Can't install dependency poppler-utils-[0-9]*
pkg_add: 1 package addition failed
For the WIP packages, I could not find how to add it in PKG_PATH, and
I though WIP is for developers only. My PKG_PATH is this (defined in `/root/.profile`):
http://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/i386/8.0/All
I’m not on a hurry, so I will try to have some time to investigate a bit.
But at least binary packages to fulfil the dependencies for feh and xpdf
are there. Normally pkg_add should install them automatically. If this doesn't work, you can download them manually (and install via pkg_add
from your local disk).
WIP is for unfinished packages. Nobody forbids you to use them, you
simply should not expect them to be mature. To build surf checkout
the pkgsrc and the wip trees as described here: <https://www.netbsd.org/docs/pkgsrc/getting.html>
<https://pkgsrc.org/wip/>
The dependencies are "x11/gtk2" and "www/webkit24-gtk". You can try to install binary packages for them as described above. Then:
cd /usr/pkgsrc/wip/surf
make install
should build a binary package (in "/usr/pkgsrc/packages") for wip/surf
and install it.
Le vendredi 12 octobre 2018 18:08:05 UTC+2, Michael Bäuerle a écrit :
But at least binary packages to fulfil the dependencies for feh and xpdf are there. Normally pkg_add should install them automatically. If this doesn't work, you can download them manually (and install via pkg_add
from your local disk).
You are right, but it still had failures (more later). There is not
even a need to download, using `pkg_add` and dependency name without
version number, works.
Still, strange things occurred. For both `feh` and `xpdf`, I got an
error about a missing shared library and the error came from `pkg_add` process. For `feh`, it was a missing `libglib.so.1`, while the `feh` executable has no dependency on this, according to `ldd`. For `xpdf`,
it was another whose name I forget.
`xpdf` works,
but `feh` don’t, there is a missing `libImlib2` with
an uppercase “i”. An `imlib2` package was installed, but failed to provide it.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 296 |
Nodes: | 16 (2 / 14) |
Uptime: | 38:25:11 |
Calls: | 6,648 |
Files: | 12,193 |
Messages: | 5,329,245 |