Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 01-23-2002, 05:59 PM   #1
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?


Old 01-23-2002, 06:46 PM   #2
LQ 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:

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 yeah: RedHat wanting to rule the world.


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

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

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

Rep: Reputation: 45
Originally posted by finegan

Source RPMs... uh... so you only have to get used to the vagaries of one compression 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.


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

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