LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 06-09-2008, 11:55 AM   #1
arijit_2404
Member
 
Registered: Jul 2007
Location: Kolkata, India
Distribution: Fedora 9
Posts: 85

Rep: Reputation: 15
Question Fedora: which packages are needed to enable source compilation ?


Hi all,

I am using Fedora for quite some times. But I always stuck to the basics. Now I want to experiment little bit. I want to be able to install soft wares from source those aren't available as RPM file.

My question is, what are the minimum packages which need to be installed to enable source compilation? I have Fedora 9 DVD.

I also know 'make' is one of them. But don't know all needed packages.
Can anybody list the bare minimum packages I need to install?
 
Old 06-09-2008, 01:56 PM   #2
b0uncer
Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
I'm not quite sure of Fedora rpm packages, but typically you'll want a compiler collection (GCC; to work you'll need a compiler and a linker, or perhaps many), make utility, development libraries for the stuff you need and so on. Some distrubutions provide a meta package that itself doesn't "install" anything (not files anyway), but instead depends on the "needed tools" and when installed, draws in the rest of the herd. See if there's a package available that is called "build-essentials" or something that sounds similar.

When you compile a project, if it comes with a configure script (that you run as the first step in the compilation process), you can run that - it should fail if you don't have the needed tools. Then check the error message and maybe do a web search for it if you don't get what it means, and you should find out what you're missing. The minimal "compilation tools" aren't always enough, sometimes you need extra libraries and such, and that's what the configuration script checks for -- so pay attention to it's output (even when it succeeds; it might disable some functionality in the program if some pieces are not found, even if compilation of a functional program is possible).

Last edited by b0uncer; 06-09-2008 at 01:59 PM.
 
Old 06-09-2008, 02:05 PM   #3
arijit_2404
Member
 
Registered: Jul 2007
Location: Kolkata, India
Distribution: Fedora 9
Posts: 85

Original Poster
Rep: Reputation: 15
Yes, I've heard about build-essentials. but it is for Debian and derived OS only.
I don't know about fedora.
 
Old 06-09-2008, 07:49 PM   #4
hlingler
Member
 
Registered: May 2007
Location: Connellsville, PA, USA
Distribution: Fedora 8/9/10/11
Posts: 71

Rep: Reputation: 15
Quote:
Originally Posted by arijit_2404 View Post
Hi all,

I am using Fedora for quite some times. But I always stuck to the basics. Now I want to experiment little bit. I want to be able to install soft wares from source those aren't available as RPM file.

My question is, what are the minimum packages which need to be installed to enable source compilation? I have Fedora 9 DVD.

I also know 'make' is one of them. But don't know all needed packages.
Can anybody list the bare minimum packages I need to install?
yum groupinstall "Development Tools" "Development Libraries"

should get you the "basic" packages you asked for. There are more that are available, depending on what you intend to do:
yum groupinstall "GNOME Software Development" "X Software Development" "Java Development" "Legacy Software Development" "KDE Software Development" "Fedora Packager" "XFCE Software Development" "Web Development"

In addition, whatever applications/packages/source code you want to compile may have additional prerequisites.

V
 
Old 06-09-2008, 11:04 PM   #5
arijit_2404
Member
 
Registered: Jul 2007
Location: Kolkata, India
Distribution: Fedora 9
Posts: 85

Original Poster
Rep: Reputation: 15
Thumbs up Thanks a lot

Quote:
Originally Posted by hlingler View Post
yum groupinstall "Development Tools" "Development Libraries"

should get you the "basic" packages you asked for. There are more that are available, depending on what you intend to do:
yum groupinstall "GNOME Software Development" "X Software Development" "Java Development" "Legacy Software Development" "KDE Software Development" "Fedora Packager" "XFCE Software Development" "Web Development"

In addition, whatever applications/packages/source code you want to compile may have additional prerequisites.

V
Thanks a lot. This is what I wanted.
 
Old 06-10-2008, 12:05 PM   #6
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 172Reputation: 172
Also be away that when a compile has a dependency you will need the -devel version of that dependency (in most cases) and not just the running version.
 
Old 06-11-2008, 01:25 PM   #7
arijit_2404
Member
 
Registered: Jul 2007
Location: Kolkata, India
Distribution: Fedora 9
Posts: 85

Original Poster
Rep: Reputation: 15
Thanks for the tips. Sorry for late acknowledgment.
 
  


Reply

Tags
fedora, packages, source


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
Fedora 8: Howto enable open source flash nomb Fedora 2 11-09-2007 12:46 PM
how to install xmms player on Fedora 7 ? which packages are needed? from where I can mad_abt_linux Linux - Newbie 13 10-30-2007 05:40 PM
Guide needed in device driver / module compilation. SPo2 Linux - Newbie 1 09-30-2007 01:18 PM
against recommendations on 64bit compilation of certain packages... ParticleHunter Linux From Scratch 12 10-05-2004 04:24 AM
creating packages (.tgz/.deb/.rpm) How from the source packages? l_9_l Linux - General 1 03-06-2002 07:03 PM


All times are GMT -5. The time now is 09:12 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration