[tlbuild] PATCHES: --with-system-xpdf, various build system niggles...

Peter Breitenlohner peb at mppmu.mpg.de
Thu Jul 16 09:34:23 CEST 2009

On Wed, 15 Jul 2009, Edd Barrett wrote:

>> Contrary to this
>> 	pkg-config poppler --libs
>> (on Linux) gives "-L/usr/local/lib -lpoppler " (correct), and
>> 	pkg-config poppler --libs --static
>> gives the same result (wrong, lacking the library dependencies).
> puff% pkg-config poppler --libs
> -L/usr/local/lib -lpoppler
> puff% pkg-config poppler --libs --static
> -L/usr/local/lib -lpoppler
> Dodgy .pc file then I guess?

Hi Edd,

indeed. The easiest way for you would be to use
 	pkg-config poppler cairo --libs
possibly with additional packages, depending on how poppler was configured. 
This could then be inserted into the configure scripts in texk/web2c/ and at
the top-level and should also take care of the required '-lm'.

> With regards to gettext, the BSD's do not ship with *any* GNU utilites
> by default (other than gcc, but not for long, as PCC will take its place
> soon). All third party software goes in /usr/local instead of /usr,
> which is why icu and gettext have the same prefix.

For XeTeX I have put $(ICU_INCLUDES) first. This should avoid the installed
ICU headers, even with CPPFLAGS=-I/usr/local/include (not tested, not yet


More information about the tlbuild mailing list