Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 08-24-2004, 10:36 PM   #1
LQ Newbie
Registered: Aug 2004
Posts: 2

Rep: Reputation: 0
Installing GCC

Hey. I'm running WinXP, but I installed Cygwin because I want to run Kismet. But after downloading Kismet, I was told I needed to compile it in order to run it. So I downloaded GCC. Now this is where my understanding ends. How do I install GCC, so that I can compile Kismet, so I can run that? Things are getting complicated on me fast! :-p

Thanks for the help!

Old 08-24-2004, 10:44 PM   #2
LQ Guru
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
Which package did you download? you need to Cygwin binary release, the source code on the GCC website won't do any good.
If that's what you've got, simply cd into the root directory of your Cygwin and extract these tarballs ( tar xvjf <file.tar.bz2> )
Old 08-25-2004, 02:57 AM   #3
Registered: Aug 2004
Location: Newmarket, Ontario
Distribution: OpenSuse 10.2
Posts: 184

Rep: Reputation: 30
I also would like to know how to install gcc 3.4.1. I installed gaim through a RPM and then was told I need to install a particular library. After downloading the library I found out I needed the gcc to compile it. Well, I downloaded the gcc 3.4.1 but can't figure out what to do with it after untarring it.
Old 08-25-2004, 03:47 AM   #4
LQ Guru
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
If what you downloaded is the source code release then you need a C compiler to compile and install it (yea, like you need GCC to compile GCC).
What you should do is get the binary release from your distro vendor, for Suse you can get RPMs for GCC here:
Install all of gcc-* packages if you're not sure.

Also see if you can find the RPM for that particular library, because RPMs check the RPM databse for dependencies, not your actual filesystem, so what's gonna happen is your Gaim RPM will still complain about the missing library, even if its there and you installed it from the source.
Though you can get away with it by doing --nodeps, this is genereally not a good idea.
Here's a good site to look for RPMs:

If you can't find the particular RPM for your distro, before you download the one available on some other distro try to find the source RPM then compile it(as easy as "rpmbuild --rebuild <package.src.rpm>". This way you have a better chance of avoiding broken dependencies and such. Or alternatively you can create your own RPMs from the source using something like "checkinstall" or even "rpmbuild" if a .spec file exist.


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
Need help on installing GCC. Jonka Linux - Software 2 11-12-2003 05:12 PM
Installing gcc 3.3 Shienarier Linux - Software 6 06-08-2003 12:25 PM
Installing GCC sovietpower Linux - Newbie 1 06-01-2003 06:28 PM
Installing GCC 3.1 over GCC 2.96...? aaronluke Linux - General 3 09-27-2002 06:28 AM
Installing gcc-2.95.3 X11 Linux - Software 2 04-26-2002 10:49 AM > Forums > Linux Forums > Linux - Newbie

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