[tex-live] TeXLive 2011 and Solaris Intel---More info

Nelson H. F. Beebe beebe at math.utah.edu
Thu Jun 9 14:47:05 CEST 2011


On Solaris, /bin/awk is the original A&W&K implementation.  Use
nawk or gawk.

In builds here at Utah on Solaris SPARC, I had to make one source
code change:

% diff -c ./utils/tpic2pdftex/tpic2pdftex.~1~ ./utils/tpic2pdftex/tpic2pdftex
*** ./utils/tpic2pdftex/tpic2pdftex.~1~ Sat Jan 16 16:59:35 2010
--- ./utils/tpic2pdftex/tpic2pdftex     Tue May 31 13:34:10 2011
***************
*** 1,4 ****
! #!/bin/sh -
  #
  # $Id: tpic2pdftex,v 1.97 2010/01/16 11:51:43 hahe Exp $
  #
--- 1,4 ----
! #!/bin/bash -
  #
  # $Id: tpic2pdftex,v 1.97 2010/01/16 11:51:43 hahe Exp $
  #

The script uses ksh/bash/zsh extensions, and is not acceptable
to /bin/sh (the Linux /bin/sh is really bash, so such errors
tend to go unnoticed my many developers).

The offending syntax occurs in these lines:

export LANG="C"
    print "  export LANG=\"C\""
    print "  export LANG=\"C\"" > "/dev/stderr"

The correct /bin/sh syntax requires separation of assignment
and globalizing:

	LANG="C"
	export LANG

or on one line

	LANG="C" ; export LANG

-------------------------------------------------------------------------------
- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- University of Utah                    FAX: +1 801 581 4148                  -
- Department of Mathematics, 110 LCB    Internet e-mail: beebe at math.utah.edu  -
- 155 S 1400 E RM 233                       beebe at acm.org  beebe at computer.org -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe/ -
-------------------------------------------------------------------------------


More information about the tex-live mailing list