LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-23-2002, 04:59 PM   #1
iggymac
Member
 
Registered: Aug 2001
Posts: 77

Rep: Reputation: 15
source code and platform question


Stupid question:

When you install an rpm you need to pick one for your processor/platform: i.e. i386, powerpc, etc.

Is that necessary with source code installs? In other words can you download the tar.gz file for, say, sudo, and run that on intel and powerpc platforms or is source code also broken up into processor type?

And while I am at it, why do I still need to do "make" and "make install" from binaries? Isn't it the whole point that binaries are pre-compiled?

And lastly (phew!) why install rpm's of source code? Why not just install tar.gz files of source?

Thanks.

Bret
 
Old 01-23-2002, 05:46 PM   #2
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57
Usually source code tarballs are either specified as per platform in the name, like nmap-2.54beta_x86linux.tar.gz(which doesn't exist), or much more often the case, the tarball includes the source for all architectures it supports. You're probably used to the three step source dance of:

./configure
make
make install

Autoconf, which is the first thing the configure script usually checks for, will supply the script with the architecture type of the machine. Therefore, if your box is a PII, everything you compile from source will probably be optimized for a PII. I say probably because in many utilities architecture is inconsequential to its functioning.

Source RPMs... uh... so you only have to get used to the vagaries of one compression utility...er... yeah: RedHat wanting to rule the world.

Cheers,

Finegan
 
Old 01-24-2002, 01:11 PM   #3
iggymac
Member
 
Registered: Aug 2001
Posts: 77

Original Poster
Rep: Reputation: 15
Thanks for the info!

Bret
 
Old 01-24-2002, 05:43 PM   #4
isajera
Senior Member
 
Registered: Jun 2001
Location: San Antonio, TX
Distribution: distro? what's a distro?
Posts: 1,635

Rep: Reputation: 45
Quote:
Originally posted by finegan

Source RPMs... uh... so you only have to get used to the vagaries of one compression utility...er... yeah: RedHat wanting to rule the world.
lol - yeah... in the future, red hat will rule the market will an iron-fisted monopoly, and microsoft will be a small struggling company trying desparately to bring choice to the computing world.
 
  


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
A source code housekeeping question Dewar Linux - General 1 12-11-2003 07:02 PM
Question on Linux Open Source Code and M$ uses Paul Parr General 2 04-16-2003 09:23 AM
Question about Source Code Pwcca Linux - General 3 03-12-2003 10:58 PM
Another source code question. JMC Linux - General 3 05-28-2002 01:58 AM
Question about source code locations hanzerik Linux From Scratch 4 02-06-2002 09:33 PM


All times are GMT -5. The time now is 11:25 PM.

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