[comp.sys.ibm.pc.rt] installation of TeX on AIX

eco@ece-csc.UUCP (ECO) (03/15/89)

Hi. I'm trying to install TeX 2.95 on an IBM RT running AIX 2.2.1 (Sys 5).  
During the execution of the line:
	
	../texware/tangle tex.web ctex.ch

I get the error:

	! Value too big: 2550000.  (1.3151)

It appears (although I could be wrong) that this line in tex.web is the culprit:

	@d eject_penalty=-inf_penalty {``negatively infinite'' penalty value}

I'm not compiling with the BIG patch.  Any comments, hints, suggestions, 
solutions would be GREATLY appreciated!

			Amy Johnson (johnson%eceugs@ncsuvx.ncsu.edu)
			Engineering Computer Operations
			North Carolina State University

ehrlich@shire.cs.psu.edu (Dan Ehrlich) (03/16/89)

In article <3953@ece-csc.UUCP>, eco@ece-csc (ECO) writes:
>
>Hi. I'm trying to install TeX 2.95 on an IBM RT running AIX 2.2.1 (Sys 5).  
>During the execution of the line:
>	
>	../texware/tangle tex.web ctex.ch
>
>I get the error:
>
>	! Value too big: 2550000.  (1.3151)
>
>It appears (although I could be wrong) that this line in tex.web is the culprit:
>
>	@d eject_penalty=-inf_penalty {``negatively infinite'' penalty value}
>
>I'm not compiling with the BIG patch.  Any comments, hints, suggestions, 
>solutions would be GREATLY appreciated!
>
>			Amy Johnson (johnson%eceugs@ncsuvx.ncsu.edu)
>			Engineering Computer Operations
>			North Carolina State University

As we do not use AIX here this may not be very useful.  But if the C
compiler under AIX is the MetaWare High-C compiler as it is under AOS
then the following might help.  Insert the following stuff at the
begining of tex82/site.h and the recompile everything.  It seems that
the High-C compiler has a strange concept of reality as viewed by most
other C compilers in the world.

/*
 * Totally gross and disgusting hack to get around High-C on an IBM RT
 * treating `char' differently than most other compilers.  Along with
 * assorted other things.
 */

#if	defined(__HIGHC__) && defined(ibm032)
pragma	Off(Char_default_unsigned);
pragma	On(Char_is_rep);
pragma	On(Parm_warnings);
pragma	On(Pointers_compatible);
pragma	On(Pointers_compatible_with_ints);
#endif	/* defined(__HIGHC__) */

These were neccessary to get TeX to compile and pass the Trip test on
an IBM RT 6152 under AOS 4.3 Release 2.  Also, under AOS version 2.1 of
the High-C compiler is very brain damaged and we always use the previous
release, version 1.4.
-- 
Dan Ehrlich <ehrlich@shire.cs.psu.edu> | Disclaimer: The opinions expressed are
The Pennsylvania State University      | my own, and should not be attributed
Department of Computer Science         | to anyone else, living or dead.
University Park, PA   16802            |