[tlbuild] Building TL on Mac OS X
Angelo Graziosi
angelo.graziosi at alice.it
Thu May 24 23:06:50 CEST 2012
Just for the sake of completeness...
I am new to build TL on Mac OS X and have tried with MacPorts tools
installed,
$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/opt/local/libexec/gcc/x86_64-apple-darwin11/4.5.3/lto-wrapper
Target: x86_64-apple-darwin11
Configured with: ../gcc-4.5.3/configure --prefix=/opt/local
--build=x86_64-apple-darwin11
--enable-languages=c,c++,objc,obj-c++,fortran,java
--libdir=/opt/local/lib/gcc45 --includedir=/opt/local/include/gcc45
--infodir=/opt/local/share/info --mandir=/opt/local/share/man
--datarootdir=/opt/local/share/gcc-4.5 --with-local-prefix=/opt/local
--with-libiconv-prefix=/opt/local --with-system-zlib --disable-nls
--program-suffix=-mp-4.5
--with-gxx-include-dir=/opt/local/include/gcc45/c++/
--with-gmp=/opt/local --with-mpfr=/opt/local --with-mpc=/opt/local
--with-ppl=/opt/local --enable-stage1-checking --disable-multilib
--with-as=/opt/local/bin/as --with-ld=/opt/local/bin/ld
--with-ar=/opt/local/bin/ar
--with-bugurl=https://trac.macports.org/newticket --enable-lto
--enable-fully-dynamic-string --with-pkgversion='MacPorts gcc45 4.5.3_4'
Thread model: posix
gcc version 4.5.3 (MacPorts gcc45 4.5.3_4)
Have built Clisp as described by utils/README and than
./Build --enable-xindy CLISP=/tmp/clisp/clisp-build/clisp
[...]
g++ -DHAVE_CONFIG_H -I. -I../../../texk/web2c -I./w2c
-I/work/texlive-source/Work/texk -I/work/texlive-source/texk
-I../../../texk/web2c/xetexdir -DU_STATIC_IMPLEMENTATION
-I/work/texlive-source/Work/libs/icu/include `cat
/work/texlive-source/Work/libs/freetype2/ft-includes`
-I/work/texlive-source/Work/libs/teckit/include -DXETEX_MAC
-DXETEX_GRAPHITE -I/work/texlive-source/Work/libs/graphite/include
-I/work/texlive-source/Work/libs/zlib/include -ObjC++
-Wno-write-strings -Wno-attributes -MT libxetexmm_a-XeTeXFontMgr_Mac.o
-MD -MP -MF .deps/libxetexmm_a-XeTeXFontMgr_Mac.Tpo -c -o
libxetexmm_a-XeTeXFontMgr_Mac.o `test -f 'xetexdir/XeTeXFontMgr_Mac.cpp'
|| echo '../../../texk/web2c/'`xetexdir/XeTeXFontMgr_Mac.cpp
../../../texk/web2c/../../build-aux/install-sh -c -d xetexdir
../../../texk/web2c/../../build-aux/install-sh -c -d xetexdir
cc1plus: error: invalid option argument '-ObjC++'
mkdir: xetexdir: File exists
grep '^@d eTeX_version_string==' ../../../texk/web2c/etexdir/etex.ch \
| sed "s/^.*'-/#define ETEX_VERSION \"/;s/'.*$/\"/"
>xetexdir/etex_version.h
grep '^@d XeTeX_version_string==' ../../../texk/web2c/xetexdir/xetex.ch \
| sed "s/^.*'-/#define XETEX_VERSION \"/;s/'.*$/\"/"
>xetexdir/xetex_version.h
make[5]: *** [libxetexmm_a-XeTeXFontMgr_Mac.o] Error 1
make[5]: *** Waiting for unfinished jobs....
mv -f .deps/liblua51_a-lvm.Tpo .deps/liblua51_a-lvm.Po
make[4]: *** [all-recursive] Error 1
make[3]: *** [all] Error 2
make[2]: *** [subtexk] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
This occurs with current trunk on Lion 10.7.4 and Xcode 4.3.2.
Ciao,
Angelo.
More information about the tlbuild
mailing list