Error: *** No rule to make target 'all'. Stop
Hallo there.
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 Thank you for your time, Tony |
are you installing as root?
|
You should'nt have to run make as root, only make install
where have you downloaded the package from??? Check this out as tell us if it help http://archive.linuxfromscratch.org/...r06/bison.html |
Hi there, and thanks or your replies.
Weel, it didn't work. I used the patch, and still the same error message. And I don't run 'make' as root, I'm pretty sure that's not the problem. I downloaded the package from my university ftp. It's supposed to be trustworthy :P I don't get it. Here are the last lines of ./configure output: configure: creating ./config.status config.status: creating tests/Makefile config.status: creating tests/atlocal config.status: creating tests/bison config.status: creating Makefile config.status: creating config/Makefile config.status: creating po/Makefile.in config.status: creating data/Makefile config.status: creating lib/Makefile config.status: creating src/Makefile config.status: creating doc/Makefile config.status: creating m4/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing default-1 commands config.status: executing tests/atconfig commands 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? Anyway, thanks for your concern |
Well Give it a try, do "mv Makefile.in Makefile" this will rename it but i doubt this is the problem. I'll do some resaerch on it.....
|
Try the packages from here:
http://bebas.vlsm.org/v08/org/linuxf.../lfs-packages/ It installed fine on mine. Maybe your university as a bum packages... Hope this help |
DropSig, thanks for all the help.
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 |
All times are GMT -5. The time now is 11:03 PM. |