[tex-k] libpoppler support in TeX Live source tree

Norbert Preining preining at logic.at
Tue May 5 15:55:42 CEST 2009


On Di, 05 Mai 2009, Norbert Preining wrote:
> 	objectStream *objStr = xref->getObjStr();
> in texk/web2c/pdftexdir/pdftosrc.cc:167 does not compile with poppler,
> warning is:
> ../../../texk/web2c/pdftexdir/pdftosrc.cc:167: error: ‘class XRef’ has no member named ‘getObjStr’
> ../../../texk/web2c/pdftexdir/pdftosrc.cc:169: error: invalid use of incomplete type ‘struct ObjectStream’
> /usr/include/poppler/XRef.h:39: error: forward declaration of ‘struct ObjectStream’
> ../../../texk/web2c/pdftexdir/pdftosrc.cc:174: error: invalid use of incomplete type ‘struct ObjectStream’
> /usr/include/poppler/XRef.h:39: error: forward declaration of ‘struct ObjectStream’


Ok, googling found one hit, and that is a patch from redhat for poppler
0.6.2 that seems to not have been included:

It moves the declaration of ObjectStream form XRef.cc to XRef.h and
defines getObjStr.
https://www.redhat.com/archives/fedora-extras-commits/2007-November/msg08712.html

WIth that it compiles fine.

Bummer.

I am asking on the poppler IRC channel. No idea what will happen.

Best wishes

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <preining at logic.at>        Vienna University of Technology
Debian Developer <preining at debian.org>                         Debian TeX Group
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
BALDOCK
The sharp prong on the top of a tree stump where the tree has snapped
off before being completely sawn through.
			--- Douglas Adams, The Meaning of Liff


More information about the tex-k mailing list