Linux - NewbieThis Linux 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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm not expert in Linux, and I'm trying to install bison-1.875 in Mandrake9.0 . The thing is that I run ./configure and everything goes fine. Then I run 'make' and I get the following error:
$ make
make all-recursive
make[1]: Entering directory `/home/tony/bison-1.875'
Making all in config
make[2]: Entering directory `/home/tony/bison-1.875/config'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/tony/bison-1.875/config'
Making all in po
make[2]: Entering directory `/home/tony/bison-1.875/po'
make[2]: *** No rule to make target `all'. Stop.
make[2]: Leaving directory `/home/tony/bison-1.875/po'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tony/bison-1.875'
make: *** [all] Error 2
$
I'm not very keen on error messages, but this is kind of weird. I can't make out what it means. I guess it doesn't make some files in the 'po' directory, where they're supposed to be made... (?)
By the way, I've checked the 'po' directory, and the difference is that initially there is a Makefile.in.in, from which Makefile.in derives during configuration, while in other directories there are Makefile.in and Makefile are being created during the configuration. I can't tell that this is the problem, cause I've checked the previous bison version, and there's the same thing, so it might just be on purpose there, and I've also looked in the configure file, and it does actually use the Makefile.in.in to create the Makefile.in... don't know why, but that's how it is.
Anybody has a clue? Hint, tip, anything will just do. I'm open to all suggestions
Now, since it knows that it creates a Makefile.in (and not a Makefile) in /po, why does it try to run 'make' in /po? Shouldn't this happen to everybody?
I downloaded the bison package from 2 different sites, including the one you recommended, and the result is exactly the same. I also tried different versions, like 1.75 and 1.35.
In the end, I installed Flex and Yacc in separate from other packages, cause I have to get going with my project, and I already lost too much time looking for the last error...
Thanks for your help, anyway. Now I have a different problem, which I'm gonna post as a different topic.
PS: BTW, I tried renaming Makefile.in to Makefile, that was my first thought from the first day, and of course, it didn't work :P
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.