zacc problem

14 views
Skip to first unread message

Ralf Hemmecke

unread,
Mar 6, 2015, 4:25:22 PM3/6/15
to aldor-devel
Debian wheezy and

root@2395251ebd28:~/aldor/aldor# bison --version
bison (GNU Bison) 2.5
Written by Robert Corbett and Richard Stallman.

or

root@2395251ebd28:~/aldor/aldor# yacc -V
yacc - 1.9 20120115
((byacc))

yields

make[3]: Leaving directory `/root/aldor/aldor/aldor/subcmd/unitools'
Making all in testaldor
make[3]: Entering directory `/root/aldor/aldor/aldor/subcmd/testaldor'
CC testaldor-testaldor.o
CCLD testaldor
make[3]: Leaving directory `/root/aldor/aldor/aldor/subcmd/testaldor'
make[3]: Entering directory `/root/aldor/aldor/aldor/subcmd'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/root/aldor/aldor/aldor/subcmd'
make[2]: Leaving directory `/root/aldor/aldor/aldor/subcmd'
Making all in tools
make[2]: Entering directory `/root/aldor/aldor/aldor/tools'
Making all in unix
make[3]: Entering directory `/root/aldor/aldor/aldor/tools/unix'
YACC zaccgram.c
byacc: e - line 6 of "/root/aldor/aldor/aldor/tools/unix/zaccgram.y",
syntax error
%no-lines
^
make[3]: *** [zaccgram.c] Error 1
make[3]: Leaving directory `/root/aldor/aldor/aldor/tools/unix'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/aldor/aldor/aldor/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/aldor/aldor/aldor'
make: *** [all-recursive] Error 1

How can I compile Aldor on such a Debian system?

Ralf

Ralf Hemmecke

unread,
Mar 7, 2015, 6:55:23 AM3/7/15
to aldor-devel
> make[3]: Entering directory `/root/aldor/aldor/aldor/tools/unix'
> YACC zaccgram.c
> byacc: e - line 6 of "/root/aldor/aldor/aldor/tools/unix/zaccgram.y",
> syntax error
> %no-lines
> ^
> make[3]: *** [zaccgram.c] Error 1

Problem solved. I had to install "flex".

Still... shouldn't it be detected at configure time that some program is
missing?

Ralf

Peter Broadbery

unread,
Mar 7, 2015, 4:18:58 PM3/7/15
to Ralf Hemmecke, aldor-devel
Definitely; will look into fixing (and likewise with the ranlib
issue). If anyone else wants to look at it, that's good too.
> --
> You received this message because you are subscribed to the Google Groups "aldor-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to aldor-devel...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages