* TeX, LaTeX, etc
@ 1994-02-01 3:07 Steve Imber
1994-02-01 21:34 ` Andrew Gallatin
0 siblings, 1 reply; 2+ messages in thread
From: Steve Imber @ 1994-02-01 3:07 UTC (permalink / raw)
I have been attempting to make TeX under OSF/1 but am getting the
following (slightly) ludicrous error given that tangle takes two
arguments of the type listed below (according to the manual page).
Additionally, the offending line in the makefile causes no problem
on a Silicon Graphics Indigo which I have made TeX on. Can anyone
shed some light on how to fix this problem?? Please e-mail.
Thanks,
Steve.
---- part of output ffrom 'make' ----------
`tangle' is up to date.
touch stamp-tangle
for name in tex texware mf mfware bibtex dviutil fontutil web; do (cd ${name}; echo ${name}; make SHELL='/bin/sh' CC='cc' cflags='-I.././lib -O ' CCLD='cc' LDFLAGS='' LIBS='' RANLIB='ranlib ' LN='ln -s' srcdir=. wlibs='-lXt -lX11' xincludedir='' xlibdir='' all); done
tex
../web/tangle tex.web ctex.ch
../web/tangle: Not enough arguments.
*** Exit 1
Stop.
*** Exit 1
Stop.
--
-------------------------------------------------------------------------------
Steve Imber. e-mail: S.Imber@qut.edu.au
Systems Administrator,
School of Mathematics,
QUT. Brisbane. Australia.
-------------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: TeX, LaTeX, etc
1994-02-01 3:07 TeX, LaTeX, etc Steve Imber
@ 1994-02-01 21:34 ` Andrew Gallatin
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Gallatin @ 1994-02-01 21:34 UTC (permalink / raw)
This occurs because TeX assumes that max(integer) + 1 = -1. This is
how they have decided to decrement counters.
Since they typedef long (64 bits on the alpha) to integer, and assume
that the max value of an integer is the max value of a 32 bit integer,
they instead add 2^32+1 to counters, rather than decrementing them by
one. This can be remedied by typdef'ing integer to int.
Look for the file web2c-5.851d/lib/config.h, and change the typdef:
#define INTEGER_TYPE long
to
#define INTEGER_TYPE int
If you want to be clean about it, slap this in in place of the typedef:
#if defined( __alpha)
#define INTEGER_TYPE int
#else
#define INTEGER_TYPE long
#endif
In article <1994Feb1.030727.4926@news.qut.edu.au>,
Steve Imber <stevei@anduril.fsc.qut.edu.au> wrote:
>I have been attempting to make TeX under OSF/1 but am getting the
>following (slightly) ludicrous error given that tangle takes two
>arguments of the type listed below (according to the manual page).
>Additionally, the offending line in the makefile causes no problem
>on a Silicon Graphics Indigo which I have made TeX on. Can anyone
>shed some light on how to fix this problem?? Please e-mail.
>
>Thanks,
>
>Steve.
>
>---- part of output ffrom 'make' ----------
>`tangle' is up to date.
>touch stamp-tangle
>for name in tex texware mf mfware bibtex dviutil fontutil web; do (cd ${name}; echo ${name}; make SHELL='/bin/sh' CC='cc' cflags='-I.././lib -O ' CCLD='cc' LDFLAGS='' LIBS='' RANLIB='ranlib ' LN='ln -s' srcdir=. wlibs='-lXt -lX11' xincludedir='' xlibdir='' all); done
>tex
>../web/tangle tex.web ctex.ch
>../web/tangle: Not enough arguments.
>*** Exit 1
>Stop.
>*** Exit 1
>Stop.
>
>--
>-------------------------------------------------------------------------------
>Steve Imber. e-mail: S.Imber@qut.edu.au
>Systems Administrator,
>School of Mathematics,
>QUT. Brisbane. Australia.
>-------------------------------------------------------------------------------
--
##############################################################################
# Andrew Gallatin, System Administrator #
# Institute of Statistics and Decision Sciences #
# Box 90251, Duke University, Durham, NC 27708-0251 #
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1994-02-01 21:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-02-01 3:07 TeX, LaTeX, etc Steve Imber
1994-02-01 21:34 ` Andrew Gallatin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox