[tex-live] xdvipdfmx build problem

Jonathan Kew jonathan_kew at sil.org
Tue Oct 3 20:34:41 CEST 2006


On 1 Oct 2006, at 4:51 pm, Reinhard Kotucha wrote:

>>>>>> "Jonathan" == Jonathan Kew <jonathan_kew at sil.org> writes:
>
>> My first guess is that you don't have fontconfig (or the
>> fontconfig headers) installed, and xdvipdfmx doesn't build
>> correctly without them. If you can install fontconfig-dev or
>> whatever is equivalent for your Linux system, you could confirm
>> whether this is the issue. (If I'm right, then obviously configure
>> needs to check this better.)
>
> There are three files in /usr/include/fontconfig, fcfreetype.h,
> fcprivate.h, and fontconfig.h
>
> A few weeks ago I updated my system and have fontconfig-2.3.2 now.
> With this version xetex compiles without problems.
>
> When I try --without-xdvipdfmx I still get
> xetex compiled.  Hence I assume that the header files are ok.

Yes, they are. The problem was with the xdvipdfmx configure script,  
and was masked on my system by the presence of libkpathsea as an  
installed library. I was able to reproduce the failure on a "clean"  
machine.

I have checked in a fixed configure script, so I believe xdvipdfmx  
should now build for you (let me know if it still doesn't).

Both xetex and xdvipdfmx will require the fontconfig library (with  
headers) installed in order to build. I tried building xetex with a  
private static copy of fontconfig some time back, and the results  
were not encouraging (didn't seem to find the fonts that the system's  
installed fontconfig could find), but I'll look into this again;  
maybe I did something wrong at that time.

In other news: in order to build TL on a fresh Ubuntu system, I had  
to install the libncurses5-dev package, which surprised me, as we  
have /libs/ncurses in the TL tree. But without the -dev package  
installed, I get errors building texinfo. I don't plan to investigate  
this at the moment, though.

JK



More information about the tex-live mailing list