[XeTeX] installation difficulties (was Re: XeTeX 0.4 available)

Ross Moore ross at ics.mq.edu.au
Wed Apr 21 11:13:31 CEST 2004


Hi Hans,

On 21/04/2004, at 5:38 PM, Hans Hagen wrote:

> Hi,
>
>> I've posted a new version of XeTeX, the Unicode-based TeX for OS X; 
>> see
>>
>>         http://scripts.sil.org/xetex/
>
> Is it possible to post a 'simple' zip file with only the binaries and 
> pool file? In order to test/play with xetex i want to install it in my 
> local (minimal) tree and currently i have no idea where those binaries 
> end up (searching xetex after an install does not giv eback any 
> binary)

I'm having problems installing too --- same as with v0.3.

However, I know how to overcome them.

Hans, when you install do *not* hit the "Close" button until you have
inspected the 'log', via the  File:>Show Log  menu item.

Then when the "Installer Log" window comes up,
set the popup to "Show Everything".


That should give you some messages about what has gone wrong.
For me, this includes:

Apr 21 18:46:25 : Running task: 
/Users/rossmoor/Sources/XeTeX/XeTeX.pkg/Contents/Resources/preflight
Apr 21 18:46:29 : 
/Users/rossmoor/Sources/XeTeX/XeTeX.pkg/Contents/Resources/preflight:
  line 1: kpsewhich: command not found
Apr 21 18:46:29 : 
/Users/rossmoor/Sources/XeTeX/XeTeX.pkg/Contents/Resources/preflight:
  line 21: [: ==: unary operator expected
Apr 21 18:46:29 : 
/Users/rossmoor/Sources/XeTeX/XeTeX.pkg/Contents/Resources/preflight:
  line 1: kpsewhich: command not found
Apr 21 18:46:29 : 
/Users/rossmoor/Sources/XeTeX/XeTeX.pkg/Contents/Resources/preflight:
  line 1: kpsewhich: command not found
Apr 21 18:46:29 : 
/Users/rossmoor/Sources/XeTeX/XeTeX.pkg/Contents/Resources/preflight:
  line 27: [: ==: unary operator expected
Apr 21 18:46:29 : 
/Users/rossmoor/Sources/XeTeX/XeTeX.pkg/Contents/Resources/preflight:
  line 1: kpsewhich: command not found
Apr 21 18:46:29 : Finished task: 
/Users/rossmoor/Sources/XeTeX/XeTeX.pkg/Contents/Resources/preflight

and later

Apr 21 18:46:33 : Running task: 
/Users/rossmoor/Sources/XeTeX/XeTeX.pkg/Contents/Resources/postflight
Apr 21 18:46:34 : removing old OTF fonts
Apr 21 18:46:34 : usage: rm [-f | -i] [-dPRrvW] file ...
Apr 21 18:46:34 :        unlink file
Apr 21 18:46:34 : usage: mv [-f | -i | -n] [-v] source target
Apr 21 18:46:34 :        mv [-f | -i | -n] [-v] source ... directory
Apr 21 18:46:34 : rmdir: /tmp/xetex-install/bin/: Directory not empty
Apr 21 18:46:34 : rmdir:
Apr 21 18:46:34 : /tmp/xetex-install/web2c/
Apr 21 18:46:34 : :
Apr 21 18:46:34 : Directory not empty
Apr 21 18:46:35 : rmdir: /tmp/xetex-install/otf/: Directory not empty
Apr 21 18:47:05 : Finished task: 
/Users/rossmoor/Sources/XeTeX/XeTeX.pkg/Contents/Resources/postflight

which messages are explained by the failure of the earlier commands.


Also, Hans, you can find (and Edit) these preflight and postflight 
scripts.

Easiest way is to  Ctrl-click  on the  XeTeX.pkg  icon, and choose
  "Show Package Contents"  from the resulting menu.
(That's the Ctrl modifier key, not the "Apple" or clover-leaf modifier.)


Last time I replaced all the  `which kpsewhich` instances with the full 
path
to  kpsewhich , then all worked fine.
On my system I have:

[GlenLivet: XeTeX samples] rossmoor% which kpsewhich
/usr/local/teTeX/bin/powerpc-apple-darwin-current/kpsewhich


Jonathan, the thing that I don't understand is why, in this code-block:


if ! [ -e "`which kpsewhich`" ]; then
	echo 'Unable to locate TeX binaries' >> /tmp/xetex-install/log
	exit 2
fi
echo `which kpsewhich` | sed -e 's/kpsewhich$//' > 
/tmp/xetex-install/bindir


...the first test passes OK, but the subsequent  echo  command
fails to write into  /tmp/xetex-install/bindir .
That is, there is no  "Unable to locate .... " message generated.


Hans, can you see whether your difficulties are similar to mine.
Maybe someone else can give an explanation and a fix.

Hans, once you have found the pre/postflight scripts, I'm sure you
will be able to obtain the xetex binary and .xfmt files,
by editing in postflight to stop it cleaning-up the
   /tmp/xetex-install  temporary directory.)




Cheers,

	Ross


>
> Hans
> _______________________________________________
> XeTeX mailing list
> postmaster at tug.org
> http://tug.org/mailman/listinfo/xetex
>
------------------------------------------------------------------------
Ross Moore                                         ross at maths.mq.edu.au
Mathematics Department                             office: E7A-419
Macquarie University                               tel: +61 +2 9850 8955
Sydney, Australia                                  fax: +61 +2 9850 8114
------------------------------------------------------------------------



More information about the XeTeX mailing list