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! |
| 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
06-06-2004, 12:53 PM
|
#1
|
|
LQ Newbie
Registered: Jun 2004
Posts: 9
Rep:
|
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
|
|
|
|
06-07-2004, 11:47 AM
|
#2
|
|
Senior Member
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040
Rep:
|
are you installing as root?
|
|
|
|
06-07-2004, 04:31 PM
|
#3
|
|
Member
Registered: Apr 2004
Location: East of Quebec
Distribution: Kubuntu, LFS
Posts: 208
Rep:
|
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
|
|
|
|
06-08-2004, 06:55 AM
|
#4
|
|
LQ Newbie
Registered: Jun 2004
Posts: 9
Original Poster
Rep:
|
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
|
|
|
|
06-08-2004, 09:39 AM
|
#5
|
|
Member
Registered: Apr 2004
Location: East of Quebec
Distribution: Kubuntu, LFS
Posts: 208
Rep:
|
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.....
|
|
|
|
06-08-2004, 10:04 AM
|
#6
|
|
Member
Registered: Apr 2004
Location: East of Quebec
Distribution: Kubuntu, LFS
Posts: 208
Rep:
|
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
|
|
|
|
06-08-2004, 12:55 PM
|
#7
|
|
LQ Newbie
Registered: Jun 2004
Posts: 9
Original Poster
Rep:
|
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
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 02:58 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|