Solved by pacman -Syu.
Search Criteria
Package Details: fbpdf-git r102.6276360-3
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: | 2023-11-18 18:26 (UTC) |
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 .. 11 Next › Last »
peresmeshnik commented on 2014-05-24 12:32 (UTC)
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.
idomeneo1 commented on 2014-01-24 21:09 (UTC)
I have openjpeg2, and it's not working
(.text+0x873): undefined reference to `opj_destroy_codec'
collect2: error: ld returned 1 exit status
Makefile:14: recipe for target 'fbpdf' failed
make: *** [fbpdf] Error 1
ovmjm commented on 2013-11-23 11:29 (UTC)
It seems the package now requires openjpeg2 to build with the -lopenjp2 flag instead of -lopenjpeg
idomeneo1 commented on 2013-11-22 20:58 (UTC)
Hi, I'm getting this in makepkg. Am I missing something?
==> Starting 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 -lmupdf-js-none -lfreetype \
-ljbig2dec -ljpeg -lz -lopenjpeg -lm
/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/../../../libmupdf.a(load-jpx.o): In function `fz_load_jpx':
(.text+0x229): undefined reference to `opj_set_info_handler'
/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/../../../libmupdf.a(load-jpx.o): In function `fz_load_jpx':
(.text+0x23f): undefined reference to `opj_set_warning_handler'
/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/../../../libmupdf.a(load-jpx.o): In function `fz_load_jpx':
(.text+0x255): undefined reference to `opj_set_error_handler'
/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/../../../libmupdf.a(load-jpx.o): In function `fz_load_jpx':
(.text+0x27c): undefined reference to `opj_stream_default_create'
/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/../../../libmupdf.a(load-jpx.o): In function `fz_load_jpx':
(.text+0x2b0): undefined reference to `opj_stream_set_read_function'
/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/../../../libmupdf.a(load-jpx.o): In function `fz_load_jpx':
(.text+0x2c2): undefined reference to `opj_stream_set_skip_function'
/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/../../../libmupdf.a(load-jpx.o): In function `fz_load_jpx':
(.text+0x2d4): undefined reference to `opj_stream_set_seek_function'
/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/../../../libmupdf.a(load-jpx.o): In function `fz_load_jpx':
(.text+0x2e7): undefined reference to `opj_stream_set_user_data'
/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/../../../libmupdf.a(load-jpx.o): In function `fz_load_jpx':
(.text+0x2ff): undefined reference to `opj_stream_set_user_data_length'
/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/../../../libmupdf.a(load-jpx.o): In function `fz_load_jpx':
(.text+0x316): undefined reference to `opj_read_header'
/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/../../../libmupdf.a(load-jpx.o): In function `fz_load_jpx':
(.text+0x345): undefined reference to `opj_stream_destroy'
/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/../../../libmupdf.a(load-jpx.o): In function `fz_load_jpx':
(.text+0x34d): undefined reference to `opj_destroy_codec'
/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/../../../libmupdf.a(load-jpx.o): In function `fz_load_jpx':
(.text+0x7f8): undefined reference to `opj_stream_destroy'
/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/../../../libmupdf.a(load-jpx.o): In function `fz_load_jpx':
(.text+0x800): undefined reference to `opj_destroy_codec'
/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/../../../libmupdf.a(load-jpx.o): In function `fz_load_jpx':
(.text+0x86b): undefined reference to `opj_stream_destroy'
/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/../../../libmupdf.a(load-jpx.o): In function `fz_load_jpx':
(.text+0x873): undefined reference to `opj_destroy_codec'
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...
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.