Hello !
I am trying to install the nidaqmxbase-3.1.0 driver on my Ubuntu 7.10 Gutsy Gibbons. (I know this ditri is not supported, however I don't have any choice).
My kernel version is .2.6.22-14-generic.
I have cautiously followed the explanation given by studentTUD, however I still obtain this message when trying to run the INSTALL script : (see end of mesdsage for the full output when running INSTALL)
******************************** ERROR ****************************************
* Kernel source in /lib/modules/2.6.22-14-generic/build does not appear to be
* for the 2.6.22-14-generic kernel.
* Ensure that kernel source for the 2.6.22-14-generic kernel is installed
* and configured. Refer to the README file for the product you are *
* installing for information about configuring your kernel source. *
******************************** ERROR ****************************************
The source recompiled correctly when configuring the kernel. I was wondering if after doing theses steps :
" cd /usr/src/linux
sudo cp /boot/config-<Kernel-Vers.> /usr/src/linux/.config
sudo make oldconfig
sudo make modules_prepare "
I have to change directory to /usr/src/linux-headers-<Versionsnummer> before doing this step:
sudo
cp /boot/config-<Kernelversion> /usr/src/linux-headers-<Versionsnummer>/.config
sudo make oldconfig
sudo make modules_prepareBecause if I don't switch the directoy, both commands are alright, but I obtain the error message when running INSTALL nivisa and if I switch the directory, make module_prepare does not work and launch an error message ....
Of course, afterwards, as the installation aborted lsdaq only shows the following error message because no runtime has been installed :
--------------------------------
Detecting National Instruments DAQ Devices
Found the following DAQ Devices:
/etc/natinst/nidaqmxbase/bin/daqmxbase_listdevices: error while loading shared libraries: liblvrtdark.so.8.2: cannot open shared object file: No such file or directory
--------------------------------
Any help would be appreciated !
Thanks !
Simon Ruffieux
Here is the full message I obtain when running INSTALL:
nomis@nomubu:~/Desktop/copynidaq$ sudo nivisa/INSTALL --no-prompt --accept-license --force
[sudo] password for nomis:
**********************************
* NI-VISA 4.0.0 for Linux/x86
**********************************
rpm 4.4.1 will be used with a default installation path
National Instruments products support the following Linux distributions:
Mandriva Linux
SUSE Linux
Red Hat Enterprise Linux WS
Refer to readme.txt for the latest information at the time of release.
Refer to www.ni.com/linux for the most recent information about Linux
support at National Instruments.
This software is covered by the included license file (LICENSE.txt).
By installing this software you are acknowledging acceptance of the
terms of the license.
Searching for installed components ...
NI-VISA Development 4.3.0 requires CVI Runtime 8.0.
NI-VISA Configuration 4.3.0 requires CVI Runtime 8.0.
This component has been selected automatically.
NI-VISA Runtime 4.3.0 requires NI-ORB 1.8.0.
PXI Services 1.6.0 requires NI-ORB 1.8.0.
This component has been selected automatically.
PXI Services 1.6.0 requires NI-DIM 1.8.0.
This component has been selected automatically.
NI-ORB 1.8.0 requires NI-RPC 3.4.1.
This component has been selected automatically.
NI-VISA Runtime 4.3.0 requires NI-PAL 2.2.0.
PXI Services 1.6.0 requires NI-PAL 2.2.0.
NI-DIM 1.8.0 requires NI-PAL 2.2.0.
NI-ORB 1.8.0 requires NI-PAL 2.2.0.
This component has been selected automatically.
NI-PAL 2.2.0 requires NI-KAL 1.6.0.
This component has been selected automatically.
NI-VISA Development 4.3.0 requires LabVIEW Runtime .
NI Spy 2.5.2 requires LabVIEW Runtime .
This component has been selected automatically.
expr: erreur de syntaxe
The following components will be installed using rpm:
NI-VISA Runtime 4.3.0 3193 KB (in /usr/local/vxipnp)
NI-VISA Development 4.3.0 9303 KB (in /usr/local/vxipnp)
NI-VISA Configuration 4.3.0 497 KB (in /usr/local/vxipnp)
NI-VISA Server 4.3.0 236 KB (in /usr/local/vxipnp)
PXI Services 1.6.0 791 KB (in /usr/local/natinst/nipxi)
NI Spy 2.5.2 2286 KB (in /usr/local/natinst/nispy)
CVI Runtime 8.0 8555 KB (in /usr/local/natinst/cvirte)
LabVIEW Runtime 1 KB (in /usr/local/lib/LabVIEW-8.0)
NI-ORB 1.8.0 479 KB (in /usr/local/natinst/.nicore)
NI-DIM 1.8.0 600 KB (in /usr/local/natinst/.nicore)
NI-RPC 3.4.1 123 KB (in /usr/local/natinst/.nicore)
NI-PAL 2.2.0 825 KB (in /usr/local/natinst/nipal)
NI-KAL 1.6.0 237 KB (in /usr/local/natinst/nikal)
Total space required: 27126 KB
Space available: 7647400 KB
sort: Warning: "+number" syntax is deprecated, please use "-k number"
sort: Warning: "+number" syntax is deprecated, please use "-k number"
sort: Warning: "+number" syntax is deprecated, please use "-k number"
sort: Warning: "+number" syntax is deprecated, please use "-k number"
sort: Warning: "+number" syntax is deprecated, please use "-k number"
sort: Warning: "+number" syntax is deprecated, please use "-k number"
sort: Warning: "+number" syntax is deprecated, please use "-k number"
sort: Warning: "+number" syntax is deprecated, please use "-k number"
sort: Warning: "+number" syntax is deprecated, please use "-k number"
sort: Warning: "+number" syntax is deprecated, please use "-k number"
******************************** ERROR ****************************************
* Kernel source in /lib/modules/2.6.22-14-generic/build does not appear to be
* for the 2.6.22-14-generic kernel.
* Ensure that kernel source for the 2.6.22-14-generic kernel is installed
* and configured. Refer to the README file for the product you are *
* installing for information about configuring your kernel source. *
******************************** ERROR ****************************************
Installation aborted.
Message Edité par nomisch le
04-08-2008 02:19 PM