Click to See Complete Forum and Search --> : [make] command


r1caesar
12-27-2000, 01:15 PM
I'm a card-carrying Linux idiot so here goes... I need to know if [make] is installed on even the most basic of Linux configs or not. If it is, could someone help me with where to find this command? Any help is most appreciated. I am running mandrake 7.2 if that helps any.
Thanks

[This message has been edited by r1caesar (edited 27 December 2000).]

Dru Lee Parsec
12-27-2000, 02:07 PM
Yes it is. And here's a great trick for finding things like that. Let's say you want to know if make is installed on your computer (and is in the path). And if so, where is it? Use the "which" command like this:

which make

And the which command will look through your path statement and find the instance of make that it will use. (Mine was in /usr/bin )

If which doesn't find it that doesn't mean it's not installed. It just means it's not in the path.

r1caesar
12-27-2000, 02:14 PM
Thank you very much Dru! Is that the case for all commands? Also, how can I find a command's path if it does not find the command in with the [which] command? Thanks again!


[This message has been edited by r1caesar (edited 27 December 2000).]

Dru Lee Parsec
12-27-2000, 02:19 PM
Yes, you can use which to find anything that's in your path.

r1caesar
12-27-2000, 02:22 PM
It did not find the [make] command anywhere. It gave a list of paths that did NOT include any make commands, however. Any other utilities to help find where this command is so I can path to it? Thanks again!

0be1
12-27-2000, 02:53 PM
I like to use locate. It is very simple and straight forward. Locate filename. You may need to rebuild the database by running /usr/bin/updatedb first. These are all on redhat, which I assume might be close on Mandrake, if not exact. You can also use find, but I do not know how to use that one very well. You can type man find to learn though.

Hope this helps for another ways to find files.

------------------
Linux, is there really any other OS worth using?

FisheBulb
12-27-2000, 06:06 PM
just my 2 cents, the updatedb command is also on slack 7.1
i assume prior releases also.

teeitup
12-27-2000, 08:11 PM
There is always the old fashioned way.
find / -name xxxxxxx -print
This will search all filesystems under the root directory. I could take a long time.
The locate xxxxxxx is usually the best way to find programs.



------------------
Don't take life to seriously, You'll never get out alive!
-Bugs Bunny-

Pleiades
12-28-2000, 11:22 AM
When I did a basic Workstation install of RH6.2, I found that "make" had not been installed. Could nae find it anywhere.

r1caesar
12-28-2000, 11:28 AM
OK, here is what I did: I ran: #locate make

and the output was everything but the actual make command. The closest thing to make that I saw was /usr/X11R6/bin/makeg I have a sneaky feeling that I do not have the make command on this box. Am I crazy? Probably! Is there anyway to get it from distribution and deposit it in the bin dir?
Thanks for any help given.

Rastar
12-28-2000, 12:08 PM
Last night I found out the hard way that in the recommended install of Drake 7.2 that the gcc and gcc++ libs are not installed. Crack open the drakeconfig go to the bottom and click on packages. Go to the development listing and click on gcc if there are files that show up in the right window you need to install that package. Do the same for GCC+ and any other stuff you find you want.

Hope that helps.
Rastar

r1caesar
12-28-2000, 05:23 PM
Thanks all. We managed to work it out with installing the gcc and gcc++ libs. I'm sure this won't be the last time you hear from me guys! Thanks again!