LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-08-2002, 11:44 PM   #1
GT I.N.C
Member
 
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836

Rep: Reputation: 30
Question compiling software


i have no idea HOW to compile software but i sort of know what its for....but i'm just curious, is there an automatic compiler of some sort....please don think i stupid i just want to know....or if anyone can give me a link to how to compile softare it would be appreciated.

 
Old 07-08-2002, 11:50 PM   #2
Hitokiri_X
Member
 
Registered: Mar 2002
Distribution: Slackware Current
Posts: 99

Rep: Reputation: 15
read the README or INSTALL file that comes with the software.Usually it tells you everything needed to install and compile the program.Typically a standard compile is just
./configure
make
make install ( as root )
 
Old 07-09-2002, 01:31 AM   #3
GT I.N.C
Member
 
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836

Original Poster
Rep: Reputation: 30
where do i type that and how?
 
Old 07-09-2002, 01:36 AM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
Quote:
Originally posted by GT I.N.C
where do i type that and how?
In a terminal or at a command prompt. First what type of file is it you download that needs to be installed, RPM or tar.gz ?

Check out our Glossary terms that might help you install:

If RPM go here: http://www.linuxquestions.org/questi...ryid=65&long=1

If tar.gz go here: http://www.linuxquestions.org/questi...ryid=35&long=1

Hope this helps.
 
Old 07-09-2002, 01:44 AM   #5
GT I.N.C
Member
 
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836

Original Poster
Rep: Reputation: 30
its like source.....all the different files in a .tar.gz
 
Old 07-09-2002, 01:51 AM   #6
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
ok then basically you would do these steps saying you downloaded a file called gaim-0.50.tar.gz to your users home dirrectory.

tar xvf gaim-0.50.tar.gz

Sometimes you may have to throw in a z as well, like tar xzvf...
this will create a new directory most likely called gaim-0.50

cd gaim-0.50

./configure

make

su root
password: xxxxxxxx

make install

Then your done in most cases. But always read the README and INSTALL files within that new directory after extracting all the files as there might be some parameters you can pass while issuing the ./configure command or the such.

The easiest way to view files is to issue the command:

more INSTALL
or
more README

You can also use less instead of more... either one allows you to scroll up and down to view the file.

Hope this clarifies a bit more.. If in doubt view the man page for a command, read the glossary terms and or ask here for any other specifics.
 
Old 07-09-2002, 03:55 AM   #7
GT I.N.C
Member
 
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836

Original Poster
Rep: Reputation: 30
how do i do this with .tar.bz2??? or is this different
 
Old 07-09-2002, 04:36 AM   #8
Hitokiri_X
Member
 
Registered: Mar 2002
Distribution: Slackware Current
Posts: 99

Rep: Reputation: 15
tar xvjf should work
 
Old 07-09-2002, 04:52 AM   #9
GT I.N.C
Member
 
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836

Original Poster
Rep: Reputation: 30
why is it when i install Mesa 4.0....i did the ./configure....it printed some messages on the screen....but after that i couldnt do a make or make install....it said command not found??
 
Old 07-09-2002, 05:20 AM   #10
GT I.N.C
Member
 
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836

Original Poster
Rep: Reputation: 30
also when i tried installing gaim 0.59 and some other software i get a his does not look like a tar archive error thing that comes up, but they are .tar.gz and i tried doing xvjk and that didn work either
 
Old 07-09-2002, 06:11 AM   #11
dorward
Member
 
Registered: Sep 2001
Distribution: Gentoo
Posts: 760

Rep: Reputation: 31
Quote:
Originally posted by GT I.N.C
why is it when i install Mesa 4.0....i did the ./configure....it printed some messages on the screen....but after that i couldnt do a make or make install....it said command not found??
Install the "make" package that should have come with your distro.
 
Old 07-09-2002, 06:12 AM   #12
dorward
Member
 
Registered: Sep 2001
Distribution: Gentoo
Posts: 760

Rep: Reputation: 31
Quote:
Originally posted by GT I.N.C
also when i tried installing gaim 0.59 and some other software i get a his does not look like a tar archive error thing that comes up, but they are .tar.gz and i tried doing xvjk and that didn work either
(1) xvzf for tar.gz, xvjf for tar.bz2

(2) Don't tell us what the error "doesn't look like", post the actual error!
 
Old 07-09-2002, 06:31 AM   #13
GT I.N.C
Member
 
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836

Original Poster
Rep: Reputation: 30
don worry about all the other stuff i said, i was wrong, i just need to know why this ake'thing isn working for me, and if i have to install it, how?
 
Old 07-09-2002, 06:36 AM   #14
GT I.N.C
Member
 
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836

Original Poster
Rep: Reputation: 30
my distro is madnrake 8.2
 
Old 07-09-2002, 06:55 AM   #15
GT I.N.C
Member
 
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836

Original Poster
Rep: Reputation: 30
this may help i also pressed <tab> to show all my commands and there is no 'make' or 'make install' commands....does this mean i have to install them somehow?
 
  


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
Compiling Software Kenji Miyamoto Slackware 12 05-22-2005 01:43 AM
Problem Compiling Software IvanLow Linux - Newbie 1 03-27-2005 11:17 AM
Compiling software? Ilushka Linux - Newbie 2 04-04-2004 10:10 PM
Compiling Software GameboyHippo Debian 2 11-06-2003 01:54 PM
Software Compiling Problem... Chryzmo Linux - Newbie 3 08-31-2003 01:02 AM


All times are GMT -5. The time now is 03:03 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