LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Other *NIX
User Name
Password
Other *NIX This 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


Reply
  Search this Thread
Old 10-03-2005, 10:41 AM   #1
Bazal
LQ Newbie
 
Registered: Oct 2005
Posts: 8

Rep: Reputation: 0
Unhappy bash: make command not found $%?$ OS X


Hello!

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.

The help would be very appreciated!!

Thanks

Max
 
Old 10-03-2005, 11:09 AM   #2
Quigi
Member
 
Registered: Mar 2003
Location: Cambridge, MA, USA
Distribution: Ubuntu (Dapper and Heron)
Posts: 377

Rep: Reputation: 31
Hi Max,

You could go to rpmfind.net and search for "make". It finds 95 RPMs, e.g., http://rpmfind.net//linux/RPM/fedora....80-8.ppc.html with ftp://rpmfind.net/linux/fedora/core/...3.80-8.ppc.rpm -- this one is in distribution "Fedora Core Development for ppc"

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.
 
Old 10-03-2005, 11:27 AM   #3
Bazal
LQ Newbie
 
Registered: Oct 2005
Posts: 8

Original Poster
Rep: Reputation: 0
Hey thanks for your help!
But when I type locate -r /make$, my terminal respond with
modemcable038:/ Max$ locate -r /make$
usage: locate pattern

..ehh, what does it mean?

And for the site, ill search for information right away thanks :)

Max
 
Old 10-03-2005, 11:54 AM   #4
Quigi
Member
 
Registered: Mar 2003
Location: Cambridge, MA, USA
Distribution: Ubuntu (Dapper and Heron)
Posts: 377

Rep: Reputation: 31
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.
 
Old 10-03-2005, 11:54 AM   #5
Bazal
LQ Newbie
 
Registered: Oct 2005
Posts: 8

Original Poster
Rep: Reputation: 0
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.

I'm confused about the rpm package installement..

Thanks for helping me out!

Max
 
Old 10-03-2005, 12:06 PM   #6
Quigi
Member
 
Registered: Mar 2003
Location: Cambridge, MA, USA
Distribution: Ubuntu (Dapper and Heron)
Posts: 377

Rep: Reputation: 31
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.
 
Old 10-03-2005, 01:43 PM   #7
Bazal
LQ Newbie
 
Registered: Oct 2005
Posts: 8

Original Poster
Rep: Reputation: 0
Wonderful, I finally found out how to install RPM from a tar ball: All the information is in this site : http://www-jlc.kek.jp/%7efujiik/maco...mo/RPMonx.html

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.

thanks, your help is very appreciated

Max
 
Old 10-03-2005, 01:52 PM   #8
Bazal
LQ Newbie
 
Registered: Oct 2005
Posts: 8

Original Poster
Rep: Reputation: 0
sorry, the link is

http://www-jlc.kek.jp/%7efujiik/maco...mo/RPMonX.html

dont know why the other didnot work
 
Old 10-04-2005, 09:16 AM   #9
Quigi
Member
 
Registered: Mar 2003
Location: Cambridge, MA, USA
Distribution: Ubuntu (Dapper and Heron)
Posts: 377

Rep: Reputation: 31
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.
So that might solve the chicken-and-egg problem.

Last edited by Quigi; 10-04-2005 at 09:18 AM.
 
  


Reply


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
bash: make: command not found ben_dsr Linux - Newbie 4 01-15-2005 06:50 AM
bash: make: command not found webwolf70 Linux - Software 8 08-05-2004 07:48 AM
bash: make: command not found mkzmonkeylagger Linux - General 8 03-16-2002 04:58 PM
make: cc: command not found make: *** [gzip.o]error 127 zyjk Linux - Newbie 5 02-08-2002 09:58 AM
bash: make: command not found rhuarc Linux - General 5 01-02-2002 06:44 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Other *NIX

All times are GMT -5. The time now is 04:56 AM.

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