Scanning Suggestions (Bookmarks & Colour)
Van Snyder
van.snyder at sbcglobal.net
Fri Aug 27 17:43:24 CDT 2021
On Fri, 2021-08-27 at 14:10 -0700, Al Kossow via cctalk wrote:
> It is trivial to add page bookmarks with Eric Smith's tumble with the
> -b %F option
This isn't a default part of Debian distributions, and apt-get can't
find it.
I found it on github
https://github.com/brouhaha/tumble
I had to install several packages that are not default parts of Debian
"Buster" 10, such as bison, flex, libtiff-dev libjpeg-dev libnetpbm11-
dev
I wasn't able to compile it on Debian "Buster" 10. Ultimately, "make"
gave up:
# make clean; make
... bison and flex...
... a bunch of successful cc compiles to get .o files
cc tumble.o semantics.o tumble_input.o tumble_tiff.o tumble_jpeg.o
tumble_pbm.o tumble_png.o tumble_blank.o bitblt.o bitblt_g4.o
bitblt_tables.o g4_tables.o pdf.o pdf_util.o pdf_prim.o pdf_name_tree.o
pdf_bookmark.o pdf_page_label.o pdf_text.o pdf_g4.o pdf_jpeg.o
pdf_png.o scanner.o parser.tab.o -ltiff -ljpeg -lnetpbm -lz -lm -o
tumble
/usr/bin/ld: tumble_input.o:(.bss+0x0): multiple definition of
`blank_handler'; tumble.o:(.bss+0x20): first defined here
/usr/bin/ld: tumble_tiff.o:(.bss+0x20): multiple definition of
`blank_handler'; tumble.o:(.bss+0x20): first defined here
/usr/bin/ld: tumble_jpeg.o:(.bss+0x0): multiple definition of
`blank_handler'; tumble.o:(.bss+0x20): first defined here
/usr/bin/ld: tumble_pbm.o:(.bss+0x0): multiple definition of
`blank_handler'; tumble.o:(.bss+0x20): first defined here
/usr/bin/ld: tumble_png.o:(.bss+0x0): multiple definition of
`blank_handler'; tumble.o:(.bss+0x20): first defined here
/usr/bin/ld: tumble_blank.o:(.data.rel.local+0x0): multiple definition
of `blank_handler'; tumble.o:(.bss+0x20): first defined here
/usr/bin/ld: scanner.o:(.bss+0x18): multiple definition of `yyin';
semantics.o:(.bss+0x50): first defined here
collect2: error: ld returned 1 exit status
make: *** [Makefile:127: tumble] Error 1
Is it available as a statically-linked executable, or only as source
from github?
More information about the cctalk
mailing list