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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
01-23-2002, 04:59 PM
|
#1
|
Member
Registered: Aug 2001
Posts: 77
Rep:
|
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
|
|
|
01-23-2002, 05:46 PM
|
#2
|
LQ Guru
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700
Rep:
|
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
|
|
|
01-24-2002, 01:11 PM
|
#3
|
Member
Registered: Aug 2001
Posts: 77
Original Poster
Rep:
|
Thanks for the info!
Bret
|
|
|
01-24-2002, 05:43 PM
|
#4
|
Senior Member
Registered: Jun 2001
Posts: 1,635
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 08:54 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|