Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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 was running Red Hat 9 until I recently installed Fedora Core 6. I have a project and within the makefile is the target "depend" which causes the program mkdep to be called. Now that I've installed FC6, mkdep is not there. I've searched for RPMs and the best match I've found is pmake-1.45-16 RPM for i386 from Fedora Core 3 for i386.
Is it a good idea to install the entire make facility from an older distribution?
Is there another tool for automatically creating a dependancy list I should know about?
is it possible to import all the code into another IDE (I think Bloodshed DEV-C++ will work) and have the program regenerate a Makefile for you?
Well, thanks for this - it's a thought. I'm really hoping for a less sledge-hammer-y solution - i.e. finding a way of installing mkdep that isn't part of a whole package that might not be compatible with the rest of my system (I've so far only found mkdep as part of pmake - for FC3), seeing as all the problem is at the moment is the absence of mkdep.
I know I should probably be looking at using an IDE anyway for productivity. But I'd really like to avoid the upheaval for now even if it is just a small amount (which it might not be).
To answer my own question as to whether that mkdep is specifically for building the kernel, I think it is. I know HPATH isn't set in my shell - it's probably supposed to be set by make (or some called program or script) when building the kernel.
To answer another of my own questions from my original post, I've now found makedepend. I remember I couldn't use this last time I tried it under Red Hat 9. I can't remember why not - it was many moons ago. In the present day and having installed FC6 I find that I have this program and I've changed my makefile to use it. It seems to work. Hmm. Maybe I'll find out later on why I wasn't using it before.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.