[tex-live] xdvipdfmx build problem

Jonathan Kew jonathan_kew at sil.org
Sat Sep 30 10:33:52 CEST 2006


On 30 Sep 2006, at 6:44 am, Reinhard Kotucha wrote:

> When I try to compile the current svn version of TL I get the
> following error message:
>
> if gcc -DHAVE_CONFIG_H -I. -I../../../../texk/xdvipdfmx/src -I..  - 
> I../../../libs/libpng -I../../../../texk/xdvipdfmx/src/../../../ 
> libs/libpng -I../../../libs/zlib -I../../../../texk/xdvipdfmx/ 
> src/../../../libs/zlib -I../../../../texk/xdvipdfmx/src/../../../ 
> libs/freetype2/include -I../../../texk -I../../../../texk/ 
> xdvipdfmx/../../texk  -g -O2  -MT xdvipdfmx-cff.o -MD -MP -MF  
> ".deps/xdvipdfmx-cff.Tpo" -c -o xdvipdfmx-cff.o `test -f 'cff.c' ||  
> echo '../../../../texk/xdvipdfmx/src/'`cff.c; \
> then mv -f ".deps/xdvipdfmx-cff.Tpo" ".deps/xdvipdfmx-cff.Po"; else  
> rm -f ".deps/xdvipdfmx-cff.Tpo"; exit 1; fi
> ../../../../texk/xdvipdfmx/src/cff.c: In function `cff_open':
> ../../../../texk/xdvipdfmx/src/cff.c:143: error: structure has no  
> member named `loc'
> make[4]: *** [xdvipdfmx-cff.o] Error 1
>
>
> $ uname -op
> AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ GNU/Linux

Thanks for the report. It builds OK for me on a couple of Linux  
systems, but I'm not surprised if there are some configure issues  
still to sort out.

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.)

Anyhow, I'll try to look into this. I've been wondering whether we  
should attempt a static build of fontconfig within TL, to avoid the  
dependency... but it's unclear whether this would work if the distro  
is using a customized FC configuration.

(The build should support a --without-xdvipdfmx option, if you want  
to build everything else for now.)

JK



More information about the tex-live mailing list