LinuxQuestions.org
Visit Jeremy's Blog.
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 08-21-2003, 12:35 AM   #1
snatale1
Member
 
Registered: Aug 2003
Location: Richmond, Virginia, US
Distribution: Mint 17.2
Posts: 415

Rep: Reputation: 32
First Compile!


I've been running RH9 for about 2 weeks now and getting the hang of it pretty good. but know that i'm getting more software installed i'm running out of RPM's and finding alot of source. My install came with EMACS i've noticed different progs for compiling whats best for the average newbie? also any tips? I've checked out the install instructions on a few mozilla plugins i got and it don't look to good the other prob is I can't print them out bcuz to install my printer driver i got to compile some other stuff......oh well any help is appreciated.
 
Old 08-21-2003, 12:42 AM   #2
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: Debian Wheezy
Posts: 2,872

Rep: Reputation: 88
Source code will have a readme or install file (or both). Reading these will tell you the steps to compile the code plus options you may choose.
The instructions can range from simple to lengthy unintelligible compile options.
If this is you first compile, you may find that the compile halts with errors about development tools your system does not have installed. Install them.
 
Old 08-21-2003, 10:42 AM   #3
bitpicker
Member
 
Registered: Jul 2003
Location: Germany
Distribution: Xubuntu, Ubuntu
Posts: 416
Blog Entries: 14

Rep: Reputation: 35
You can always try www.rpmseek.com or other such sites in order to see whether there are new rpm packages for your distro already. They are usually much less hassle. But if you find yourself in the position that you have to compile, usually it's a three step thing (whether it is you can find out by reading the INSTALL file which comes with the source tar or whatever).

First you usually have to enter [./configure] (no brackets of course) in the directory where the source is located (having unpacked a tar.gz or other archive first).

There might be parameters you have to give to this command but the few I have done yet didn't need any (even though one INSTALL gave an example with parameters which didn't work on my system, had I not used those it would have workedthe first time around...).

Next, when there are no bad error messages (you might get notified of other things you have to install first though) you run the command: [make]. When that is through without error, the next command is: [make install]. After that the program should be installed if there is nothing missing.

But RPMs are much faster, so I'd check for those first. Compiling is done because the programmer doesn't know your distro, but RPMs are usually specially made for your distro so there's a lot of configuration that doesn't need to be done anymore.

Robin
 
  


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
compile 2.6.13 jupiter3437 Linux - Software 3 09-09-2005 05:09 PM
ntop compile/post-compile problem? tjb Linux - Software 3 12-28-2004 05:22 PM
Cannot compile c davidtsl Programming 8 12-13-2004 02:36 AM
Compile help Twiggy794 Linux - Software 1 12-03-2003 02:53 AM
How do I compile? icecream33 Programming 2 10-07-2002 07:28 AM


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