09-22-2009 10:53 AM
I am a very new user to Linux and need to rebuild our Linux computer. Our old system was running an old version of CentOS (maybe 3? I'm not sure). I have now installed CentOS 5. When I check the kernel that is being used I get the following:
[csct@Moet2 ~]$ uname -a
Linux Moet2 2.6.18-164.el5xen #1 SMP Thu Sep 3 04:47:32 EDT 2009 i686 i686 i386 GNU/Linux
[csct@Moet2 ~]$ rpm -qa|grep kernel
kernel-headers-2.6.18-164.el5
kernel-xen-2.6.18-8.el5
kernel-2.6.18-8.el5
kernel-2.6.18-164.el5
kernel-xen-devel-2.6.18-164.el5
kernel-xen-2.6.18-164.el5
The driver for our PCI6220 DAQ being run on our old system was NI-DAQmx 8.0 for Linux(r)/x86 32-bit. I figured the new driver, NI-DAQmx 8.0.1 for Linux(r)/x86 32-bit, should work similarly to the old one. My problem is that I can't run ./INSTALL. I get an error saying, "kernel source doesn't appear to be configured for the running kernel. Configuration is required to continue installation." Based on the above kernel output they appear to be the same? FYI, I have the same problem with the old driver.
The ReadMe file states:
During installation on openSUSE, you may see the (stated above) following error message:
This essage can occur even if you have installed the correct kernel sources, if the
sources require configuration. This problem has been seen on openSUSE. However,
it is possible that other distributions will require similar steps to resolve
this problem.
On openSUSE complete the following steps:
1. Ensure you have installed kernel-source and kernel-syms packages
corresponding to the version of the currently running kernel. The version of
the currently running kernel can be determined by issuing the command
"uname -r".
2. Change the directory to the /usr/src/linux-<version> directory, where
<version> corresponds to the currently running kernel version.
3. Run "make cloneconfig" as root to configure the sources for the currently
running kernel.
4. Run "make modules_prepare" as root to prepare the headers for compilation.
5. Run the NI-DAQmx INSTALL script.
Step 3, make cloneconfig will not work for me. I get the following error:
[csct@Moet2 2.6.18-164.el5xen-i686]$ make cloneconfig
make[1]: *** No rule to make target `cloneconfig'. Stop.
make: *** [cloneconfig] Error 2
Why am I getting this? How do I fix this?
Thanks
09-24-2009 09:52 AM
Hi d-pabs,
One thing to note is the list of officially supported Linux distributions . I would recommend trying to update your version of NI-KAL, to see if that improves your DAQmx install. NI-KAL can be found here. I only found one instance of the error you were seeing in our records- and it looks like it appeared to simply be a mismatch of Linux to LabVIEW versions. I would also recommend posting to this Linux Community Forum. Have a good one!
10-27-2009 10:26 AM
Just an update on this issue:
We abandoned the CentOS 5 install due to additional s/w compatibility issues. Now using Suse 11.0