Article View: comp.text.tex
Article #2150Re: Compiling TeX on an IBM RS/6000
From: Konrad Haedener
Date: Thu, 13 Aug 1992 10:05
Date: Thu, 13 Aug 1992 10:05
44 lines
2272 bytes
2272 bytes
In article <7737894@MVB.SAIC.COM>, Malki Cymbalista <VUMALKI@WEIZMANN.WEIZMANN.AC.IL> writes: |> I am trying to compile TeX 3.1 on an IBM RS/6000 running AIX 3.2. |> I get the following error: |> |> cd web2c; \ |> make SITEDIR=".." CC="xlc" OPT="-g " SHELL="/bin/sh" |> LDFLAGS="" wlibs="" YACC="yacc" LEX="lex" LEXLIB="-ll" all |> xlc -g -I.. -I../common -c web2cy.c |> "../common/common.h", line 20.0: 1506-041 (S) Parameter list cannot contain |> fewer parameters than required by macro definition. |> The error code from the last failed command is 1. |> |> Make Quitting. |> The error code from the last failed command is 2. |> |> Make Quitting. |> |> The same thing happens if I use cc instead of xlc. I defined ANSI |> and AIX in site.h. I also defined BSD because without it I was |> getting an error about not being able to redefine index. |> |> Any help will be greatly appreciated. |> |> Malki Part of this is due to Bernd Raichle: - get yourself web-5.851c.tar.Z and web2c-5.851c.tar.Z - setup the bsdcc compiler environment (if you don't know how: it's documented in /usr/lpp/bos/bsdport.tr; you need root privs) - use bsdcc instead of cc or xlc - compile options: -O -DSCHAR_TYPE="signed char" - compile tex2.c without -O (optimizer bug) - for all source files with compile errors (pltotf.c/vftovp.c et al.) re-compile with -D_POSIX_SOURCE - no source code changes required! That's it. I've done it: it works. -- Konrad Haedener Phone: +41 31 65 42 25 Institute for Physical Chemistry FAX: +41 31 65 44 99 University of Berne Switzerland haedener@iacrs1.unibe.ch
Technical Details
Message-ID:
<1992Aug13.100546.5644@aragorn.unibe.ch>Path:
arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!chx400!aragorn.unibe.ch!iacrs1!haedenerReferences:
<7737894@MVB.SAIC.COM>Show Full Headers
Complete Article Headers
Newsgroups: comp.text.tex Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!chx400!aragorn.unibe.ch!iacrs1!haedener From: haedener@iacrs1.unibe.ch (Konrad Haedener) Subject: Re: Compiling TeX on an IBM RS/6000 Message-ID: <1992Aug13.100546.5644@aragorn.unibe.ch> Followup-To: <7737894@MVB.SAIC.COM> Sender: haedener@iacrs1 (Konrad Haedener) Reply-To: haedener@iacrs1.unibe.ch Organization: University of Berne References: <7737894@MVB.SAIC.COM> Date: Thu, 13 Aug 1992 10:05:46 GMT Lines: 44