Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This 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!


  Search this Thread
Old 06-06-2004, 01:53 PM   #1
LQ Newbie
Registered: Jun 2004
Posts: 9

Rep: Reputation: 0
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, from which derives during configuration, while in other directories there are 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 to create the 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,
Old 06-07-2004, 12:47 PM   #2
Senior Member
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
are you installing as root?
Old 06-07-2004, 05:31 PM   #3
Registered: Apr 2004
Location: Saskatchewan
Distribution: Ubuntu, Centos
Posts: 208

Rep: Reputation: 30
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
Old 06-08-2004, 07:55 AM   #4
LQ Newbie
Registered: Jun 2004
Posts: 9

Original Poster
Rep: Reputation: 0
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/
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 (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
Old 06-08-2004, 10:39 AM   #5
Registered: Apr 2004
Location: Saskatchewan
Distribution: Ubuntu, Centos
Posts: 208

Rep: Reputation: 30
Well Give it a try, do "mv Makefile" this will rename it but i doubt this is the problem. I'll do some resaerch on it.....
Old 06-08-2004, 11:04 AM   #6
Registered: Apr 2004
Location: Saskatchewan
Distribution: Ubuntu, Centos
Posts: 208

Rep: Reputation: 30
Try the packages from here:
It installed fine on mine. Maybe your university as a bum packages...
Hope this help
Old 06-08-2004, 01:55 PM   #7
LQ Newbie
Registered: Jun 2004
Posts: 9

Original Poster
Rep: Reputation: 0
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 to Makefile, that was my first thought from the first day, and of course, it didn't work :P


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
lopster v1.2.2 make error: No rule to make target `m4/glibc21.m4' Kropotkin Fedora 0 10-31-2004 12:19 PM
make: *** No rule to make target 'gconfig'. Stop. cswake Slackware 4 10-10-2004 01:13 PM
Error "make: *** No rule to make target `install'. Stop." help Ohmn Mandriva 8 07-02-2004 08:02 PM
*** No rule to make target `modules'. Stop. kmack2001 Linux - Newbie 9 02-16-2004 02:02 PM
No rule to make target `/mkspecs/default/qmake.conf', needed by `Makefile'. Stop Julianus Linux - General 0 12-21-2003 08:17 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:13 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration