[comp.unix.aix] AIX TeX summary

ejbehr@rs6000.cmp.ilstu.edu (Eric Behr) (03/22/91)

Here is the promised summary of responses re. TeX on RS/6000. Thanks a lot
to everyone. Eric
PS. I included some stuff re. TeX previewer, since it's likely to be of
interest to those who want to install TeX...

----------------------------------------------------------------------

Received: from sunc6.cs.uiuc.edu by rs6000.cmp.ilstu.edu (AIX 3.1/UCB 5.61/4.03)
          id AA10756; Tue, 19 Mar 91 13:12:05 -0600
Reply-To: assad@suna0.cs.uiuc.edu
Date: Tue, 19 Mar 91 13:11:54 -0600
From: Andrew Assad <assad@suna0.cs.uiuc.edu>
Organization: University of Illinois at Urbana-Champaign

Eric,
	I recently obtained TeX via ftp from byron.u.washington.edu. I would
suggest using this version since it appears to be the only distribution that
works under AIX. The "standard" TeX distribution will not work because the 
web2c stuff fails during the installation process. I have installed this
AIX-TeX and it seems to be working properly so far. It is located on 
byron.u.washington.edu in /pub/aix/AIX-TeX.tar.Z when you anonymous ftp.

Hope this helps ...

Andy Assad
assad@cs.uiuc.edu

----------------------------------------------------------------------

Article 3989 of comp.unix.aix:
Path: rs6000.cmp.ilstu.edu!ux1.cso.uiuc.edu!uwm.edu!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!emory!gatech!prism!scott
From: scott@prism.gatech.EDU (Scott Holt)
Date: 19 Mar 91 18:51:23 GMT
Organization: Georgia Institute of Technology

The UNIX TeX distribution from the University of Washington is a good
starting place. I started with that and have installed TeX on our
6000s - though I have not yet verified that it passes the trip-test.
Most of the changes I needed to make were pulled from a plain TeX
distribution on the science.utah.edu server. The UWash stuff is
on uunet.uu.net and a number of other servers, you can also get it
from UWash on tape for a fee. I found the UWash stuff easier to 
install than the stuff on science.utah.edu, but you should probably
look at both in order to figure out what files need changing.

- Scott
-- 
This is my signature. There are many like it, but this one is mine.
Scott Holt                 		Internet: scott@prism.gatech.edu
Georgia Tech 				UUCP: ..!gatech!prism!scott
Office of Information Technology, Technical Services

----------------------------------------------------------------------

Article: 3990 of comp.unix.aix
Path: rs6000.cmp.ilstu.edu!ux1.cso.uiuc.edu!uwm.edu!spool.mu.edu!uunet!panews.awdpa.ibm.com!slo.awdpa.ibm.com!jsalter
From: jsalter@ibmpa.awdpa.ibm.com
Date: 19 Mar 91 18:16:58 GMT
Reply-To: jsalter@slo.awdpa.ibm.com (Jim Salter)
Organization: IBM PSP Development, Palo Alto, CA

In article <1991Mar19.085319.28330@agate.berkeley.edu> wostner@garnet.berkeley.edu (Ulf Wostner) writes:
>Is there a TeX viewer for the RS/6000?

Yes, its available with the "TeX and Metafont for AIX Version 3 on the
IBM RISC System/6000" package.  (This may be an RPQ, rather than an LPP.)

>We would like to view TeX files produced automatically in Mathematica,
>and manually in GNU Emacs.

You can view the resulting dvi files using the command: texlook

>= Ulf (Olaf) Wostner                  "Never met a deadline I didn't like."
>= wostner@garnet.berkeley.edu

jim/jsalter  IBM PSP, Palo Alto  T465/(415)855-4427  VNET: JSALTER at AUSVMQ
Internet: jsalter@slo.awdpa.ibm.com         UUCP: ..!uunet!ibmsupt!jsalter 
  PS/2 it, or DIE!  :-)  The ramblings above have nothing to do with Big Blue.

----------------------------------------------------------------------

Article 2223 of comp.unix.aix:
Path: yoda.eecs.wsu.edu!milton!dali.cs.montana.edu!rpi!zaphod.mps.ohio-state.edu!ncar!boulder!ccncsu!handel.CS.ColoState.Edu!flatau
From: flatau@handel.CS.ColoState.Edu (flatau)
Date: 23 Oct 90 07:28:18 GMT
Reply-To: flatau@handel.UUCP (flatau)
Organization: Colorado State University, Fort Collins, CO  80523

Here are my notes on  the installation of TEX3.0 on
IBM RISC6000/320 running AIX3.1

Preliminary draft 10/23/1990

Let me know if this works on other IBM RISC6000 boxes
+ corrections.

============================================================

a) get tar files from

labrea.stanford.edu

ftp -i labrea.stanford.edu  (-i so you are not in prompt mode for mget)
cd tex
cd unix3.0
binary       (don't forget)
mget *       (this gets not only TeX3.0 but also fonts, etc)


cat TeX3.0* > tex3.tar.Z     
rm TeX3.0*              (if you want)
uncompress tex3.tar.Z
tar -xvf tex3.tar

cd TeX3.0
print file README

b) Edit  /TeX3.0/site.h and change 
#define schar char 
to
#define schar signed short   (to fix "Value too big" error in 
                              tangle tex.web ctex.ch)

change
#define BSD
to
#define SYSV              

c) Edit several makefiles

TeX3.0/makefile
web2c/Makefile
web/Makefile
texware/Makefile
tex/Makefile
mf/Makefile
mf/MFwindow/Makefile
bibtex/Makefile
fontutil/Makefile

and change
CC=gcc
 to
CC=cc

also
SHELL=/bin/sh
to
SHELL=/bin/ksh    

d) Edit several files
/web2c/web2c.h
/web2c/splitup.c
/tex/extra.c
/texware/texwarext.c
/mf/extra.c
/mf/x10.c
/mf/MFwindow/x10.c
/mfware/mfwarext.c

and comment out extern sprintf() inside ifdef SYSV, i.e.
/*extern sprintf(); */



e) Easy to fix in the future but for now:
I did not compile weave --  remove in /web/Makefile  weave target
i.e.  from the line 
           all: tangle weave
remove weave

and in /TeX3.0/makefile remove (web/weave)

Now you are ready to run makefile from /TeX3.0

h) Optional: 
If you don't want binaries, fonts, etc to be under
/usr/local/bin,  /usr/local/lib/tex
edit /TeX3.0/site.h, /TeX3.0/makefile, /TeX3.0/Install-INPUTS
and change the names.
E.g. we are NFSing  tex executables.
To do this consitently we changed /local/ to   /node_name/



Peter 

----------------------------------------------------------------------

Received: from cameron.egr.duke.edu by rs6000.cmp.ilstu.edu (AIX 3.1/UCB 5.61/4.03)
          id AA07690; Wed, 20 Mar 91 09:37:00 -0600
Reply-To: jpe@egr.duke.edu
Date: Wed, 20 Mar 91 10:36:43 -0500
From: John P. Eisenmenger <jpe@egr.duke.edu>

The standard TeX distribution will build on an RS/6000 with only minor
problems.  The main thing to watch out for is that the "smallest signed
variable" in site.h is "signed char" and not just "char".

-John

----------------------------------------------------------------------

Received: from CS.ORST.EDU by rs6000.cmp.ilstu.edu (AIX 3.1/UCB 5.61/4.03)
          id AA08332; Wed, 20 Mar 91 16:09:29 -0600
Reply-To: ghe@thyphy.physics.orst.edu
Date: Wed, 20 Mar 91 14:06:50 -0800
From: ghe@thyphy.physics.orst.edu (Guangliang He)

The TeX 3.0 from labrea.stanford.edu(?) works great on RS6000. Only a little 
changes need in source code to get it compiled. I have the notes on how the
changes were made for our RS6000/530. I can send it to you if you want. 

Guangliang He
ghe@physics.orst.edu

----------------------------------------------------------------------

Received: from CS.ORST.EDU by rs6000.cmp.ilstu.edu (AIX 3.1/UCB 5.61/4.03)
          id AA09297; Wed, 20 Mar 91 19:06:11 -0600
Reply-To: ghe@thyphy.physics.orst.edu
From: ghe@thyphy.physics.orst.edu (Guangliang He)
Date: Wed, 20 Mar 91 17:03:40 -0800

Notes on Installation of TeX 3.0

============================================================

a) get tar files from

labrea.stanford.edu

ftp -i labrea.stanford.edu  (-i so you are not in prompt mode for mget)
cd tex
cd unix3.0
binary       (don't forget)
mget *       (this gets not only TeX3.0 but also fonts, etc)


cat TeX3.0* > tex3.tar.Z     
rm TeX3.0*              (if you want)
uncompress tex3.tar.Z
tar -xvf tex3.tar

cd TeX3.0
print file README

b) Edit  /TeX3.0/site.h 

change 
#define BSD
to
#define SYSV              

change
#undef SYSV
to
#undef BSD

change
#define EDITOR  "/usr/local/gemacs +%d %s"
to
#define EDITOR  "/usr/bin/vi +%d %s"

change
#define schar char 
to
#define schar signed short   (to fix "Value too big" error in 
                              tangle tex.web ctex.ch)

c) Edit several makefiles

TeX3.0/makefile
web2c/Makefile
web/Makefile
texware/Makefile
tex/Makefile
mf/Makefile
mf/MFwindow/Makefile
bibtex/Makefile
fontutil/Makefile

and change
CC=gcc
 to
CC=cc

also
SHELL=/bin/sh
to
SHELL=/bin/ksh    

d) Edit several files
/web/tanglext.c
/web2c/web2c.h
/web2c/splitup.c
/tex/extra.c
/texware/texwarext.c
/mf/extra.c
/mf/MFwindow/x10.c
/mfware/mfwarext.c

and comment out extern sprintf() inside ifdef SYSV, i.e.
/*extern sprintf(); */


e) Easy to fix in the future but for now:
I did not compile weave --  remove in /web/Makefile  weave target
i.e.  from the line 
           all: tangle weave
remove weave

and in /TeX3.0/makefile remove (web/weave)

Now you are ready to run makefile from /TeX3.0

f) problem on tangle, vftovp, vptovf
It seems that the machine is too fast. 
convert creates a .c file, but before convert writes on to disk, cc has
already started to read, so all cc got is a empty file.

Fix: remove the .o files correspond to the empty .c files. and make again.

g) problem on vftovp
very similar to the tangle problem
h) Optional: 
If you don't want binaries, fonts, etc to be under
/usr/local/bin,  /usr/local/lib/tex
edit /TeX3.0/site.h, /TeX3.0/makefile, /TeX3.0/Install-INPUTS
and change the names.
E.g. we are NFSing  tex executables.
To do this consitently we changed /local/ to   /node_name/


i) The pk fonts in /usr/local/lib/tex/fonts/pk are write on white fonts with
300dpi resulotion
Guangliang He

-- 
Eric Behr, Illinois State University, Mathematics Department
Internet: ejbehr@rs6000.cmp.ilstu.edu    Bitnet: ebehr@ilstu