Linux Users

cancel
Showing results for 
Search instead for 
Did you mean: 

nidaqmx 8.0.2 and fedora15 support

I am running kernel 2.6.43

when trying to run the install script ./INSTALL, I get a permission denied message.

How do I run the install script without getting this error?

Thank You in advance.

0 Kudos
Message 1 of 11
(9,247 Views)

Are you running it as superuser ? look up 'su' command.

0 Kudos
Message 2 of 11
(7,190 Views)

Thank you for replying irwan. Yes I was trying this as superuser. I have gotten it to install using sh install command. I can successfully use nilsdev command and run the "din" and "dout" functions (downloaded from here) successfully. However, when I try to  use DAQmxTestPanels  command, I get an elaborate error below:

Can't load LabVIEW runtime library /usr/local/lib/liblvrt.so.8.0

libOSMesa.so.4: cannot open shared object file: No such file or directory

0 Kudos
Message 3 of 11
(7,190 Views)

try this: http://digital.ni.com/public.nsf/allkb/DD248B4B21E8DCED862570D80058F1BE

search for libosmesa in this forums if that doesn't help.

0 Kudos
Message 4 of 11
(7,190 Views)

Thank You Irwan. That fixed it.

The test panels work well.

0 Kudos
Message 5 of 11
(7,190 Views)

Hi jammin3002,

How did you get the driver install? I tried ./INSTALL on Fedor 15 kernel 2.26.43 as well after mounted the iso, but I got the following message.

Continue install? [Yn] Y

Running the NI-VISA installer...

*****************************************************************************

  NI-VISA for Linux

     version 4.5.1f0 for Linux

*****************************************************************************

National Instruments products support the following Linux distributions:

   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.

Checking required install tools...

Checking installer tool versions...

dpkg       Not found in current path

rpm        4.9.1.3 can be used with a default installation path

tar        1.26

Checking dependencies...

glibc      2.14.1

Unpacking install files to /tmp/nivisa-4.5.1f0.install...

******************************** ERROR ****************************************

* Kernel source in /lib/modules/2.6.43.8-1.fc15.x86_64/source does not appear to be

* configured for the 2.6.43.8-1.fc15.x86_64 kernel.

* Configuration of kernel source is required to continue installation.        *

* Refer to the README file for the product you are installing for information *

* about configuring your kernel source.                                       *

******************************** ERROR ****************************************

Installer is aborted.

NI-VISA 4.5.1 could not be installed.

Please run the NI-VISA installer in the nivisa subdirectory

and then re-run this installer.

NI-VISA 4.5.1 (or later) is required for

NI-DAQmx Base 3.3.0-f0

Is this what you had initially too?

0 Kudos
Message 6 of 11
(7,190 Views)

No, I did not have this error. I had a permission denied error. Besides, in this thread, I was having trouble with the NIDAQmx, not the NI-VISA. I did; however, recently install NI-VISA with no issues.

Please go to your kernel source and see if the /lib/modules/2.6.43.8-1.fc15.x86_64/ directory exists

0 Kudos
Message 7 of 11
(7,190 Views)

Yeah the /lib/modules/2.6.43.8-1.fc15.x86_64/ directory is there.

And this problem seem to be addressed in the README.txt file by NI, but that's direct to SUSE linux only. So all the steps they told me to do is not feasible in Fedora:

Q2: During installation I get a message similar to the following one:

    "Kernel source does not appear to be configured for the running kernel.

     Configuration of kernel source is required to continue installation."

    I do have kernel sources installed; is there anything else that needs to

    be done?

A2: This problem has been seen on SUSE LINUX Professional 9.1 running the 2.6.5

    kernel or newer versions of SUSE LINUX Professional. However, it is possible

    that other distributions will require similar steps to resolve this problem.

    On SUSE LINUX Professional 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. THIS STEP IS STRICTLY OPTIONAL. Completing this step removes the

       warning:

       WARNING: Symbol version dump /usr/src/linux/Module.symvers is missing,

                modules will have CONFIG_MODVERSIONS disabled.

       Run "make modules" as root to compile all modules and generate

       Module.symvers; this step may take 30 minutes or more to complete.

    6. Run the INSTALL script for the NI-DAQmx Base software for Linux from this

       directory.

Do you or anyone have any suggestion for me to get through this?

Thanks in advanced

0 Kudos
Message 8 of 11
(7,190 Views)

This is way above my linux knowledge. Maybe you could start a new thread with your specific problem.

0 Kudos
Message 9 of 11
(7,190 Views)

Lol, ok thanks man! Sorry for stealing your thread there

0 Kudos
Message 10 of 11
(7,190 Views)