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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
12-21-2009, 03:52 PM
|
#1
|
Member
Registered: Dec 2009
Posts: 35
Rep:
|
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
|
|
|
12-21-2009, 03:55 PM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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.
|
|
|
12-21-2009, 05:02 PM
|
#3
|
Member
Registered: Dec 2009
Posts: 35
Original Poster
Rep:
|
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
|
|
|
12-21-2009, 05:11 PM
|
#4
|
LQ Newbie
Registered: Dec 2009
Posts: 7
Rep:
|
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.
|
|
|
12-21-2009, 05:20 PM
|
#5
|
Member
Registered: Dec 2009
Posts: 35
Original Poster
Rep:
|
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 .
|
|
|
12-21-2009, 05:22 PM
|
#6
|
Member
Registered: Dec 2009
Posts: 35
Original Poster
Rep:
|
How does YUM work ?
|
|
|
12-21-2009, 05:31 PM
|
#7
|
LQ Newbie
Registered: Dec 2009
Posts: 7
Rep:
|
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 
|
|
|
12-21-2009, 08:20 PM
|
#8
|
LQ Newbie
Registered: Dec 2009
Posts: 1
Rep:
|
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.
|
|
|
12-21-2009, 08:24 PM
|
#9
|
LQ Guru
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 11,134
|
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.
|
|
|
12-21-2009, 08:26 PM
|
#10
|
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824
|
Quote:
Originally Posted by flatmandan
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.
|
|
|
12-21-2009, 09:15 PM
|
#11
|
LQ Guru
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726
|
Quote:
Originally Posted by Xzibit
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.
|
|
|
12-21-2009, 09:16 PM
|
#12
|
LQ Guru
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726
|
Quote:
Originally Posted by flatmandan
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.
|
|
|
12-22-2009, 12:09 AM
|
#13
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
Quote:
Originally Posted by Xzibit
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.
|
|
|
12-22-2009, 02:38 AM
|
#14
|
Member
Registered: Sep 2003
Posts: 210
Rep:
|
Quote:
just like windows can apparently do more than install malware for you.
|
Are you sure about that? I think I missed that update.
|
|
|
12-22-2009, 03:05 AM
|
#15
|
Senior Member
Registered: Mar 2009
Location: USA
Distribution: Arch
Posts: 1,022
Rep: 
|
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.
|
All times are GMT -5. The time now is 01:25 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|