Linux Users

cancel
Showing results for 
Search instead for 
Did you mean: 

Installation issue of NI-DAQmx on Fedora Core 10

The question is regarding the installation of NI-DAQmx.  I downloaded the .iso file from the website and tried to follow the instruction and encountered the following error.

“Unpacking install files to /tmp/nidaqmx-8.0.1f0.install...

./INSTALL: line 1072: /tmp/nidaqmx-8.0.1f0.install/bin/installerUtility.sh: No such file or directory

./INSTALL: line 1073: nikalInstallationCheck: command not found

Installer is aborted.”



Does anyone know what the problem would be?

We use Fedora Core 10, by the way.

Thank you,

Brian Park

0 Kudos
Message 1 of 9
(12,596 Views)

Can you provide some more details on how you did the install?  Did you burn the iso image to a CD, or did you mount it?  Did you run the INSTALL script as root or sudo?  Is there anything special about /tmp on your system?

Shawn Bohrer

National Instruments

Use NI products on Linux? Come join the NI Linux Users Community
0 Kudos
Message 2 of 9
(7,233 Views)

I mounted .iso image using "mount -t iso9660 -o loop nidaqmx801.iso /mnt/daqmx/" command and ran INSTALL script as root (not through sudo) from that directory. And there's nothing special about /tmp directory on my system.

Any thoughts?

Thanks,

Brian

0 Kudos
Message 3 of 9
(7,233 Views)

Hi Brian.

It seems that the installation script expects to successfully unpack nidaqmx-8.0.1f0.tar.gz to /tmp/nidaqmx-8.0.1f0.install/.  The error you saw is because one of the files that should have been unpacked, installerUtility.sh, wasn't where the installer script expected it to be.  Please check that you have read permissions on the archive (nidaqmx-8.0.1f0.tar.gz from the mounted ISO) and that your umask doesn't prevent you from reading files you create.  If you need help understanding what you see, you can post the results of these commands:

# umask

# ls -l /mnt/daqmx

# ls -l /mnt/nidaqmx*

If you want to test what the INSTALL script does, you can try this manually:

# tar -zxvf /mnt/nidaqmx/nidaqmx-8.0.1f0.tar.gz -C /tmp/nidaqmx-8.0.1f0.install

# . /tmp/nidaqmx-8.0.1f0.install/bin/installerUtility.sh

Cheers,

Troy

0 Kudos
Message 4 of 9
(7,233 Views)

Hi Troy,

I tried running the script manually as you described:

# tar -zxvf /mnt/nidaqmx/nidaqmx-8.0.1f0.tar.gz -C /tmp/nidaqmx-8.0.1f0.install

# . /tmp/nidaqmx-8.0.1f0.install/bin/installerUtility.sh

And the script installerUtility.sh ends instantly and nothing is printed out.

Also, here's the output from the following commands:

# umask

# ls -l /mnt/daqmx

# ls -l /mnt/nidaqmx*

[root@ghpark-linux32 tmp]# umask
0022
[root@ghpark-linux32 tmp]# ls -l /mnt/daqmx/
total 90626
-r--r--r-- 1 root root    52388 2008-12-02 09:13 ConfigurationGuide.html
-r-xr-xr-x 1 root root    99652 2008-12-02 09:13 INSTALL
-r--r--r-- 1 root root    19588 2008-12-02 09:13 LICENSE.txt
-r--r--r-- 1 root root 92551244 2008-12-02 09:13 nidaqmx-8.0.1f0.tar.gz
-r--r--r-- 1 root root    14334 2008-12-02 09:13 PATENTS.txt
-r--r--r-- 1 root root    33375 2008-12-02 09:13 README.txt
-r-xr-xr-x 1 root root    28073 2008-12-02 09:13 UNINSTALL
[root@ghpark-linux32 tmp]# ls -l /mnt/daqmx*
total 90626
-r--r--r-- 1 root root    52388 2008-12-02 09:13 ConfigurationGuide.html
-r-xr-xr-x 1 root root    99652 2008-12-02 09:13 INSTALL
-r--r--r-- 1 root root    19588 2008-12-02 09:13 LICENSE.txt
-r--r--r-- 1 root root 92551244 2008-12-02 09:13 nidaqmx-8.0.1f0.tar.gz
-r--r--r-- 1 root root    14334 2008-12-02 09:13 PATENTS.txt
-r--r--r-- 1 root root    33375 2008-12-02 09:13 README.txt
-r-xr-xr-x 1 root root    28073 2008-12-02 09:13 UNINSTALL
[root@ghpark-linux32 tmp]#

So I guess I'm still stuck on this issue.

Thanks,

Brian

0 Kudos
Message 5 of 9
(7,233 Views)

Oops.  What we really needed to see was the listing of

# ls -l /tmp/nidaqmx-8.0.1f0.install

The fact that you ran

# tar -zxvf /mnt/nidaqmx/nidaqmx-8.0.1f0.tar.gz -C /tmp/nidaqmx-8.0.1f0.install

# . /tmp/nidaqmx-8.0.1f0.install/bin/installerUtility.sh

and didn't get an error tells us that installerUtility.sh is located where we expect it to be.  This is odd, since your error indicates that installerUtility.sh didn't get extracted.  Have you tried running the installer again?  When you do, do you get the same error message consistently?

0 Kudos
Message 6 of 9
(7,233 Views)

Troy,

After running, 'tar -zxvf /mnt/nidaqmx/nidaqmx-8.0.1f0.tar.gz -C /tmp/nidaqmx-8.0.1f0.install' command, this is my output for ls:

[root@ghpark-linux32 bin]# ls -l /tmp/nidaqmx-8.0.1f0.install
total 8
drwxr-xr-x 2 63005 63005 4096 2008-12-01 09:28 bin
drwxr-xr-x 2 63005 63005 4096 2008-12-01 09:28 rpms
[root@ghpark-linux32 bin]# ls -l /tmp/nidaqmx-8.0.1f0.install/*
/tmp/nidaqmx-8.0.1f0.install/bin:
total 3220
-r-xr-xr-x 1 63005 63005  292160 2008-12-01 09:28 cpio
-rwxr-xr-x 1 63005 63005   15392 2008-12-01 09:28 installerUtility.sh
-r--r--r-- 1 63005 63005   18408 2008-12-01 09:28 README.gpl
-r-xr-xr-x 1 63005 63005 1432852 2008-12-01 09:28 rpm
-r-xr-xr-x 1 63005 63005  706784 2008-12-01 09:28 rpm2cpio
-r-xr-xr-x 1 63005 63005  803368 2008-12-01 09:28 rpmq

/tmp/nidaqmx-8.0.1f0.install/rpms:
total 91524
-r--r--r-- 1 63005 63005 11199403 2008-12-01 09:28 labview80-rte-8.0-1.i386.rpm
-r--r--r-- 1 63005 63005  5703417 2008-12-01 09:28 lvsupport80-daqmxexmp-1.4.3-f0.i386.rpm
-r--r--r-- 1 63005 63005  4369645 2008-12-01 09:28 lvsupport80-daqmxsupp-1.4.3-f0.i386.rpm
-r--r--r-- 1 63005 63005  1612827 2008-12-01 09:28 lvsupport80-daqmxviref-1.0.1-f0.i386.rpm
-r--r--r-- 1 63005 63005  5770114 2008-12-01 09:28 lvsupport82-daqmxexmp-1.4.3-f0.i386.rpm
-r--r--r-- 1 63005 63005  4493017 2008-12-01 09:28 lvsupport82-daqmxsupp-1.4.3-f0.i386.rpm
-r--r--r-- 1 63005 63005  1610881 2008-12-01 09:28 lvsupport82-daqmxviref-1.0.1-f0.i386.rpm
-r--r--r-- 1 63005 63005  5783544 2008-12-01 09:28 lvsupport85-daqmxexmp-1.4.3-f0.i386.rpm
-r--r--r-- 1 63005 63005  4440195 2008-12-01 09:28 lvsupport85-daqmxsupp-1.4.3-f0.i386.rpm
-r--r--r-- 1 63005 63005  1610846 2008-12-01 09:28 lvsupport85-daqmxviref-1.0.1-f0.i386.rpm
-r--r--r-- 1 63005 63005  5783521 2008-12-01 09:28 lvsupport86-daqmxexmp-1.4.3-f0.i386.rpm
-r--r--r-- 1 63005 63005  3230356 2008-12-01 09:28 lvsupport86-daqmxsupp-1.4.3-f0.i386.rpm
-r--r--r-- 1 63005 63005  1610987 2008-12-01 09:28 lvsupport86-daqmxviref-1.0.1-f0.i386.rpm
-r--r--r-- 1 63005 63005   685540 2008-12-01 09:28 ni653x-1.1.1-f0.i386.rpm
-r--r--r-- 1 63005 63005   281261 2008-12-01 09:28 nicdigi-1.5.1-f0.i386.rpm
-r--r--r-- 1 63005 63005    72578 2008-12-01 09:28 nidaqmxcapiexmp-1.6.1-f0.i386.rpm
-r--r--r-- 1 63005 63005   416396 2008-12-01 09:28 nidaqmxcapihelp-1.6.1-f0.i386.rpm
-r--r--r-- 1 63005 63005    69438 2008-12-01 09:28 nidaqmxcapii-1.6.1-f0.i386.rpm
-r--r--r-- 1 63005 63005  4029053 2008-12-01 09:28 nidaqmxcfgi-1.4.0-f0.i386.rpm
-r--r--r-- 1 63005 63005  5203373 2008-12-01 09:28 nidaqmxef-1.4.1-f3.i386.rpm
-r--r--r-- 1 63005 63005  3273396 2008-12-01 09:28 nidaqmxhelp-1.0.1-f0.i386.rpm
-r--r--r-- 1 63005 63005    15317 2008-12-01 09:28 nidaqmxinfi-8.0.1-f0.i386.rpm
-r--r--r-- 1 63005 63005  2592447 2008-12-01 09:28 nidaqmxswitch-1.6.1-f0.i386.rpm
-rwxr-xr-x 1 63005 63005   205000 2008-12-01 09:28 nidimi-1.9.0-f0.i386.rpm
-r--r--r-- 1 63005 63005  2031864 2008-12-01 09:28 nidsai-1.5.1-f0.i386.rpm
-rwxr-xr-x 1 63005 63005    55641 2008-12-01 09:28 nikali-1.9.0-f0.noarch.rpm
-r--r--r-- 1 63005 63005   217829 2008-12-01 09:28 nimdbgi-1.3.1-f0.i386.rpm
-r--r--r-- 1 63005 63005  8382260 2008-12-01 09:28 nimioi-1.7.2-f0.i386.rpm
-r--r--r-- 1 63005 63005   383692 2008-12-01 09:28 nimru2i-2.4.1-f0.i386.rpm
-r--r--r-- 1 63005 63005   327677 2008-12-01 09:28 nimxdfi-1.4.1-f1.i386.rpm
-r--r--r-- 1 63005 63005    42939 2008-12-01 09:28 nimxpi-1.4.1-f0.i386.rpm
-r--r--r-- 1 63005 63005  2100859 2008-12-01 09:28 nimxs-4.0.1-3006.i386.rpm
-rwxr-xr-x 1 63005 63005   204120 2008-12-01 09:28 niorbi-1.9.0-f0.i386.rpm
-rwxr-xr-x 1 63005 63005   254617 2008-12-01 09:28 nipali-2.3.0-f1.i386.rpm
-rwxr-xr-x 1 63005 63005   370530 2008-12-01 09:28 nipalki-2.3.0-f1.i386.rpm
-rwxr-xr-x 1 63005 63005   456528 2008-12-01 09:28 nipalki-2.3.0-f1.x86_64.rpm
-r--r--r-- 1 63005 63005   315778 2008-12-01 09:28 nipxirmi-1.6.0-f0.i386.rpm
-rwxr-xr-x 1 63005 63005    61841 2008-12-01 09:28 nirpci-4.0.0-f1.i386.rpm
-r--r--r-- 1 63005 63005   233057 2008-12-01 09:28 niscarabmm-1.2.1-f0.i386.rpm
-r--r--r-- 1 63005 63005  2228862 2008-12-01 09:28 niscxi-1.5.1-f0.i386.rpm
-r--r--r-- 1 63005 63005   126757 2008-12-01 09:28 nistci-1.3.3-f0.i386.rpm
-r--r--r-- 1 63005 63005  1535283 2008-12-01 09:28 nitimingi-1.5.2-f0.i386.rpm

Am I missing any required files in the directory?

Also, at this stage, if I try to run INSTALL script again in /mnt/daqmx/, it gives me the same error message:

[root@ghpark-linux32 bin]# cd /mnt/daqmx/
[root@ghpark-linux32 daqmx]# ls
ConfigurationGuide.html  INSTALL  LICENSE.txt  nidaqmx-8.0.1f0.tar.gz  PATENTS.txt  README.txt  UNINSTALL
[root@ghpark-linux32 daqmx]# ./INSTALL

*****************************************************************************
  NI-DAQmx for Linux Installer Distribution
     version 8.0.1f0 for Linux
*****************************************************************************

To learn about the differences between NI-DAQmx in Linux and Windows, as well
as important device and application software support information, refer to the
readme file in the installer directory.
National Instruments products support the following Linux distributions:
   Mandriva Linux Official
   openSUSE
   Red Hat Enterprise Linux Desktop + Workstation
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.

Continue? [Yn] Y

Checking required install tools...
Checking installer tool versions...
rpm        4.6.0 can be used with a default installation path
tar        1.20
Checking dependencies...
glibc      2.9
Unpacking install files to /tmp/nidaqmx-8.0.1f0.install...

./INSTALL: line 1072: /tmp/nidaqmx-8.0.1f0.install/bin/installerUtility.sh: No such file or directory
./INSTALL: line 1073: nikalInstallationCheck: command not found

Installer is aborted.
[root@ghpark-linux32 daqmx]#

And, hereafter, /tmp/nidaqmx-8.0.1f0.install is deleted.

Anyway, I think we will be using NI-6218 or NI-6215 or NI-6211 or NI-6210 (whichever supports Linux) instead of NI-4462.  So I guess we don't need to install NIDAQmx-8.0.1 for Linux?

We borrowed NI-6216 from a NI representative and was able to acquire signal through it.  However, he said NI-6216 only supports Windows.  So we need to use a similar device that supports Linux (he said NI-6218 and NI-6215 are very similar to NI-6216 and they support Linux, if I remember correctly).  So if we happen to use NI-6218 or NI-6215 for our demo application, which driver would we need to download and install?

Thanks,

Brian

0 Kudos
Message 7 of 9
(7,233 Views)

Hi Brian,


The driver you want for USB devices on Linux is NI-DAQmx Base [1]. The readme [2] specifies which USB devices are supported by the driver:


NI-DAQmx Base 3.2.0f0 supports the USB-6210, USB-6211, USB-6211 OEM, USB-6215, USB-6218, and USB-6218 OEM devices.  NI-DAQmx Base 3.2.0f0 does NOT support the USB-6212 and USB-6216 devices.


--Joe

[1] NI-DAQmx Base for Linux

http://joule.ni.com/nidu/cds/view/p/id/1076/lang/en


[2] NI-DAQmx Base readme

http://ftp.ni.com/support/softlib/multifunction_daq/nidaqmxbase/3.2/Linux/readme.txt

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)
0 Kudos
Message 8 of 9
(7,233 Views)

I just ran into this issue today and wanted to post a resolution of what I suspect happened.

I used  mount -t iso9660 –o loop DAQmx801f0.iso /mnt/iso to mount the image and got the same error when trying to run INSTALL.

However, when I downloaded the image from ni.com I had copied it from the Desktop to a subdirectory I had created called 'build' on the Desktop. When I downloaded it again and ran it directly from the Desktop (the default download location) it worked fine. I suspect something random happened when moving it to 'build' and was the source of the error.

This was on RHEL with a 16k stack size from here.

Test Engineer - CTA
0 Kudos
Message 9 of 9
(7,233 Views)