LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 02-26-2002, 12:54 PM   #1
tha_newbfather
LQ Newbie
 
Registered: Jan 2002
Distribution: Mandrake 8.1
Posts: 16

Rep: Reputation: 0
Another day, another question


Right, so I've got the process of installing .rpm's down (that was easy), and I'm moving on to tarballs. No problems when they have binaries, but I'm lost when it comes to compiling!

To make matters worse, my system doesn't seem to have xmkmf installed (I understand that this the easiest way, along with Imake -- which I also seem to be lacking -- to get these things into working software), and I can't find it at rpmfind.net.

If anyone out there could walk me through the process (or post a link to a web page with a nice walk-through) I would be much obliged.

Yours ever,
Tha Newbfather
 
Old 02-26-2002, 04:52 PM   #2
isajera
Senior Member
 
Registered: Jun 2001
Posts: 1,635

Rep: Reputation: 45
the main problem with tarballs is that you'll occasionally run across one that doesn't use the typical compiling instructions. in that case, there will probably be the README to explain how. other than that, 90% of tarball installs go like this:

tar -xzvf package.tar.gz
*bunch of stuff scrolls by while it's decompressed and untarred*

cd package

./configure
make
su
make install

...and you're done. generally, you want to compile as a user, and install as root. it's not critical to compile as user instead of root, but it's just generally not a good security idea to compile anything as root.
 
Old 02-26-2002, 05:09 PM   #3
tha_newbfather
LQ Newbie
 
Registered: Jan 2002
Distribution: Mandrake 8.1
Posts: 16

Original Poster
Rep: Reputation: 0
I just an error message when I enter ./configure
 
Old 02-26-2002, 05:49 PM   #4
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
What's the error message? The configure script for everything checks to make sure you have the necessary components in order to compile something from source. Mandrake and RedHat have now jumped the chasm of really being a pain in the arse as a default installation no longer includes a compiler! If the error had something to do with gcc, you'll have to RPM those onto you box. There should be just the one, but Mandy in its infinite obnoxiousness, has probably left out a few things, so its probably a matter of RPM, trying configure, finding what you need next, repeat.

Luck man,

Finegan
 
Old 02-28-2002, 03:52 PM   #5
goneaway
Member
 
Registered: Jan 2002
Location: Denver, Colorado, United States
Distribution: Gentoo, Debian, Rubyx
Posts: 78

Rep: Reputation: 15
Angry god that's annoying...

I've never been able to figure out why the hell most distros don't make a compiled (at least gcc for christsakes) part of the default install. I realize that Red Hat would love to standardize everything into neat RPMs... but jeez. When I first started using Linux (RH 6.0) this was one of the worst problems I encountered since handling RPMs was a little more complicated then.
 
Old 02-28-2002, 04:01 PM   #6
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
The two major culprits, Mandrake and RedHat, and I think SuSe, but my experience with them is limited, have one cool feature in the install:

Everything.

Both of them come with a section in their configuration that regardless of install will ask you what services you want by default, which is of course going to be what resources you have being sucked away by worthless goop... Be careful while tuning that and then the only big loss with an "everything" install is a whopping chunk of disk space eaten up. Newsflash, disk is cheap. Real cheap. RedHat, allowed to eat all the burgers and sectors it wants like some bloated, Post-Jailhouse Rock Elvis only sucks back 3.3 Gb. Heck, that's less than 10% of the industry standard shipping 40Gig.

I agree, not having a compiler is annoying, but in most other, *cough* operating systems *cough*, the greatest decision left to the user as to what software is installed is whether or not you want Solitaire on your box.

Cheers,

Finegan
 
Old 02-28-2002, 04:15 PM   #7
goneaway
Member
 
Registered: Jan 2002
Location: Denver, Colorado, United States
Distribution: Gentoo, Debian, Rubyx
Posts: 78

Rep: Reputation: 15
To the credit of SuSE....

The default install does include most of your garden variety file tools. Yeah, it is a big ass install but then again I've got like 60 something free gigs anyhow.

I really like SuSE. It's KDE that I despise....
 
  


Reply



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
c programming stupid question of the day blackzone Programming 9 01-25-2005 12:47 PM
First Day, First Question Bi0mic Linux - Newbie 6 02-26-2004 12:49 PM
My question of the day whaase Debian 5 10-23-2003 10:48 PM
Funny question of the day Glover Linux From Scratch 6 07-06-2002 07:24 PM
Dumb Question of the Day freezinbutt Linux - Newbie 4 03-19-2002 01:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:51 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
Open Source Consulting | Domain Registration