LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 01-31-2006, 11:21 PM   #1
Penguin of Wonder
Senior Member
 
Registered: Sep 2005
Location: West Virginia
Distribution: Gentoo
Posts: 1,249

Rep: Reputation: 45
Question Make command dosne't work [solved]


I'm not a total linux newbie, but this one stumps me everytime. Everytime I try to install a tarball, I unpack it (tar -xvjf ...) and everything goes ok. I cd in the directory it creates and run ./configure. Again everything goes ok, it dosen't error out or anything. So then I continue on to the make command. But everytime I try this it tells me "make: command not found." Why? What am I doing wrong? Do I need to cd into another directory before I run the make command?

I'm currently trying to install gettext because its required for glib which is needed by Ajunta so I can comple C++, on my Kubuntu system.

Last edited by Penguin of Wonder; 02-01-2006 at 12:04 AM.
 
Old 01-31-2006, 11:30 PM   #2
nitinatindore
Member
 
Registered: Dec 2004
Location: India
Distribution: Mandrake, Mandriva, PclinuxOS
Posts: 114

Rep: Reputation: 15
Install development packages for your distribution, which contains necessary utilities required for compiling any program.
 
Old 01-31-2006, 11:33 PM   #3
paragn
Member
 
Registered: Jan 2006
Distribution: Red Hat EL5, Fedora 7
Posts: 259

Rep: Reputation: 30
hi,
Normal procesure to install package is
1)./configure
2)make
3)make install
but if you are getting error while doing make then this is because of (what i found on googling)

The error is caused when the system you are installing on does not have the program called "make". It is recommended that you install make as well as a C compiler ("cc" or "gcc") for the installation of Interchange.
 
Old 01-31-2006, 11:57 PM   #4
Penguin of Wonder
Senior Member
 
Registered: Sep 2005
Location: West Virginia
Distribution: Gentoo
Posts: 1,249

Original Poster
Rep: Reputation: 45
I already have g++ installed. Is there another one I need?

Aren't these basic compilers needed just install linux anyway? How does apt-get install things if I can't? Dosen't it just automate the process?
 
Old 02-01-2006, 12:04 AM   #5
Penguin of Wonder
Senior Member
 
Registered: Sep 2005
Location: West Virginia
Distribution: Gentoo
Posts: 1,249

Original Poster
Rep: Reputation: 45
Well there ya go, I didn't have the package "make" installed. That still leaves me wondering though why that isn't one of the "core" packages that should be installed on a linux system. Do the makers of Ubuntu just assume people don't install things using tarballs or what?
 
Old 02-01-2006, 12:06 AM   #6
paragn
Member
 
Registered: Jan 2006
Distribution: Red Hat EL5, Fedora 7
Posts: 259

Rep: Reputation: 30
hi,
what is the output of rpm -qf /usr/bin/make on your system? also is /usr/bin in you PATH? show your echo $PATH output
 
Old 02-01-2006, 01:15 AM   #7
Penguin of Wonder
Senior Member
 
Registered: Sep 2005
Location: West Virginia
Distribution: Gentoo
Posts: 1,249

Original Poster
Rep: Reputation: 45
I fixed the make problem, it works now. But here is the ouput you requested anyway.

After running echo $PATH

Code:
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
When I ran rpm -qf /usr/bin/make, it gave me this:

Code:
bash: rpm: command not found
Hope that means more to you than it does to me
 
Old 02-01-2006, 11:18 AM   #8
Padma
Member
 
Registered: Aug 2003
Location: Omaha, NE, USA
Distribution: PCLinuxOS 2007
Posts: 808

Rep: Reputation: 30
It means plenty. (K)Ubuntu is a debian-based distro, not an rpm-based one, so rpm commands will obviously not work.

As to why make wasn't installed automatically, yeah, they probably figure that if you are going to install tarballs, that you will have enough knowledge to make sure 'make' is there. After all, installing from tarball, for *most* deb- and rpm-based distros, is the "wrong" way to do things. (Okay, it's not "wrong", I do it myself. But usually the best choice is to use the distro's package manager (apt, rpm, etc.) to retrieve the distro-specific version of the app, as well as any necessary dependencies. )
 
Old 02-01-2006, 11:31 AM   #9
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Quote:
Originally Posted by Penguin of Wonder
Aren't these basic compilers needed just install linux anyway? How does apt-get install things if I can't? Dosen't it just automate the process?
You need compilers and other development tools to build packages from source. APT and most other package managers download and install pre-built binaries, hence you don't need the development tools. Gentoo's Portage system is one where development tools are needed, because it essentially gets the source and builds it for you (I don't know specifics of how it works, but I did use Gentoo once for a while ).
 
Old 02-01-2006, 02:43 PM   #10
Penguin of Wonder
Senior Member
 
Registered: Sep 2005
Location: West Virginia
Distribution: Gentoo
Posts: 1,249

Original Poster
Rep: Reputation: 45
Yeah, i'm still trying to figure gentoo out, its through Gentoo that I had made the assumption all these compiliers and such we're needed to install linux with, because Gentoo needed them.
 
  


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
make command don't work ! No2002 Linux - General 3 06-25-2005 11:26 PM
Why does the make command not work? Corona_Radix Linux - Software 2 07-13-2004 08:29 PM
make command does not work Esrix Linux - Newbie 1 06-23-2004 08:47 PM
"make" command won't work in Fedora...installing Nvidia Ethernet drv's help Ge|atinousFury Linux - Hardware 24 01-22-2004 05:42 PM
"Make command doesn't work!!! suse7.1user Linux - Software 2 08-14-2003 04:37 PM


All times are GMT -5. The time now is 07:04 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration