LinuxQuestions.org
Help answer threads with 0 replies.
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 12-21-2009, 03:52 PM   #1
Xzibit
Member
 
Registered: Dec 2009
Posts: 35

Rep: Reputation: 15
What to do with Make & Make Install


got stuck at this point ...


after typing ./configure

there is a error with this :

checking.....no
configure error : no acceptable C compiler

I tried . make & make install

after typing it

Error message : no target specified no makefile found.

I'm sure a .rpm file will give me some problems too .

Last edited by Xzibit; 12-21-2009 at 03:53 PM. Reason: sorry about the title again
 
Old 12-21-2009, 03:55 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
why will an RPM give you problems?? Assuming you are running an RPM distro you would be best off sticking with them rather than compiling code. You have a fedora icon in your profile... fc12? just use yum to make it painfully easy.... "yum install someprogram" and off it goes, job done.

Your problem here is that you don't have a c compiler installed, which would be gcc. This will come from an RPM on your installation media / package management system. Most likely there will be something like a "development tools" bundle which will instlal gcc, glibc-devel and all other requirements to generally compile code.
 
Old 12-21-2009, 05:02 PM   #3
Xzibit
Member
 
Registered: Dec 2009
Posts: 35

Original Poster
Rep: Reputation: 15
So what i'm doing is trying to compile code ?
meaning working in a terminal window and using commands ?
so why is this so difficult ?

Thanks
 
Old 12-21-2009, 05:11 PM   #4
kanver
LQ Newbie
 
Registered: Dec 2009
Posts: 7

Rep: Reputation: 1
It's difficult because you're compiling code. Now, please install a "compiling code" environment. Or find a binary package of whatever you're trying to install.
 
Old 12-21-2009, 05:20 PM   #5
Xzibit
Member
 
Registered: Dec 2009
Posts: 35

Original Poster
Rep: Reputation: 15
I approached using linux by learning first the command line (terminal) . am I wrong ?
There's a great deal of files on websites that deal with rpm / tar / gzip etc. format. Is there an easier way of installing them to use on my desktop ?
No I'm not running a rpm site , just curious .
 
Old 12-21-2009, 05:22 PM   #6
Xzibit
Member
 
Registered: Dec 2009
Posts: 35

Original Poster
Rep: Reputation: 15
How does YUM work ?
 
Old 12-21-2009, 05:31 PM   #7
kanver
LQ Newbie
 
Registered: Dec 2009
Posts: 7

Rep: Reputation: 1
Installing by source (tar.bz, tar.gz or sometimes .zip) is generally more difficult than installing using a binary (pre-compiled) package like .rpm or .deb. As far as I know, yum uses .rpm binary packages.

I'm pretty sure there's a beginner-friendly yum manual ready for you (try "man yum"). If that's not enough, I'm sure someone else with some RH experience will know more
 
Old 12-21-2009, 08:20 PM   #8
flatmandan
LQ Newbie
 
Registered: Dec 2009
Posts: 1

Rep: Reputation: 0
help me please i am so lost!!!!!!!!!

first of all i am a super noob at linux. I am trying to figure out how to install limewire 5. I dont understand how to change directories in linux. i know how to do it in windows (CD) but i dont understand how to do it in linux or how to find the directory of the source download and or what this means sh ./runlime sh and where to use that command. I am super lost and would really like to figure this out. if you could tell me step by step.
 
Old 12-21-2009, 08:24 PM   #9
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 11,134
Blog Entries: 4

Rep: Reputation: 4102Reputation: 4102Reputation: 4102Reputation: 4102Reputation: 4102Reputation: 4102Reputation: 4102Reputation: 4102Reputation: 4102Reputation: 4102Reputation: 4102
How do I say it nicely, Xzibit? "Don't try to run before you can walk." Linux/Unix is not quite the "padded-cell environment" that Windows can be. You can get yourself into trouble that you can't easily get out of, and one good way to do that is to "up and do things" right away... ahem, like you're doing now.

Honestly, I do not mean in any way to insult you when I counsel that you should "stick strictly to packages" at this point. Find a package that contains what you want, and install it. Learn how your distro's package-manager works. Don't go monkeying around with from-source compiles ... not yet. There are many things which your distro's adroit package-designers and testing teams neatly steer you clear away from: nasty things that you know not of... nor that you should be at all eager to encounter. Yet. Too soon.
 
Old 12-21-2009, 08:26 PM   #10
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Quote:
Originally Posted by flatmandan View Post
first of all i am a super noob at linux. I am trying to figure out how to install limewire 5. I dont understand how to change directories in linux. i know how to do it in windows (CD) but i dont understand how to do it in linux or how to find the directory of the source download and or what this means sh ./runlime sh and where to use that command. I am super lost and would really like to figure this out. if you could tell me step by step.
Go to your local bookstore and buy a book on beginning Linux, then read it.

Next time, please create your own thread instead of hijacking an existing, unrelated one.
 
Old 12-21-2009, 09:15 PM   #11
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726

Rep: Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706
Quote:
Originally Posted by Xzibit View Post
So what i'm doing is trying to compile code ?
meaning working in a terminal window and using commands ?
so why is this so difficult ?
It is difficult because you are not trying to understand the output of "./configure". It told you that you didn't have a c compiler... perhaps that implies that you should install one.

Evo2.
 
Old 12-21-2009, 09:16 PM   #12
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726

Rep: Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706
Quote:
Originally Posted by flatmandan View Post
first of all i am a super noob at linux. I am trying to figure out how to install limewire 5. I dont understand how to change directories in linux. i know how to do it in windows (CD) but i dont understand how to do it in linux or how to find the directory of the source download and or what this means sh ./runlime sh and where to use that command. I am super lost and would really like to figure this out. if you could tell me step by step.
Please start your own thread if you have a question.

Evo2.
 
Old 12-22-2009, 12:09 AM   #13
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Quote:
Originally Posted by Xzibit View Post
I approached using linux by learning first the command line (terminal) . am I wrong ?
There's a great deal of files on websites that deal with rpm / tar / gzip etc. format. Is there an easier way of installing them to use on my desktop ?
No I'm not running a rpm site , just curious .
"compiling code" and "using the command line" are not the same thing, there are thounsands of things you can do with a command line other than compile code, just like windows can apparently do more than install malware for you.

Not running an RPM site? I don't think you understood the question... you're running Fedora 12? 11? If so then that's an RPM based distro, and so forget tar / gzip / make install / configure and all that until you understand them, just run "yum install someprogramyouwanttoinstall" and it'll download the relevant RPM packages and install them all automatically (try doing that on windows!), assuming it's a valid program that yum knows about. There are also equivalent tools to use yum via a graphical interface through your admin menus on your desktop.
 
Old 12-22-2009, 02:38 AM   #14
dvdljns
Member
 
Registered: Sep 2003
Posts: 210

Rep: Reputation: 30
Talking

Quote:
just like windows can apparently do more than install malware for you.
Are you sure about that? I think I missed that update.
 
Old 12-22-2009, 03:05 AM   #15
lupusarcanus
Senior Member
 
Registered: Mar 2009
Location: USA
Distribution: Arch
Posts: 1,022
Blog Entries: 19

Rep: Reputation: 146Reputation: 146
You guys are being awful hard on the guy; he asked a simple question and wanted a simple answer.

I have never used fedora; but the problem here is that you don't have a program to compile the code. If you open Fedoras' package manager you should be able to search for gcc and install it no problem. You can also try "yum install gcc", as root.

Also, I would suggest executing "make" and "make install" separately. You also will have to be root (Linux terms) [which is 'administrator' on Windows] to properly execute the command. This is easy; simply use "su -" to become root. (It might be slightly different on your distribution {version}; it's been a long time since I used fedora).

For example:
Quote:
user@fedora:~$ cd /directory of package
user@fedora~/directory of package$ ./configure
user@fedora~/directory of package$ make
user@fedora~/directory of package$ su -
password for [user]:
root@fedora:/directory of package# make install
For clarification: Fedora uses yum to utilize .rpm packages to install programs (think 'self-installer'). Simply download the package and double-click on it, it should install it for you (like Windows). Note that is NOT what you're doing above; you're manually doing it.

Gzip, Gzip2 and tar files are more like zip files on Windows, they can contain anything, but they usually require more manual configuration , like what you're doing. Note that these files will require "extracting", like on Windows with zip files

So right now you should make a mental note to associate .rpm packages as self-installers (.exe if that helps) for Fedora, and that Gzip, Gzip2 and tar, are more like zip files which can contain anything, but may require manual compilation and installation.

And, yes, I think using the command line is a great way to start. It will allow you to understand the fundamentals of your Linux distribution so when a problem arises down the road, you won't be left wondering. The command line simply shows you how Linux works underneath the hood; where as on Windows and Mac you've been indoctrinated enough to know what to do. The reason the command line is great for beginners is because it shows you right away how different Linux is from Windows and even Mac.

Be aware of dependencies, these are programs that are required by another program to run successfully. Think "Firefox-plugin" is dependent on "Firefox". This is exactly why your compilation of the program failed. The reason .rpm packages are the preferred method of installation is that they take care of these dependencies for you.

Sorry this thread has gone awry for you, Xzibit, hope this helps.

Last edited by lupusarcanus; 12-22-2009 at 03:36 AM. Reason: Spelling
 
1 members found this post helpful.
  


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
what does make man && make setup check while installing qmail means vitalstrike82 Linux - Software 3 05-26-2009 09:41 AM
package compiling from source, make & make install concepts shujja Linux - Newbie 2 09-20-2005 12:18 AM
Chap 5 Binutils make LDFLAGS & make install errors shotokan Linux From Scratch 5 04-10-2005 03:01 AM
Look the output of: make dep && make clean bzImage modules modules_install Hell-Shooter Linux - General 2 06-05-2004 05:05 AM
'make' & 'make install commands not recognised by shell gilbertt Linux - Software 4 05-04-2004 08:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:25 PM.

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