Linux - NewbieThis forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I am tring to do floating point arithmetic on command-line.
I'm using Knoppix 6 with kernel 2.6.28.4, init 2.86, GUI LXDE
No, bc or dc calculator. I downloaded bc-1.06, extracted it in
/usr. I cd to bc-1.06 folder where configure.in is located. At
the command-line typed ./configure, this was the stdout:
loading cache ./config.cache
checking for BSD compatible install ..usr/bin/install-c
checking whether build environment is same .. yes
checking whether make sets ${MAKE} .. no
checking for working aclocal .. missing
checking for working autoconf .. missing
checking for working automake .. missing
checking for working autoheader .. missing
checking for working makeinfo .. missing
checking for gcc .. gcc
checking whether we are using GNU c .. yes
checking whether gcc accepts -g .. yes
checking how to run the c preprocessor .. gcc-E
checking for minix /config.h .. no
checking for flex .. no
checking for lex .. no
./configure line 1186: flex: command not found
checking for flrx .. lex
checking for yywrap in -LL .. no
checking lex .. lex command not found
configure error: can not find output from lex giving up:
After that typed make at command-line stdout:
make command not found
Can someone please tell me what I'm doing wrong, or what I'm missing?
Distribution: OpenSUSE, Ubuntu, Mythbuntu, iMedia, Embedded Linux
Posts: 30
Thanked: 3
The error code is pointing out that you must have "lex" loaded and installed before you can compile the "bc" program because it needs "lex" and its libraries.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.