[XeTeX] XeTeX build fails

Jonathan Kew jonathan_kew at sil.org
Fri Dec 21 16:40:03 CET 2007


On 21 Dec 2007, at 3:01 pm, Peter Dyballa wrote:

> Hello!
>
> The build-xetex script obviously uses variables from the environment,
> but it fails to use them correctly:
>
> 	gcc -dynamiclib -dynamic -g -O2  -dead_strip -bind_at_load -
> multiply_defined suppress -L/sw/lib/freetype219/lib -L/sw/lib/
> fontconfig2/lib -L/sw/lib/ncurses -L/sw/lib -L/usr/local/lib  -o ../
> lib/libicudata.dylib.36.0 ./out/tmp/icudt36b_dat.o -Wl,-
> compatibility_version -Wl,36 -Wl,-current_version -Wl,36.0 -
> install_name libicudata.dylib.36
> 	/usr/bin/libtool: unknown option character `b' in: -bind_at_load
> 	Usage: /usr/bin/libtool -static [-] file [...] [-filelist listfile
> [,dirname]] [-arch_only arch] [-sacLT]
> 	Usage: /usr/bin/libtool -dynamic [-] file [...] [-filelist listfile
> [,dirname]] [-arch_only arch] [-o output] [-install_name name] [-
> compatibility_version #] [-current_version #] [-seg1addr 0x#] [-
> segs_read_only_addr 0x#] [-segs_read_write_addr 0x#] [-seg_addr_table
> <filename>] [-seg_addr_table_filename <file_system_path>] [-all_load]
> [-noall_load]
> 	gmake[2]: *** [../lib/libicudata.dylib.36.0] Error 1
> 	gnumake[1]: *** [packagedata] Error 2
> 	gnumake: *** [all-recursive] Error 2
> 	### library build appears to have failed for icu-xetex
>
> My regular libtool is /usr/local/bin/libtool. And in PATH /usr/local/
> bin is before /usr/bin.
>
> It's also strange that -L/sw/lib/freetype219/lib is used. Before
> XeTeX has built it's own libfreetype ...

It's strange that Fink apparently includes such an old version.... I  
wonder if other Fink stuff (tools, libs, headers, whatever) is being  
used during your build (is /sw/bin in your path?).

I really can't help debug build problems in a non-standard  
environment; if you can suggest patches that improve compatibility,  
that's fine. Alternatively, use the standard tools on the platform.

JK



More information about the XeTeX mailing list