LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 11-11-2006, 11:29 PM   #1
EternalDecoy
Member
 
Registered: Aug 2005
Location: Virginia, U.S.A
Distribution: Ubuntu 7.10/Ubuntu Ultimate Gamers Edition 1.54/Fedora Core 8
Posts: 31

Rep: Reputation: 15
Unhappy Help? lol


Hey, I'm fairly new to Linux...so I have no idea what I'm doing lol....but, I was trying to install something, and it said something about needing to be recompiled in order to work with my kernal's version, so I told it to go ahead, and then it said it I needed a C compiler, so i used YUM and installed GCC (i think?), then tried recompiling it again, in which case it said it needed me to direct it to the folder which contained the "C headers"....after a few hours of googling and reading info, I Thought I had found the right version "C headers", and downloaded them, and installed them, and pointed the compiler to them....and it said the version of the C headers doesnt match my kernal's version.... ....im running the final version of Fedora Core 5....and I'm the biggest linux noob you've ever met , any help would be GREATLY appreciated

EternalDecoy

Last edited by EternalDecoy; 11-11-2006 at 11:31 PM.
 
Old 11-11-2006, 11:40 PM   #2
Penguin of Wonder
Senior Member
 
Registered: Sep 2005
Location: West Virginia
Distribution: Gentoo
Posts: 1,249

Rep: Reputation: 45
The kernel headers for you kernel should be avaible through YUM.
 
Old 11-11-2006, 11:46 PM   #3
EternalDecoy
Member
 
Registered: Aug 2005
Location: Virginia, U.S.A
Distribution: Ubuntu 7.10/Ubuntu Ultimate Gamers Edition 1.54/Fedora Core 8
Posts: 31

Original Poster
Rep: Reputation: 15
I already spent a couple hours checking, the versions in YUM don't match my kernal version....at least, from what I can tell...
 
Old 11-12-2006, 12:54 AM   #4
tmick
Member
 
Registered: Jun 2005
Location: Riverdale, Utah
Distribution: Debian Jessie
Posts: 146

Rep: Reputation: 15
try opening a command prompt (should be able to right click on the desktop and choose "Open Terminal") type "su -" and enter the password then type "uname -rm" then in yum run "yum -y install kernel-*"
and see if that helps any
 
Old 11-12-2006, 01:22 AM   #5
EternalDecoy
Member
 
Registered: Aug 2005
Location: Virginia, U.S.A
Distribution: Ubuntu 7.10/Ubuntu Ultimate Gamers Edition 1.54/Fedora Core 8
Posts: 31

Original Poster
Rep: Reputation: 15
Alright, I tried that, but it just gave me this,

[root@localhost ~]# yum -y install kernal-*
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
jpackage-generic [1/7]
jpackage-generic 100% |=========================| 951 B 00:00
livna [2/7]
livna 100% |=========================| 951 B 00:00
flash [3/7]
flash 100% |=========================| 951 B 00:00
jpackage-fedora [4/7]
jpackage-fedora 100% |=========================| 951 B 00:00
core [5/7]
core 100% |=========================| 1.1 kB 00:00
extras [6/7]
extras 100% |=========================| 1.1 kB 00:00
updates [7/7]
updates 100% |=========================| 1.2 kB 00:00
Reading repository metadata in from local files
Parsing package install arguments
No Match for argument: kernal-*
Nothing to do
[root@localhost ~]#
 
Old 11-12-2006, 05:33 AM   #6
tmick
Member
 
Registered: Jun 2005
Location: Riverdale, Utah
Distribution: Debian Jessie
Posts: 146

Rep: Reputation: 15
ok my bad, I forgot yum doesn't like the glob operator (the astrik *).
Try this, instead of yum -y install kernel-*
do
yum clean all (this cleans the cache from yum, sometimes there are corrupt files)
yum -y update yum(make sure the newest version is installed)
rpm -qa kernel-* (this queries the RPM database)
the results should look something like:
[root@localhost ~]# rpm -qa kernel-*
kernel-devel-2.6.18-1.2798.fc6
kernel-headers-2.6.18-1.2798.fc6

then if they don't show up in the rpm command run
yum -y install kernel-devel-YourKernel version
yum -y install kernel-headers-YourKernel version
and see if that fixes it.

Also if you would like a GUI for yum you have some choices, you can run yum -y install yumex (this installs the Yum Extender GUI) screen shots and such are at http://www.yum-extender.org/cms/modules/news/
or
yum -y install smart-0.42-39.fc6 smart-gui-0.42-39.fc6 smartmontools-5.36-3
This installs the Smart Package Manager tools also a GUI for updating, although it uses APT instead of YUM. Their home page is http://labix.org/smart screen shots and such are at http://zorked.net/smart/doc/README.html
I like either of these over the Software updater GUI.
By the way I noticed you have jpackage-generic or something like that for a repo.
You might want to look over this web site for a better way to install and run Sun's JVM http://www.fedorafaq.org/#java .

Last edited by tmick; 11-12-2006 at 05:50 AM.
 
Old 11-12-2006, 02:36 PM   #7
EternalDecoy
Member
 
Registered: Aug 2005
Location: Virginia, U.S.A
Distribution: Ubuntu 7.10/Ubuntu Ultimate Gamers Edition 1.54/Fedora Core 8
Posts: 31

Original Poster
Rep: Reputation: 15
Alright, I ran those commands, here's everything the terminal had,


[root@localhost ~]# yum clean all
Loading "installonlyn" plugin
Cleaning up Everything
0 headers removed
0 packages removed
23 metadata files removed
0 cache files removed
7 cache files removed
[root@localhost ~]# yum -y update yum
Loading "installonlyn" plugin
Setting up Update Process
Setting up repositories
jpackage-generic [1/7]
Cannot find a valid baseurl for repo: jpackage-generic
Error: Cannot find a valid baseurl for repo: jpackage-generic
[root@localhost ~]# rpm -qa kernel-*
kernel-devel-2.6.15-1.2054_FC5
[root@localhost ~]# yum -y install kernel-headers-2.6.15-1.2054_FC5
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
jpackage-generic [1/7]
jpackage-generic 100% |=========================| 951 B 00:00
livna [2/7]
livna 100% |=========================| 951 B 00:00
flash [3/7]
flash 100% |=========================| 951 B 00:00
jpackage-fedora [4/7]
jpackage-fedora 100% |=========================| 951 B 00:00
core [5/7]
core 100% |=========================| 1.1 kB 00:00
extras [6/7]
extras 100% |=========================| 1.1 kB 00:00
updates [7/7]
updates 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 366 kB 00:02
jpackage-g: ################################################## 1596/1596
Added 1596 new packages, deleted 0 old in 6.26 seconds
primary.xml.gz 100% |=========================| 139 kB 00:00
livna : ################################################## 375/375
Added 375 new packages, deleted 0 old in 3.97 seconds
primary.xml.gz 100% |=========================| 1.0 kB 00:00
flash : ################################################## 2/2
Added 2 new packages, deleted 0 old in 0.20 seconds
primary.xml.gz 100% |=========================| 5.7 kB 00:00
jpackage-f: ################################################## 25/25
Added 25 new packages, deleted 0 old in 0.37 seconds
primary.xml.gz 100% |=========================| 767 kB 00:02
core : ################################################## 2207/2207
Added 2207 new packages, deleted 0 old in 16.98 seconds
primary.xml.gz 100% |=========================| 1.7 MB 00:03
extras : ################################################## 5614/5614
Added 5614 new packages, deleted 0 old in 44.95 seconds
primary.xml.gz 100% |=========================| 413 kB 00:05
updates : ################################################## 1120/1120
Added 1120 new packages, deleted 0 old in 14.36 seconds
Parsing package install arguments
No Match for argument: kernel-headers-2.6.15-1.2054_FC5
Nothing to do
[root@localhost ~]#
 
Old 11-12-2006, 02:46 PM   #8
EternalDecoy
Member
 
Registered: Aug 2005
Location: Virginia, U.S.A
Distribution: Ubuntu 7.10/Ubuntu Ultimate Gamers Edition 1.54/Fedora Core 8
Posts: 31

Original Poster
Rep: Reputation: 15
I think I found what I'm looking for on my FC5 disk...I'm just not sure which to install...it has multiple "kernel-" rpm's, with my version, but I have no idea which I need to install...
 
Old 11-12-2006, 02:57 PM   #9
tmick
Member
 
Registered: Jun 2005
Location: Riverdale, Utah
Distribution: Debian Jessie
Posts: 146

Rep: Reputation: 15
Quote:
Originally Posted by EternalDecoy
I think I found what I'm looking for on my FC5 disk...I'm just not sure which to install...it has multiple "kernel-" rpm's, with my version, but I have no idea which I need to install...
I think you are missing part of what you need also I noticed when you execute the yum command it lists "Loading "installonlyn" plugin" when I execute my yum I also have "Loading "fedorakmod" plugin"
let's try this
yum install plugin
and see where that takes you
BTW what were you trying to install that started this whole thing?
 
Old 11-12-2006, 03:17 PM   #10
tmick
Member
 
Registered: Jun 2005
Location: Riverdale, Utah
Distribution: Debian Jessie
Posts: 146

Rep: Reputation: 15
Quote:
Originally Posted by tmick
I think you are missing part of what you need also I noticed when you execute the yum command it lists "Loading "installonlyn" plugin" when I execute my yum I also have "Loading "fedorakmod" plugin"
let's try this
yum install plugin
and see where that takes you
BTW what were you trying to install that started this whole thing?
Better yet run this and you should get the version and package name
[root@localhost ~]# yum provides "fedorakmod"
Loading "fedorakmod" plugin
Loading "installonlyn" plugin
Setting up repositories
Reading repository metadata in from local files
Importing additional filelist information
filelists.xml.gz 100% |=========================| 70 kB 00:01
################################################## 262/262
filelists.xml.gz 100% |=========================| 539 kB 00:08
################################################## 129/129
filelists.xml.gz 100% |=========================| 1.2 MB 00:13
################################################## 1703/1703
filelists.xml.gz 100% |=========================| 1.1 MB 00:07
################################################## 428/428
filelists.xml.gz 100% |=========================| 3.3 MB 00:56
################################################## 4319/4319
/usr/lib/python2.4/site-packages/yum/__init__.py:1237: DeprecationWarning: prcoPrintable() will go away in a future version of Yum.

prov = po.prcoPrintable((p_name, p_flag, (p_e, p_v, p_r)))



yum-fedorakmod.noarch 1.0-2.fc6 extras
Matched from:
/etc/yum/pluginconf.d/fedorakmod.conf
/usr/lib/yum-plugins/fedorakmod.pyo
/usr/lib/yum-plugins/fedorakmod.pyc
/usr/lib/yum-plugins/fedorakmod.py
yum-fedorakmod = 1.0-2.fc6
config(yum-fedorakmod) = 1.0-2.fc6



yum-fedorakmod.noarch 1.0.1-1.fc6 extras
Matched from:
/etc/yum/pluginconf.d/fedorakmod.conf
/usr/lib/yum-plugins/fedorakmod.pyo
/usr/lib/yum-plugins/fedorakmod.pyc
/usr/lib/yum-plugins/fedorakmod.py
config(yum-fedorakmod) = 1.0.1-1.fc6
yum-fedorakmod = 1.0.1-1.fc6



yum-fedorakmod.noarch 1.0.1-1.fc6 installed
Matched from:
/etc/yum/pluginconf.d/fedorakmod.conf
/usr/lib/yum-plugins/fedorakmod.py
/usr/lib/yum-plugins/fedorakmod.pyc
/usr/lib/yum-plugins/fedorakmod.pyo
config(yum-fedorakmod)
yum-fedorakmod
then run
yum -y install yum-fedorakmod.noarch
that shold get the modules package which has the headers and such.
If all else fails run
yum -y install yumex
then run a search in the search bar for yum that will bring up all of the goodies available for your yum version.
 
Old 11-12-2006, 03:17 PM   #11
EternalDecoy
Member
 
Registered: Aug 2005
Location: Virginia, U.S.A
Distribution: Ubuntu 7.10/Ubuntu Ultimate Gamers Edition 1.54/Fedora Core 8
Posts: 31

Original Poster
Rep: Reputation: 15
ran the command, and just gave me this again,


[root@localhost ~]# yum install plugin
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
jpackage-generic [1/7]
livna [2/7]
flash [3/7]
jpackage-fedora [4/7]
core [5/7]
extras [6/7]
updates [7/7]
Reading repository metadata in from local files
Parsing package install arguments
No Match for argument: plugin
Nothing to do
[root@localhost ~]#



and, lol, I run Linux via a virtual computer, and I installed the tools so that I can move the mouse right into the Linux "computer", without having to click in the window, to make the mouse active within it, but after I installed the software to do that, I ran the config stuff for it, and it said it needed to recompile, as to work with my kernel, but then i didnt have a compiler installed, so i installed GCC, but then GCC needed the "C header" files in order to compile....and thus began my search for help :-P lol.
 
Old 11-12-2006, 03:27 PM   #12
EternalDecoy
Member
 
Registered: Aug 2005
Location: Virginia, U.S.A
Distribution: Ubuntu 7.10/Ubuntu Ultimate Gamers Edition 1.54/Fedora Core 8
Posts: 31

Original Poster
Rep: Reputation: 15
ahhhhhhhh....that was too much info all at once lol, I don't know what in that is commands, and what's spit-out text from a terminal.....and, I already have Yumex installed, though, what's the -y command do? Also, I can see the "kernel-devel-" packages on yumex, but their version doesnt match my kernel, whereas the ones on my disk do, I just don't know which to install to get what I need....
 
Old 11-12-2006, 03:32 PM   #13
tmick
Member
 
Registered: Jun 2005
Location: Riverdale, Utah
Distribution: Debian Jessie
Posts: 146

Rep: Reputation: 15
Quote:
I run Linux via a virtual computer, and I installed the tools so that I can move the mouse right into the Linux "computer", without having to click in the window, to make the mouse active within it, but after I installed the software to do that, I ran the config stuff for it, and it said it needed to recompile, as to work with my kernel, but then i didnt have a compiler installed, so i installed GCC, but then GCC needed the "C header" files in order to compile....and thus began my search for help :-P lol.
Ah VMware server what a joy
I found it easier to install fedora as my main OS and install VMWare on that and make Windows the Virtual machine myself
but, I think your problem lies in two areas,
1 VMware was only comapitble with GCC version 3. something and Fedora uses GCC 4. something, in your CD find legacy software and install those packages.

2 it is possible that the wrong development package for your processor is installed, running "uname -m" will tell you what is in stalled.
please post a screen shot of what packages are available via yumex
 
Old 11-12-2006, 03:45 PM   #14
EternalDecoy
Member
 
Registered: Aug 2005
Location: Virginia, U.S.A
Distribution: Ubuntu 7.10/Ubuntu Ultimate Gamers Edition 1.54/Fedora Core 8
Posts: 31

Original Poster
Rep: Reputation: 15
well, actually it's VMWare Workstation, and it sees GCC, but, when I installed FC5, I left off most of the development stuff, cause I was going for a very small install, and I didn't know I'd need any of it , I believe I have the stuff I need right here on my disk, I'm looking at the "kernel-devel-" RPM's that match my kernel's version...I just don't know the difference between i586 and i686 ...or well, lol..

[root@localhost ~]# uname -m
i686
[root@localhost ~]#


okay, now I know which I need lol, and, what packages do you want me to take a screenshot of? I think there's multiple tabs of stuff...

forgot...where would I find the legacy software? and what might it be named as?

Last edited by EternalDecoy; 11-12-2006 at 03:46 PM.
 
Old 11-12-2006, 04:00 PM   #15
tmick
Member
 
Registered: Jun 2005
Location: Riverdale, Utah
Distribution: Debian Jessie
Posts: 146

Rep: Reputation: 15
Quote:
Originally Posted by EternalDecoy
ahhhhhhhh....that was too much info all at once lol, I don't know what in that is commands, and what's spit-out text from a terminal.....and, I already have Yumex installed, though, what's the -y command do? Also, I can see the "kernel-devel-" packages on yumex, but their version doesnt match my kernel, whereas the ones on my disk do, I just don't know which to install to get what I need....
Sorry,
the -y option answers yes to questions; would you like to install certificate, etcetrea.
if the numbers are higher then your current Kernel they are newer versions.
You should need the basic kernel,
kernel-devel
kernel-doc
kernel-debuginfo
kernel-kdump
and yum-kernel-module
That should take care of basic needs. I remember you posting your kernel version ending in 2047? move to a higher number, my uname results are 2.6.18-1.2798.fc6 so if memory serves me correctly your newest version should be 2.6.18-1.22something go to that kernel.
the i686 means the cpu classifacation. I have a AMD Thunderbird 1700MHz and uname -m gives the output of i686.
Ask.com could give better information about it just ask what is i686 mean.
Let me know if I confused you more or if that helped.
btw if you run yum -h it does give command options with some expalination.
 
  


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
lol Mycado Linux - Networking 2 06-17-2006 10:52 AM
LOL I got it BUT Global_Throttle Mandriva 1 08-04-2005 04:51 AM
help lol SABERJ2X Linux - Newbie 3 04-05-2004 07:54 AM
lol Gill Bates General 3 12-18-2003 09:39 AM
TA (lol) nemesis7 Linux - General 0 11-03-2001 07:25 AM


All times are GMT -5. The time now is 12:18 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration