01-03-2008 05:04 AM
01-03-2008 10:04 AM
08-31-2008 08:18 PM - edited 08-31-2008 08:18 PM
Shawn,
Any hints on how to do this?
Tx
Peter
09-02-2008 09:02 AM
Any hints on how to do this?
I'm assuming by "this" you mean install the correct kernel source? First from a terminal I would run:
rpm -qa | grep kernel
If you have a package called "kernel-source" installed you have the wrong package for Mandriva 2008. Uninstall it with "urpme <package>" or use the graphical package manager.
Next from a terminal run "uname -r" to see exactly what kernel you have installed. Then I would recommend using Mandriva's graphical package manager to search for "kernel", and install the kernel-<something>-devel package that matches your current kernel. For example if uname -r returns something like "2.6.22-desktop586", then you want to install the package named something like "kernel-desktop586-devel-2.6.22". Note these names might not be exact and may be different for you kernel, but if you use the graphical package manager and simply search for "kernel" it shouldn't be too hard to find the right package.
Shawn Bohrer
National Instruments
09-02-2008 10:42 AM - edited 09-02-2008 10:43 AM
Hi Shawn,
Error I get, when running INSTALL in nivisa, is
************************************ ERROR *************************************
* Kernel source does not appear to be installed for the 2.6.24.4-desktop586-1mnb kernel.
* Installation of the kernel-source package for kernel 2.6.24.4-desktop586-1mnb is
* required to continue this installation.
************************************ ERROR *************************************
Which seems to suggest I do need the source?
Tx,
Peter
09-02-2008 11:13 AM
Yes you need to install the headers that match your current kernel. The trick is installing the correct rpm package that provides those headers. From the output it looks like your kernel version is:
2.6.24.4-desktop586-1mnb
Now go into the graphical package manager (where you add and remove software) and search for "kernel". If I recall correctly there should be a package named something like:
kernel-desktop586-1mnb-devel-2.6.24.4
Or something similar. That is what you need to install to make this error go away.
Shawn Bohrer
National Instruments