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 |
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.
|
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) |
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?
|
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.
|
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?
|
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.
|
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 |
Look in "man yum". You are looking for "localinstall"
|
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/ |
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 |
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. |
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. |
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? |
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? |
All times are GMT -5. The time now is 03:29 AM. |