You are not logged in.

#1 2016-12-11 10:47:14

bleaver
Member
Registered: 2016-12-05
Posts: 18

Zathura not displaying any documents

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

#2 2016-12-11 13:15:50

null
Member
Registered: 2009-05-06
Posts: 398

Re: Zathura not displaying any documents

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

#3 2016-12-11 23:13:23

bleaver
Member
Registered: 2016-12-05
Posts: 18

Re: Zathura not displaying any documents

Thank you, I did not know this.

Offline

#4 2016-12-11 23:22:57

bleaver
Member
Registered: 2016-12-05
Posts: 18

Re: Zathura not displaying any documents

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

#5 2016-12-12 10:54:25

null
Member
Registered: 2009-05-06
Posts: 398

Re: Zathura not displaying any documents

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

Board footer

Powered by FluxBB