11-05-2008 01:21 PM
Hello
I'm trying to use the NI USB 6008 in ubuntu linux (kernel 2.6.27-7). I converted the .rpm packages to .deb using the alien comand and I haven't had any problem. Then I installed the .deb packages by dpkg without no problems too.
I think that the installation part is completed correctly. I have read that someone has reached to make work the niusb6008 at ubuntu using this method. Could this someone if is reading this message,can you say to me how to finish the installation ok.
If someone could help me I'm trying in this moment to run the comand updateNIDriver and I have a lot of errors. Some errors are not correct, for example I have the gcc installed and the script says that I haven't it.
Thanks
Sorry for my english
This is the exit to run "sudo updateNIDriver"
/usr/local/natinst/nikal/bin/installerUtility.sh: 53: let: not found
/usr/local/natinst/nikal/bin/installerUtility.sh: 57: let: not found
/usr/local/natinst/nikal/bin/installerUtility.sh: 61: let: not found
/usr/local/natinst/nikal/bin/installerUtility.sh: 65: let: not found
/usr/local/natinst/nikal/bin/installerUtility.sh: 69: let: not found
/usr/local/natinst/nikal/bin/installerUtility.sh: 73: let: not found
/usr/local/natinst/nikal/bin/installerUtility.sh: 77: let: not found
/usr/local/natinst/nikal/bin/installerUtility.sh: 81: let: not found
/usr/local/natinst/nikal/bin/installerUtility.sh: 85: let: not found
/usr/local/natinst/nikal/bin/installerUtility.sh: 89: let: not found
/usr/local/natinst/nikal/bin/installerUtility.sh: 93: let: not found
/usr/local/natinst/nikal/bin/installerUtility.sh: 97: let: not found
/usr/local/natinst/nikal/bin/installerUtility.sh: 101: let: not found
/usr/local/natinst/nikal/bin/installerUtility.sh: 105: let: not found
/usr/local/natinst/nikal/bin/installerUtility.sh: 109: let: not found
/usr/local/natinst/nikal/bin/installerUtility.sh: 113: let: not found
/usr/local/natinst/nikal/bin/installerUtility.sh: 117: let: not found
/usr/local/natinst/nikal/bin/installerUtility.sh: 121: let: not found
/usr/local/natinst/nikal/bin/installerUtility.sh: 125: let: not found
/usr/local/natinst/nikal/bin/installerUtility.sh: 129: let: not found
/usr/local/bin/updateNIDrivers: 87: [[: not found
../bin/installerUtility.sh: 53: let: not found
../bin/installerUtility.sh: 57: let: not found
../bin/installerUtility.sh: 61: let: not found
../bin/installerUtility.sh: 65: let: not found
../bin/installerUtility.sh: 69: let: not found
../bin/installerUtility.sh: 73: let: not found
../bin/installerUtility.sh: 77: let: not found
../bin/installerUtility.sh: 81: let: not found
../bin/installerUtility.sh: 85: let: not found
../bin/installerUtility.sh: 89: let: not found
../bin/installerUtility.sh: 93: let: not found
../bin/installerUtility.sh: 97: let: not found
../bin/installerUtility.sh: 101: let: not found
../bin/installerUtility.sh: 105: let: not found
../bin/installerUtility.sh: 109: let: not found
../bin/installerUtility.sh: 113: let: not found
../bin/installerUtility.sh: 117: let: not found
../bin/installerUtility.sh: 121: let: not found
../bin/installerUtility.sh: 125: let: not found
../bin/installerUtility.sh: 129: let: not found
***************************** ERROR ******************************
* ERROR: gcc does not appear to be installed! *
* Installation of gcc is required to continue this installation. *
***************************** ERROR ******************************
/usr/bin/gcc
.: 13: Makefile.in: not found
Makefile:11: Makefile.in: No existe el fichero ó directorio
make: *** No hay ninguna regla para construir el objetivo `Makefile.in'. Alto.
Updating NI-KAL:
[: 112: ==: unexpected operator
NI-KAL update failed.
ERROR: make of nikal kernel module failed, not installing kernel module.
updateNIDrivers should be called again after fixing the problem.
Logging failure...
Makefile:11: Makefile.in: No existe el fichero ó directorio
Include the file /tmp/niSystemReport.out.gz when contacting
National Instruments for support.
/usr/local/bin/niSystemReport version 1.8.0f0
/bin/uname
make: *** No hay ninguna regla para construir el objetivo `Makefile.in'. Alto.
********************************************************************************
/bin/uname -a:
Linux kastor-portatil 2.6.27-7-generic #1 SMP Tue Nov 4 19:33:20 UTC 2008 i686 GNU/Linux
********************************************************************************
********************************************************************************
/etc/lsb-release:
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.10
DISTRIB_CODENAME=intrepid
DISTRIB_DESCRIPTION="Ubuntu 8.10"
********************************************************************************
../bin/installerUtility.sh: 53: let: not found
../bin/installerUtility.sh: 57: let: not found
../bin/installerUtility.sh: 61: let: not found
../bin/installerUtility.sh: 65: let: not found
../bin/installerUtility.sh: 69: let: not found
../bin/installerUtility.sh: 73: let: not found
../bin/installerUtility.sh: 77: let: not found
../bin/installerUtility.sh: 81: let: not found
../bin/installerUtility.sh: 85: let: not found
../bin/installerUtility.sh: 89: let: not found
../bin/installerUtility.sh: 93: let: not found
../bin/installerUtility.sh: 97: let: not found
../bin/installerUtility.sh: 101: let: not found
../bin/installerUtility.sh: 105: let: not found
../bin/installerUtility.sh: 109: let: not found
../bin/installerUtility.sh: 113: let: not found
../bin/installerUtility.sh: 117: let: not found
../bin/installerUtility.sh: 121: let: not found
../bin/installerUtility.sh: 125: let: not found
../bin/installerUtility.sh: 129: let: not found
***************************** ERROR ******************************
* ERROR: gcc does not appear to be installed! *
* Installation of gcc is required to continue this installation. *
***************************** ERROR ******************************
/usr/bin/gcc
********************************************************************************
/usr/local/natinst/nikal/src make:
Makefile:11: Makefile.in: No existe el fichero ó directorio
Makefile:11: Makefile.in: No existe el fichero ó directorio
kastor@kastor-portatil:~$ make: *** No hay ninguna regla para construir el objetivo `Makefile.in'. Alto.
make: *** No hay ninguna regla para construir el objetivo `Makefile.in'. Alto.
********************************************************************************
/usr/local/natinst/nikal/src
/usr/bin/tail
********************************************************************************
/usr/bin/tail /var/log/messages:
Nov 5 19:14:53 kastor-portatil -- MARK --
Nov 5 19:29:24 kastor-portatil kernel: [ 2097.172143] usb 2-1: new full speed USB device using uhci_hcd and address 2
Nov 5 19:29:24 kastor-portatil kernel: [ 2097.416802] usb 2-1: configuration #1 chosen from 1 choice
Nov 5 19:32:24 kastor-portatil NIvisaic: [libnipalu.so.2.3] Warning: source/lib/linux/linLoadKern.cpp:168 - libKernelDriverLoad: Failed to open nipalk, errno: 2
Nov 5 19:32:24 kastor-portatil NIvisaic: [libnipalu.so.2.3] Warning: source/initcln/initcln.cpp:147 - Posix: Init kInitClnPackage: kernelDriver: failed! status=-50204
Nov 5 19:32:24 kastor-portatil NIvisaic: [libnipalu.so.2.3] Warning: source/package/posix/ulibEntry.cpp:199 - initialize: unable to load NI-PAL. status=-50204
Nov 5 19:33:58 kastor-portatil daqmxbase_listdevices: [libnipalu.so.2.3] Warning: source/lib/linux/linLoadKern.cpp:168 - libKernelDriverLoad: Failed to open nipalk, errno: 2
Nov 5 19:33:58 kastor-portatil daqmxbase_listdevices: [libnipalu.so.2.3] Warning: source/initcln/initcln.cpp:147 - Posix: Init kInitClnPackage: kernelDriver: failed! status=-50204
Nov 5 19:33:58 kastor-portatil daqmxbase_listdevices: [libnipalu.so.2.3] Warning: source/package/posix/ulibEntry.cpp:199 - initialize: unable to load NI-PAL. status=-50204
Nov 5 19:54:53 kastor-portatil -- MARK --
********************************************************************************
/usr/local/natinst/nikal/src/Makefile.in: File not found!!!
.: 95: Can't open /usr/local/natinst/nikal/src/Makefile.in
11-12-2008 07:46 AM
Hi Kastor,
Thanks for the post and I hope your well today.
I dont know if you still need help but I'll give it ago.
NI don't offically support ubuntu at all, but it can be done - you are correct. I am aware of it working LabVIEW 8.5 onto (K)Ubuntu 8.04 for example.
You seem to have done the tricker aspect which is converting to debian.
Two things could have caused your errors, the most likely,
1) Your error messagse suggest you haven't installed gcc - how have you checked? have you tried re-installing it? what version?
2) That the conversion of rpm to deb has corrupted the script, did you get any errors?
Kind Regards,
James.
11-12-2008 10:13 AM
kastor wrote:
/usr/local/natinst/nikal/bin/installerUtility.sh: 53: let: not found
...
This is Ubuntu pulling the carpet out from under script writers. Recent Ubuntu releases have replaced the sh::bash link with sh::dash [1]. Either change the link so it points back to bash or reconfigure dash [2]. That should help with the first hurdle, at least 😉
[1] sh is really dash
http://ubuntuforums.org/showpost.php?p=2474419&postcount=10
[2] reconfigure dash
http://ubuntuforums.org/showpost.php?p=1819207&postcount=2
Joe Friedchicken
NI Configuration Based Software Get with your fellow OS users
[ Linux ] [ macOS ]Principal Software Engineer :: Configuration Based Software
Senior Software Engineer :: Multifunction Instruments Applications Group (until May 2018)
Software Engineer :: Measurements RLP Group (until Mar 2014)
Applications Engineer :: High Speed Product Group (until Sep 2008)