Good evening,
currently when I try to install fbpdf-git via the pacaur wrapper it fails with
$ pacaur -S fbpdf-git
:: Package(s) fbpdf-git not found in repositories, trying AUR...
:: resolving dependencies...
:: no results found for mujs
Anything you can do about this?
Thanks in advance!
Search Criteria
Package Details: fbpdf-git r107.6a0d77f-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/fbpdf-git.git (read-only, click to copy) |
---|---|
Package Base: | fbpdf-git |
Description: | A small framebuffer pdf viewer, based on MuPDF. |
Upstream URL: | https://github.com/aligrudi/fbpdf |
Licenses: | ISC |
Conflicts: | fbpdf |
Provides: | fbpdf |
Submitter: | Sara |
Maintainer: | xlucn |
Last Packager: | xlucn |
Votes: | 43 |
Popularity: | 0.000000 |
First Submitted: | 2011-02-08 00:46 (UTC) |
Last Updated: | 2025-01-24 14:36 (UTC) |
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 .. 12 Next › Last »
numbleroot commented on 2016-10-25 22:02 (UTC)
dreieck commented on 2016-09-24 11:30 (UTC)
Fails to build:
== %< ==
cc -c -Wall -O2 -I./include fbpdf.c
cc -c -Wall -O2 -I./include mupdf.c
cc -c -Wall -O2 -I./include draw.c
cc -o fbpdf fbpdf.o mupdf.o draw.o -L./lib -lmupdf -lmujs -lfreetype \
-ljbig2dec -ljpeg -lz -lopenjp2 -lm -lcrypto
/sbin/ld: cannot find -lmujs
collect2: error: ld returned 1 exit status
make: *** [Makefile:14: fbpdf] Error 1
== >% ==
dr.fx commented on 2016-02-24 22:42 (UTC)
Why is Poppler both a required and optional dependency? And what is Poppler used for? I tried running fbpdf after removing Poppler from my system (using pacman's dd option to ignore dependencies) and it still worked fine as far as that I could see.
radonballoon commented on 2015-02-17 20:51 (UTC)
For those who can't compile due to error idomeneo1 commented about: download tarball and makepkg.
Alternatively you can edit the makefile and change
-lopenjpeg
to
-lopenjp2
peresmeshnik commented on 2014-05-24 12:32 (UTC)
Solved by pacman -Syu.
peresmeshnik commented on 2014-05-23 14:17 (UTC)
Hello.
I get an error after makepkg:
==> Starting build...
Cloning into '/home/alex/builds/fbpdf-git/src/fbpdf-build'...
done.
cc -c -Wall -O2 -I./include fbpdf.c
cc -c -Wall -O2 -I./include mupdf.c
mupdf.c: In function ‘doc_open’:
mupdf.c:68:2: warning: implicit declaration of function ‘fz_register_document_handlers’ [-Wimplicit-function-declaration]
fz_register_document_handlers(doc->ctx);
^
cc -c -Wall -O2 -I./include draw.c
cc -o fbpdf fbpdf.o mupdf.o draw.o -L./lib -lmupdf -lmujs -lfreetype \
-ljbig2dec -ljpeg -lz -lopenjp2 -lm -lcrypto
/usr/bin/ld: cannot find -lmujs
collect2: error: ld returned 1 exit status
Makefile:14: recipe for target 'fbpdf' failed
make: *** [fbpdf] Error 1
==> ERROR: A failure occurred in build().
Aborting...
When I substitute -lmujs for -lmupdf-js-none in src/fbpdf-build/Makefile and do make all I get this error:
cc -o fbpdf fbpdf.o mupdf.o draw.o -L./lib -lmupdf -lmupdf-js-none -lfreetype \
-ljbig2dec -ljpeg -lz -lopenjp2 -lm -lcrypto
mupdf.o: In function `doc_open':
mupdf.c:(.text+0x2e9): undefined reference to `fz_register_document_handlers'
collect2: error: ld returned 1 exit status
Makefile:14: recipe for target 'fbpdf' failed
make: *** [fbpdf] Error 1
mupdf version is 1.3-8.
Thanks.
jeaye commented on 2014-03-28 20:01 (UTC)
Had to install community/openjpeg2, which is not marked a dependency.
Pinned Comments
xlucn commented on 2022-06-24 05:46 (UTC) (edited on 2023-11-20 08:36 (UTC) by xlucn)
I updated the package. Apart from the fixes (please test it), most notably I removed the poppler-based fbpdf2, and renamed "fbpdf" as "fbpdf-mupdf" instead of "neatfbpdf", still to avoid conflict with "fbida" package. Those are just my own decisions, so they can be changed again.
If you want poppler-based variant, see https://aur.archlinux.org/packages/fbpdf-poppler-git.