tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Problems with devel/bison when compiling www/web2c



Hi all,

I got a problem on RHEL4 when compiling www/web2c which seems to come from
devel/bison:

It looks like bison is using the m4 from the system, which seems to be "to
old". How can bison forced to use the m4 from pkgsrc?

--- BEGIN LOG
/opt/pkgsrc/bin/bison -y -d -v ./web2c.y
conflicts: 1 shift/reduce
/opt/pkgsrc/share/bison/yacc.c:158: /usr/bin/m4: Warning: Excess arguments
to built-in `_m4_popdef' ignored
/opt/pkgsrc/share/bison/yacc.c:1071: /usr/bin/m4: Warning: Excess
arguments to built-in `_m4_popdef' ignored
/opt/pkgsrc/share/bison/yacc.c:1740: /usr/bin/m4: Warning: Excess
arguments to built-in `_m4_popdef' ignored
/opt/pkgsrc/share/bison/yacc.c:1741: error: m4_divert_pop(0): diversion
mismatch:
/opt/pkgsrc/share/bison/yacc.c:155: m4_divert_push: 0
stdin:1: m4_divert_push: KILL
/opt/pkgsrc/share/bison/yacc.c:1741: the top level
/opt/pkgsrc/bin/bison: subsidiary program `/usr/bin/m4' failed (exit
status 1)
make[1]: *** [y_tab.h] Error 1
make[1]: Leaving directory
`/opt/room/pkgsrc/print/web2c/work/texlive-20080816-source/texk/web2c/web2c'
make: *** [web2c/web2c] Error 2
*** Error code 2

Stop.
bmake: stopped in /opt/room/pkgsrc/print/web2c
--- END LOG

Jens


Home | Main Index | Thread Index | Old Index