Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 02-26-2005, 12:02 AM   #1
LQ Newbie
Registered: Feb 2005
Posts: 3

Rep: Reputation: 0
looking for a "compiling on linux 101"

here's a simple one!

can someone point me in the right direction to find out about compiling, how to do it, and all that stuff? i don't know a thing about it, but i want to learn.

a link to some documentation, or a step-by-step, or a walkthrough, or a something-er-other for someone who doesn't even know what compiling is would be fantastic.


Linux: FC3, updated as of Feb 26th 2005.
program i want to compile: Hydrogen Drum Machine.
Old 02-26-2005, 12:34 AM   #2
Registered: Jan 2005
Location: /dev/input/chair0
Distribution: Slackware, Gentoo, Vector, Roll-your-own-with-GNU binutils
Posts: 174

Rep: Reputation: 30
1. open your favorite x-term and browse to the directory you saved the hydrogen-0.9.1.tar.gz tarball.
2. "tar -xvf hydrogen-0.9.1.tar.gz" (without the quotes) to extract it to a directory named hydrogen-0.9.1
3. cd hydrogen-0.9.1
4. decide where you would like to install the software, I'm not familiar with Fedora, but likely destinations for X-software is /usr/local or /usr/X11. This location will determine your --prefix flag to use with the ./configure script.
5. "./configure --help" (without quotes) to see any other necessary or desired options. READ THE OUTPUT FROM THIS COMMAND, just in case. Most times you won't need any other options.
6. "./configure --prefix=/usr/local " as an example. This will build the software for installation to the /usr/local directory. Add in any other make options after your prefix, examples would be --disable-gnome , --oss_emu=1 , etc. These options are the ones you saw in the above step. To just accept the developers default configuration values, you can enter "./configure" .
7. When configure is done, type "make" (without the quotes)
8. When the make command is done, use the su command to get root privileges
9. As root, enter "make install"
10. The binary will be installed according to the path options you selected in steps 4-6 above. If this is in your default PATH, typing the name of the program in a term will run it

Old 02-26-2005, 04:57 AM   #3
LQ Newbie
Registered: Sep 2004
Posts: 19

Rep: Reputation: 0
LQ has a tutorial article about compiling:


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
GCC Compiling (Linux), "Segmentation Fault" Kenji Miyamoto Programming 2 01-13-2005 02:44 AM
When "function pointer" meets "template"... I can't get rid of this compiling er cyu021 Linux - Software 3 12-17-2004 08:52 PM
Fedora first update hangs on "Fetching rpm header: glibc-2.3.2-101.4" Darthomir Fedora 24 04-10-2004 12:53 PM
Fedora first update (with RH NetW) hangs on "Fetching rpm header: glibc-2.3.2-101.4" Darthomir Red Hat 5 03-15-2004 06:04 PM
Box Won't Boot - just displays "ATI MACH64 BIOS P/N 113-49801-101" te3d Linux - Hardware 3 10-27-2003 03:11 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:06 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration