Thanks for responding.

I am using flex 2.5.4a and bison 1.875, trying to compile
TeTeX 2.0.2 downloaded from CTAN.

I have bypassed the shift/reduce problem by copying the
y_tab.*-dist file in web2c to y_tab.*, however, I ran into
another compilation problem with error message as
follow:
srcdir=. /bin/sh ./web2c/convert dvicopy
gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I./..   -g -O2  -c dvicopy.c
dvicopy.c: In function `pcktspair':
dvicopy.c:869: error: unrecognizable insn:
(insn 108 107 110 dvicopy.c:869 (use (reg/i:SI 28 %r28 [ <result> ])) -1 
(insn_list 71 (nil))
    (nil))
dvicopy.c:869: internal compiler error: in insn_default_length, at 
insn-attrtab.c:825
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
gmake[2]: *** [dvicopy.o] Error 1
gmake[2]: Leaving directory `/opt/depot/tetex-src-2.0.2/texk/web2c'
gmake[1]: *** [all] Error 1
gmake[1]: Leaving directory `/opt/depot/tetex-src-2.0.2/texk'
gmake: *** [all] Error 1

I tried using gcc 3.4.2 and 3.4.3 from hpux.cs.utah.edu
as well as gcc 3.4.1 from hp software depot.
All gcc version reported the same problem.
Using the costly HP Ansi C is even worst.
The same thing can be compiled on my Solaris box
without problem with the rather old gcc3.3, but not on my
HPUX box with gcc3.4.

The configure line that I have used as follows:
./configure --prefix=/my/install/directory --disable-multiplatform

Then, simply run
gmake world


Thanks in advance

ky


"Thomas Esser" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> Hi Kenneth,
>
> thanks for your report / question about teTeX.
>
>> Can anyone successfully compiled tetex on HPUX 11v1?
>
> Which version of teTeX did you try?
>
>> I used GNU make, gcc 3.4.3, flex and bison, but ran into
>> problem in texk/web2c/web2c which keep on telling me
>> about shift/reduce conflict
>
> One shift/reduce conflict is to be expected when processing web2c.y.
> Which version of flex and which version of bison do you use?
>
>> and bailed out at y_tab.h
>
> I can't help much without a precise error message. Can you please pass
> some information about the command being run (all arguments) and the log
> (stdout / stderr) output that is generated?
>
> Thanks,
>
> Thomas
> 


Reply via email to