[XeTeX] Problem installing XeTeX on OS X with Darwinports

Todd Lehman tsl at tsl.bu.edu
Thu Apr 10 15:06:05 CEST 2008


Hello,

I'm running into a problem getting XeTeX installed on OS X with 
Darwinports.  Installation of texlive (http://texlive.darwinports.com/) 
went just fine, as did several other packages, but installation of XeTeX 
(http://xetex.darwinports.com/) is reporting make errors [below].  I'm
not sure if I'm doing something wrong or if the Darwinports distribution 
of XeTeX is broken?  It fails exactly the same way on two different 
systems -- a PowerMac G5 and a Core 2 Duo -- both running OS X 10.5.2.
The most relevant error line seems to be:

   make: *** No rule to make target `../../libs/icu-xetex/lib/libsicuuc.a', needed by `xetex'.  Stop.

I did a search for "icu-xetex" on darwinports.org, and it seemed to 
indicate that the "texlive_base" package is a prerequisite.  I checked, 
and I already have that installed, and it's up to date.

One other (related) thing that's confusing me is that "port deps xetex" 
says it depends on tetex, which I don't currently have, and when I try to 
install the tetex package, it says that a2ping is already being used by 
the texlive_base package, and refuses to activate the tetex package.  Hmm.

Any ideas?

--Todd


$ sudo port install xetex
--->  Building XeTeX with target all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_tex_XeTeX/work/xetex-0.995" && ./build-xetex all " returned error 1
Command output: c++ -I../../libs/icu-xetex/common -I../../../texk/web2c/../../libs/icu-xetex/common -I../../../texk/web2c/../../libs/icu-xetex/layout -DLE_USE_CMEMORY  -DXETEX_MAC -c ../../../texk/web2c/xetexdir/cmaps.cpp -o cmaps.o
c++ -I../../libs/icu-xetex/common -I../../../texk/web2c/../../libs/icu-xetex/common -I../../../texk/web2c/../../libs/icu-xetex/layout -DLE_USE_CMEMORY  -DXETEX_MAC -c ../../../texk/web2c/xetexdir/FontTableCache.cpp -o FontTableCache.o
c++ -I../../libs/icu-xetex/common -I../../../texk/web2c/../../libs/icu-xetex/common -I../../../texk/web2c/../../libs/icu-xetex/layout -DLE_USE_CMEMORY  -DXETEX_MAC -c ../../../texk/web2c/xetexdir/XeTeXFontInst_Mac.cpp -o XeTeXFontInst_Mac.o
c++ -I../../libs/icu-xetex/common -I../../../texk/web2c/../../libs/icu-xetex/common -I../../../texk/web2c/../../libs/icu-xetex/layout -DLE_USE_CMEMORY -I../../../texk/web2c/../../libs/freetype2/include  -DXETEX_MAC -c ../../../texk/web2c/xetexdir/XeTeXFontInst_FT2.cpp -o XeTeXFontInst_FT2.o
make: *** No rule to make target `../../libs/icu-xetex/lib/libsicuuc.a', needed by `xetex'.  Stop.
gcc -DHAVE_CONFIG_H  -I. -I../../../texk/xdv2pdf -I.. -I../../../texk/xdv2pdf/..   -g -O2  -c ../../../texk/xdv2pdf/xdv2pdf_main.c -o xdv2pdf_main.o
c++ -g -O2 -DHAVE_CONFIG_H  -I. -I../../../texk/xdv2pdf -c ../../../texk/xdv2pdf/xdv2pdf.cpp
c++ -g -O2 -DHAVE_CONFIG_H  -I. -I../../../texk/xdv2pdf -c ../../../texk/xdv2pdf/xdv2pdf_specials.cpp
/bin/sh ../libtool --mode=link c++ -o xdv2pdf  xdv2pdf_main.o xdv2pdf.o xdv2pdf_specials.o -framework Carbon -framework QuickTime  ../kpathsea/libkpathsea.la -lm  
mkdir .libs
c++ -o xdv2pdf xdv2pdf_main.o xdv2pdf.o xdv2pdf_specials.o -framework Carbon -framework QuickTime  ../kpathsea/.libs/libkpathsea.a -lm
cc -DHAVE_CONFIG_H  -I. -I../../../texk/xdv2pdf -c ../../../texk/xdv2pdf/T1Wrap.m
../../../texk/xdv2pdf/T1Wrap.m: In function 'digestPfbForSfnt':
../../../texk/xdv2pdf/T1Wrap.m:179: warning: pointer targets in passing argument 1 of 'getPfbLong' differ in signedness
../../../texk/xdv2pdf/T1Wrap.m:208: warning: pointer targets in passing argument 1 of 'getPfbLong' differ in signedness
../../../texk/xdv2pdf/T1Wrap.m:209: warning: pointer targets in passing argument 1 of 'decrypt' differ in signedness
../../../texk/xdv2pdf/T1Wrap.m: In function 'wrapPfb':
../../../texk/xdv2pdf/T1Wrap.m:401: warning: 'cString' is deprecated (declared at /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:345)
../../../texk/xdv2pdf/T1Wrap.m:401: warning: 'cStringLength' is deprecated (declared at /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:347)
../../../texk/xdv2pdf/T1Wrap.m:554: warning: 'cStringLength' is deprecated (declared at /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:347)
../../../texk/xdv2pdf/T1Wrap.m:556: warning: 'cString' is deprecated (declared at /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:345)
cc -DHAVE_CONFIG_H  -I. -I../../../texk/xdv2pdf -c ../../../texk/xdv2pdf/SimplePSInterpreter.m
../../../texk/xdv2pdf/SimplePSInterpreter.m: In function 'decryptString':
../../../texk/xdv2pdf/SimplePSInterpreter.m:484: warning: 'cString' is deprecated (declared at /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:345)
../../../texk/xdv2pdf/SimplePSInterpreter.m:484: warning: pointer targets in initialization differ in signedness
../../../texk/xdv2pdf/SimplePSInterpreter.m:485: warning: 'cStringLength' is deprecated (declared at /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:347)
gcc -o T1Wrap T1Wrap.o SimplePSInterpreter.o -framework Cocoa -lm
ls: Work/texk/web2c/xetex: No such file or directory
-rwxr-xr-x  1 root  admin   86240 Apr  5 11:48 Work/texk/xdv2pdf/T1Wrap
-rwxr-xr-x  1 root  admin  228436 Apr  5 11:48 Work/texk/xdv2pdf/xdv2pdf
Error: Status 1 encountered during processing.

$ sudo port install tetex
--->  Installing teTeX 3.0_5
--->  Activating teTeX 3.0_5
Error: Target org.macports.activate returned: Image error: /opt/local/bin/a2ping is being used by the active texlive_base port.  Please deactivate this port first, or use the -f flag to force the 
activation.
Error: Status 1 encountered during processing.

$ port installed
The following ports are currently installed:
  bzip2 @1.0.4_1 (active)
  expat @2.0.1_0 (active)
  fontconfig @2.5.0_0+macosx (active)
  freetype @2.3.5_1 (active)
  gawk @3.1.6_0 (active)
  gettext @0.17_3 (active)
  ghostscript @8.62_0 (active)
  gsed @4.1.5_3 (active)
  ImageMagick @6.3.9-7_0+q16 (active)
  jasper @1.701.0_0 (active)
  jhead @2.7_0 (active)
  jpeg @6b_2 (active)
  libiconv @1.12_0 (active)
  libpng @1.2.25_0 (active)
  libxml2 @2.6.31_0 (active)
  ncurses @5.6_0 (active)
  ncursesw @5.6_1 (active)
  netpbm @10.26.51_0 (active)
  perl5.8 @5.8.8_2 (active)
  pkgconfig @0.23_0 (active)
  texi2html @1.76_3 (active)
  texinfo @4.11_0 (active)
  texlive @2007_4 (active)
  texlive_base @2007_1 (active)
  texlive_texmf-full @2007_0 (active)
  texlive_texmf-minimal @2007_0 (active)
  tiff @3.8.2_1+macosx (active)
  xdvipdfmx @0.1_0 (active)
  zlib @1.2.3_1 (active)

$ uname -a
Darwin escher.bu.edu 9.2.0 Darwin Kernel Version 9.2.0: Tue Feb  5 16:15:19 PST 2008; root:xnu-1228.3.13~1/RELEASE_PPC Power Macintosh powerpc


More information about the XeTeX mailing list