You are not logged in.
Zathura cannot display any documents. When I try to run "zathura file.pdf", I get the following:
error: could not open plugin directory: /usr/lib/zathura
error: Unknown file type: 'application/pdf'
How can I fix this?
Last edited by bleaver (2016-12-11 23:17:19)
Offline
Do you have zathura-pdf-mupdf or zathura-pdf-poppler installed?
Zathura is a document viewer that needs a plugin for each document type to be able to display them.
Offline
Thank you, I did not know this.
Offline
I have installed the pdf plugin, but I am unable to install the epub plugin.
Aur Targets (1): zathura-epub-git
:: Proceed with installation? [Y/n]
]2;Building 1/1 zathura-epub-git==> Making package: zathura-epub-git 4a2e037-1 (Sun Dec 11 07:19:44 PST 2016)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Updating zathura-epub git repo...
Fetching origin
==> Validating source files with md5sums...
zathura-epub ... Skipped
==> Extracting sources...
-> Creating working copy of zathura-epub git repo...
Reset branch 'makepkg'
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
make: execvp: pkg-config: Permission denied
/bin/sh: pkg-config: command not found
make: execvp: pkg-config: Permission denied
make: execvp: pkg-config: Permission denied
make: execvp: pkg-config: Permission denied
make: execvp: pkg-config: Permission denied
make: execvp: pkg-config: Permission denied
make: execvp: pkg-config: Permission denied
make: execvp: pkg-config: Permission denied
make: execvp: pkg-config: Permission denied
epub build options:
CFLAGS = -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -std=c99 -fPIC -pedantic -Wall -Wno-format-zero-length
LDFLAGS = -Wl,-O1,--sort-common,--as-needed,-z,relro
DFLAGS = -g
CC = cc
Makefile:23: *** "The minimum required version of zathura is 0.1.1". Stop.
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: the build failed
-> Status
failed (1): zathura-epub-git
Last edited by bleaver (2016-12-11 23:24:20)
Offline
That's a different problem for which you should open a new thread in the AUR forum section. Also post the complete thing. Including your running commands. And before you want any help with a broken PKGBUILD check if there is some solution in the AUR comments and also check if the thing build without whatever AUR helper you using (aka just makepkg).
Offline