Date: Sat, 2 May 1998 10:44:04 +0100 From: "Dampure, Pierre-Yves: IT Ops" <Pierre.Dampure@barclayscapital.com> To: "'freebsd-current@freebsd.org'" <freebsd-current@FreeBSD.ORG> Subject: Problems with readline-enabled bc Message-ID: <711DCB8FB391D111B9DD00805F8BDDBA0FCB14@exips0019.itops.ldn.bzwint.com>
next in thread | raw e-mail | index | archive | help
--MimeMultipartBoundary Content-Type: text/plain (This is a repost, since it looks whatever I mailed via Pipex got filtered) Marc Fournier reported on the 30th various problems with a make world on current. Specifically, his last message referred to problems encountered while building the devascii fonts for groff. I investigated a bit and found that this was due to our new version of bc, which is readline-enabled. To convince yourselves, try the following: echo 240 / 10 | bc and examine the results; bc-1.03 will return 24 whilst bc-1.04 will return 240 / 10 24 This obviously breaks the Makefile (Makefile.tty, more precisely). The new bc has a variable called history which you can set to 0 to disable the readline feature. We now have two options: 1) Avoid defining READLINE during the build of bc; this is not so nice, because I suspect many users will want it on. 2) Modify the code so that history is initialised to 0 by default Up until someones does this I guess make world will stay broken. Marc, your make world worked after you changed to the groff directory because you were calling the old bc (the new one was in /usr/obj/usr/src/tmp/usr/bin/bc). Best Regards, Pierre Y. Dampure DISCLAIMER: please note that the contents of this posting do not necessarily reflect the views of Barclays Capital --MimeMultipartBoundary-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?711DCB8FB391D111B9DD00805F8BDDBA0FCB14>