Other *NIXThis forum is for the discussion of any UNIX platform that does not have its own forum. Examples would include HP-UX, IRIX, Darwin, Tru64 and OS X.
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.
when i try to install something with my terminal and follow the instruction, they tell me thats its very simple, yeah...just type make && make install or ./configure; make; make install...
Wonderrful..when i try this...I seem to have all other bash command exept the one I need...MAKE!
-bash: make: command not found my terminal always say.
How can I install the bash command make??
Or where it is in my mac OS X 10.3.9? well certainly not in /bin /sbin usr/bin usr/sbin.
By the way, make is not a bash command. Any shell will run it (if found).
Regarding the location, in my FC2, it's /usr/bin/make. If you suspect it's installed on your machine, you could try 'locate make' or, to be more strict, 'locate -r /make$'. The latter gives me exactly 1 hit.
You may have a different version of 'locate'. Mine (Secure Locate 2.7 - Released January 24, 2003) accepts the option '-r' to indicate the pattern is a regular expression, which lets me then use '$' to indicate the end of the line. All I'm doing is looking for a file called "make", and not, e.g., "/usr/share/automake-1.7/py-compile". To do the same, you could run 'locate /make | grep make$'. That could reveal that you have make after all, in an unorthodox path.
But more likely 'make' is not installed, and you need to get the RPM and install it. Sorry, I've never dealt with a system that didn't have make. I hope you have rpm.
yikes..I doesnt seem to have rpm command too....and to install rpm command, i must have make install? It's turning in circle..no? Or must I download another shell with all the commands in one, but then again, i think I must have make install...uuhuhuh
I'm not very good in this kind of programmation, but I really need make install to works for GD png and jpeg.
One thing I know for sure: It's not about the shell.
RPM is the acronym for Redhat Package Manager, but "an rpm" is commonly used to refer to a package (not a manager). It's meant to work like this: You download the package you need, a file ending in ".rpm". As root you run, e.g, "rpm -vih make-3.80-8.ppc.rpm". (Options -i to install a package, -v for verbose, -h to get hashmarks (#) indicating progress.) RPM will check that you have all the necessary dependencies (otherwise you have to download those first, and their dependencies, ...) and, if all works out, put the package on your machine.
The fact that RPM packages are available for PPC makes me believe that some people have rpm on Mac. But I'm out of my depth on this part.
Now, I have the command RPM with me, but when I try to RPM -ivh make-3.8blabla.ppc.rpm, I need something else to work, and the something else want too a something else to work and so on...until i must have a basesystem, which I supposely dont have. I too need an libgcc-4.0.sjd.ppc.rpm too thats look like it cannot be installed on my platform...grrg
modemcable038:~/Desktop/Pour...Make Max$ sudo rpm -ivh libgcc-4.0.0-8.ppc.rpm
Preparing... ########################################### [100%]
package libgcc-4.0.0-8 is for a different operating system
I never thought it would be so hard just to install the make command!! But i dont want to give up.
I know, satisfying RPM's dependencies can be a nightmare. Often building from source is easier, but you'd need make.
DO NOT change libgcc! I once did, and instantly all you take for granted (e.g., ls) stopped working. Reboot failed. Rescue couldn't mount the hard disk (needed a sequence of mysterious hex numbers) to revert.
The make RPM I mentioned above was just an example. Go run the search -- http://rpmfind.net/linux/rpm2html/se...stem=&arch=ppc You see there are 9 RPMs for architecture PPC. Maybe there is one that sounds appropriate for your platform.
Or you could get the source RPM, which will give you (e.g.) /usr/src/redhat/SOURCES/make-3.79.1.tar.gz. Its README says,
Quote:
If you need to build GNU Make and have no other `make' program to use,
you can use the shell script `build.sh' instead. To do this, first run
`configure' as described in INSTALL. Then, instead of typing `make' to
build the program, type `sh build.sh'. This should compile the program
in the current directory. Then you will have a Make program that you can
use for `./make install', or whatever else.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.