From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,9932e33c5f832b24 X-Google-Attributes: gidf678f,public X-Google-ArrivalTime: 1994-02-01 13:34:30 PST Path: gmd.de!xlink.net!rz.uni-karlsruhe.de!news.uni-stuttgart.de!news.belwue.de!surz03.hrz.Uni-Marburg.DE!news.th-darmstadt.de!math.fu-berlin.de!zrz.TU-Berlin.DE!netmbx.de!Germany.EU.net!EU.net!howland.reston.ans.net!spool.mu.edu!sgiblab!swrinde!emory!pirates!news-feed-1.peachnet.edu!concert!news.duke.edu!gallatin From: gallatin@isds.duke.edu (Andrew Gallatin) Newsgroups: comp.unix.osf.misc Subject: Re: TeX, LaTeX, etc Date: 1 Feb 1994 21:34:30 GMT Organization: Duke University, Durham, N.C. Message-ID: <2imht6$lvq@news.duke.edu> References: <1994Feb1.030727.4926@news.qut.edu.au> NNTP-Posting-Host: serov.isds.duke.edu Keywords: TeX, LaTeX, make Cc: 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 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 #