LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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-12-2008, 12:36 AM   #1
thiagarn
Member
 
Registered: Jan 2008
Posts: 47

Rep: Reputation: 15
gcc compiler RPM for Fedora Core 2 system


Hello all,

I'm a newbie to Linux.

I installed Fedora Core 2 in one of my systems through CDs (it came with 4 cds).
After i booted the first Cd it started the installation process and then continued with second CD.
Again after a reboot, it had some settings and then later asked to install additional cds but when i attempted to do that it said it cannot process the data in the CD. The 3 and 4 cds have RPMS.

Later after the system booted i tried to install the RPMS for gcc compiler from the CD. (gcc34-c++-3.4.0-1)

I used this command -

rpm -ivh gcc34-c++-3.4.0-1.rpm

I had two dependencies but then later when i installed the appropriate RPMS it was fine.


But it always gave me this error -
error on dependencies
gcc34=3.4.0-1 is needed by gcc34-c++-3.4.0-1


I'm not sure what it is looking for. I'm stuck. Can anyone please help me out.

Thanks in advance,
Nandhini
 
Old 02-12-2008, 01:12 AM   #2
Nauntilus
Member
 
Registered: Oct 2005
Distribution: All of them
Posts: 137

Rep: Reputation: 17
Are you sure you need it? Normally it should install with the OS. You can test it using g++ as the command then the file name you are trying to compile. I am not sure if that what is you need.
 
Old 02-12-2008, 02:17 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156
Why not make a textfile with your installed stuff??
command 'rpm -qa | sort > my_package_list.txt' (or any name for the textfile)
You should have a gcc installed, like nauntilus tells you, in my archives the
version for fedora 2 is gcc-3.3.3-7.i386.rpm
So please install gcc-c++-3.3.3-7.i386.rpm for c++
then it will all fit together.
(All the 3.4 versions are there too, don't use them)
 
Old 02-12-2008, 10:39 AM   #4
thiagarn
Member
 
Registered: Jan 2008
Posts: 47

Original Poster
Rep: Reputation: 15
Ok Thanks. Can u please let me know where i can find gcc-c++-3.3.3-7.i386.rpm ?also can anyone tell me why during installing OS i was unable to install the RPM cds?
 
Old 02-12-2008, 01:18 PM   #5
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 172Reputation: 172
FC2 is beyond EOL (End of Life) by years. The current version is Fedora 8. As there will be no updates available for FC2 and very few people have run it in years, I would strongly suggest you update. Fedora 8 is available for free download. This will also save you tons of headaches as the out of box capabilities have grown exponentially.
 
Old 02-12-2008, 01:24 PM   #6
thiagarn
Member
 
Registered: Jan 2008
Posts: 47

Original Poster
Rep: Reputation: 15
The reason i'm sticking with older version of Linux is because, i using a tool for my project which would work only with older versions of Linux kerenls. (2.6.5 kernels) .Any suggestions?
 
Old 02-12-2008, 02:17 PM   #7
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 172Reputation: 172
What is the tool? It is a pretty rare thing to find something that will not work with a current kernel (2.6->2.6) that does not have an updated replacement.
 
Old 02-12-2008, 03:51 PM   #8
thiagarn
Member
 
Registered: Jan 2008
Posts: 47

Original Poster
Rep: Reputation: 15
The tool is Sebek for capturing attackers keystorkes.It work only with Linux kernels 2.6.15 or below. I moved to FC5 now. My problem now is how do i install a set of RPMS from the Cds i have? i'm stuck. Dont know how to proceed.

Thanks
 
Old 02-12-2008, 06:37 PM   #9
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 172Reputation: 172
Look in "man yum". You are looking for "localinstall"
 
Old 02-12-2008, 06:45 PM   #10
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 172Reputation: 172
Are you running an older version of sebek becuase I could not find a limit on there web page that matches 2.615>. Current version would be 3.2.0 (as far as I can tell).

http://www.honeynet.org/tools/sebek/
 
Old 02-12-2008, 07:26 PM   #11
thiagarn
Member
 
Registered: Jan 2008
Posts: 47

Original Poster
Rep: Reputation: 15
I'm using 3.2.0 sebek version. Also i moved to Fedora Core 5. Current version of kernels is 2.6.15-1.2054

I'm now facing an issue where my software code tries to find the kernel source in Linux and gives this error -

Kernel source should be installed in /lib/modules/2.6.15-1.2054_FC5/build

Basically, the program looks for a the kernel source files.

Can anybody point me on how to get the kernel source?

Thanks
Nandhini
 
Old 02-12-2008, 07:29 PM   #12
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 172Reputation: 172
What I meant was I could not see anything that said you could not use a kernel newer than .15 in the sebek documents.


yum install kernel-devel

That (above) should clear up your error.
 
Old 02-12-2008, 07:34 PM   #13
thiagarn
Member
 
Registered: Jan 2008
Posts: 47

Original Poster
Rep: Reputation: 15
The system i'm using is not connected to the net.

Any other means of getting this error fixed? Sorry if this a dumb question.
 
Old 02-12-2008, 07:44 PM   #14
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 172Reputation: 172
Running any Fedora system without the net is going to be difficult (at best).

The yum localinstall should not involve the net. I do not know if the kernel-devel will be on the install disks or not (should be). The version number of the kernel and kernel-devel HAVE to be exact matches or it will not work.

Again where did you find any information that said sebek will not work on newer kernels?
 
Old 02-12-2008, 08:21 PM   #15
thiagarn
Member
 
Registered: Jan 2008
Posts: 47

Original Poster
Rep: Reputation: 15
I'm doing a Honeynet project. So i got the sebek tool from their website. And i read some of the emails in their workgroups which said that sebek will not work with newer kernels. Thats where i got to know.

Also another question about the kernel source. I do not have the rpm in the CD. Would it possible for u to point me to the link?
 
  


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
gcc c cross compiler to create linux executables on a windows system Wanda Tinasky Programming 1 02-25-2007 10:36 AM
new virtual web server - fedora core 2 - no acceptable C compiler dancingbear0420 Linux - Newbie 3 02-21-2006 02:40 PM
Fedora core 3's gcc and its system libraries kernelnayyer Fedora 0 02-13-2005 06:21 PM
C Compiler problems in Fedora 2 Core jabber4dummies Linux - Newbie 2 08-25-2004 02:56 PM
linux system based on a non-GCC compiler? dschobel Linux - General 1 06-21-2004 07:19 PM


All times are GMT -5. The time now is 09:23 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration