William Immendorf wrote:
Compiling Bc-1.06.95 where it is currently in the development book,
I'm hitting a snag. No matter what I attempt to do, the compilation
always fails at this point:
bison -y -d bc.y
bc.y: warning: 3 shift/reduce conflicts [-Wconflicts-sr]
bison: m4 subprocess failed: No such file or directory
make[2]: *** [Makefile:281: bc.c] Error 1
make[2]: Leaving directory '/sources/bc-1.06.95/bc'
make[1]: *** [Makefile:219: all-recursive] Error 1
make[1]: Leaving directory '/sources/bc-1.06.95'
make: *** [Makefile:157: all] Error 2
I do not know why bison is throwing those errors. In my log I only ahve
'bison -y -d bc.y' followed by a gcc line. The only thing I can think of
is that there is something wrong with bison as built in Chapter 5.
I have installed M4 beforehand to /usr/bin as per the book
instructions. I've even tried to put that version of M4 into the
/tools installation to see if that would work, but neither of those
seem to do anything.
Also: If the book recommends that Bc use the system version of
Readline, why is it placed well before the point where Readline itself
is actually installed? I know that the entire reason Bc is placed here
is to satisfy some newly enabled Binutils tests, but it shouldn't
reference libraries that don't even exist within the newly built
system.
That's a good catch. We used to install bc much later and moved it. The
current install instructions appear to ignore the --with-readline option.
It looks like we need to move readline also. I'll create a ticket.
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Do not top post on this list.
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
http://en.wikipedia.org/wiki/Posting_style