[XeTeX] XeTeX build fails
Peter Dyballa
Peter_Dyballa at Web.DE
Sat Dec 22 11:03:56 CET 2007
Am 21.12.2007 um 22:46 schrieb Jonathan Kew:
> It seems that you're trying to use Apple's version of gcc (according
> to the version info you quoted from /usr/bin/gcc); a locally-updated
> libtool (/usr/local/bin/libtool);
No, this one does not get used. All configure scripts find /usr/bin/
libtool only, although /usr/local/bin/libtool is earlier in PATH.
> and a linker from some Fink package
> (/sw/lib/odcctools/bin/ld). Who knows what C libraries (libstdc++,
> libgcc, etc) end up getting used.
Only the Apple supplied libraries get used. The set of odcctools is
as, ar, ld, ld64, libtool, lipo, otool, otool64, nm, segedit,
strings, strip, etc, plus libmacho (and man and info docs). Comparing
the versions of the tools it looks as if the Apple supplied tools are
now the same version. So time has come to remove that Fink package.
Libstdc++ can be a problem when trying to link it statically:
-r--r--r-- 1 root wheel 2966776 12 Sep 2006 /usr/lib/gcc/darwin/
3.3/libstdc++.a
-r--r--r-- 1 root wheel 2966776 12 Sep 2006 /usr/lib/gcc/darwin/
3.3/libstdc++_ZeroLink.a
-rw-r--r-- 1 root wheel 6766168 12 Sep 2006 /usr/lib/libstdc++-
static.a
-rwxr-xr-x 1 root wheel 2267176 28 Mär 2005 /usr/lib/libstdc++.
6.0.3.dylib
-rwxr-xr-x 1 root wheel 2001208 21 Dez 13:30 /usr/lib/libstdc++.
6.0.4.dylib
lrwxr-xr-x 1 root wheel 21 17 Nov 11:01 /usr/lib/libstdc++.
6.dylib -> libstdc++.6.0.4.dylib
Anyway, my try to make gcc tell a bit more of what it's doing with
the -v flag fails in a fascinating way:
gcc -DHAVE_CONFIG_H -I. -I../../../texk/kpathsea -I.. -I../../../
texk/kpathsea/.. -no-cpp-precomp -I/usr/include/openssl -I/sw/
include/pango-1.0 -I/sw/lib/fontconfig2/include -I/sw/include/
libpng12 -I/usr/local/include -I/sw/include -pipe -fPIC -mcpu=7450 -
mtune=7450 -fast -mpim-altivec -ftree-vectorize -foptimize-register-
move -freorder-blocks -freorder-blocks-and-partition -fthread-jumps -
fpeephole -fno-crossjumping -v -c ../../../texk/kpathsea/kpsewhich.c
-o kpsewhich.o
Using built-in specs.
Target: powerpc-apple-darwin8
Configured with: /private/var/tmp/gcc/gcc-5367.obj~1/src/configure --
disable-checking -enable-werror --prefix=/usr --mandir=/share/man --
enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg]
[^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-
slibdir=/usr/lib --build=powerpc-apple-darwin8 --host=powerpc-apple-
darwin8 --target=powerpc-apple-darwin8
Thread model: posix
gcc version 4.0.1 (Apple Computer, Inc. build 5367)
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/cc1 -quiet -v -I. -
I../../../texk/kpathsea -I.. -I../../../texk/kpathsea/.. -I/usr/
include/openssl -I/sw/include/pango-1.0 -I/sw/lib/fontconfig2/include
-I/sw/include/libpng12 -I/usr/local/include -I/sw/include -
D__DYNAMIC__ -DHAVE_CONFIG_H ../../../texk/kpathsea/kpsewhich.c -O3 -
quiet -dumpbase kpsewhich.c -mmacosx-version-min=10.3 -mcpu=7450 -
mtune=7450 -mpim-altivec -auxbase-strip kpsewhich.o -version -fPIC -
fast -ftree-vectorize -foptimize-register-move -freorder-blocks -
freorder-blocks-and-partition -fthread-jumps -fpeephole -fno-
crossjumping -o - |
as -arch ppc -o kpsewhich.o
ignoring nonexistent directory "/usr/lib/gcc/powerpc-apple-
darwin8/4.0.1/../../../../powerpc-apple-darwin8/include"
ignoring duplicate directory "/usr/local/include"
as it is a non-system directory that duplicates a system directory
#include "..." search starts here:
#include <...> search starts here:
.
../../../texk/kpathsea
..
../../../texk/kpathsea/..
/usr/include/openssl
/sw/include/pango-1.0
/sw/lib/fontconfig2/include
/sw/include/libpng12
/sw/include
/usr/local/include
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/include
/usr/include
/System/Library/Frameworks
/Library/Frameworks
End of search list.
GNU C version 4.0.1 (Apple Computer, Inc. build 5367) (powerpc-apple-
darwin8)
compiled by GNU C version 4.0.1 (Apple Computer, Inc. build 5367).
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-
heapsize=131072
Compiler executable checksum: 7c4b1a9419006811b85a8b298cb6b120
/bin/sh ../libtool --mode=link gcc -o kpsewhich -dead_strip -
multiply_defined suppress kpsewhich.o ../kpathsea/libkpathsea.la -lm
gcc -o kpsewhich -dead_strip -multiply_defined suppress
kpsewhich.o ../kpathsea/.libs/libkpathsea.a -lm
/usr/bin/ld: multiple definitions of symbol _kpse_record_input
../kpathsea/.libs/libkpathsea.a(cnf.o) definition of
_kpse_record_input in section (__DATA,__common)
../kpathsea/.libs/libkpathsea.a(fontmap.o) definition of
_kpse_record_input in section (__DATA,__common)
/usr/bin/ld: multiple definitions of symbol _kpse_record_output
../kpathsea/.libs/libkpathsea.a(cnf.o) definition of
_kpse_record_output in section (__DATA,__common)
../kpathsea/.libs/libkpathsea.a(fontmap.o) definition of
_kpse_record_output in section (__DATA,__common)
/usr/bin/ld: warning prebinding disabled because dependent library: /
usr/lib/system/libmathCommon.A.dylib can't be searched
collect2: ld returned 1 exit status
gnumake[1]: *** [kpsewhich] Error 1
gnumake: *** [../kpathsea/libkpathsea.la] Error 2
### failed to build the xetex binary
pete 250 /\ file /usr/lib/system/libmathCommon.A.dylib
/usr/lib/system/libmathCommon.A.dylib: Mach-O fat file with 2
architectures
/usr/lib/system/libmathCommon.A.dylib (for architecture ppc): Mach-
O dynamically linked shared library ppc
/usr/lib/system/libmathCommon.A.dylib (for architecture ppc64): Mach-
O 64-bit dynamically linked shared library ppc64
-r-xr-xr-x 1 root wheel 71196 17 Nov 11:04 /usr/lib/system/
libmathCommon.A.dylib
--
Greetings
Pete
"No man was ever taken to hell by a woman unless he already had a
ticket in his pocket, or at least had been fooling around with
timetables."
– Archie Goodwin
More information about the XeTeX
mailing list