Version of gcc with NIDAQmx problem

Hello

When I try to install NIDAQmx8.0 I have this problem:

[root@localhost test] # ls
ConfigurationGuide.html LICENSE.txt PATENTS.txt UNINSTALL *.
INSTALL * nidaqmx%8.0.1f0.tar.gz README.txt
[root@localhost test] #. / INSTALL
*****************************************************************************
NEITHER DAQmx for Linux install Distribution
version 8.0.1f0 for Linux
*****************************************************************************
Learn about the differences between % NOR DAQmx under Linux and Windows, so
as important and application software system supports information, refer to the
Readme file in the installation directory.
National Instruments products are supported on the following Linux distributions:
Mandriva Linux official
openSUSE
Red Hat Enterprise Linux Desktop + Workstation
See README.txt for the latest information at the time of the release.
Refer to www.ni.com/linux for the latest information on Linux
supports at National Instruments.
Continue? [Y/n] THERE
Checking for the required installation tools...
Checking versions of installation tool...
4.4.8 RPM can be used with a default installation path
tar 1.18
Checking dependencies...
glibc 2.6.1
Unpacking install files for tmp/nidaqmx%8.0.1f0.install...
******************************** ERROR ****************************************
* The version of gcc in the path does not match the version of gcc used to *.
to compile the kernel running. This can cause unpredictable *.
* behavior of kernel drivers and should be fixed. *
* version gcc: gcc version 4.2.2 20071128 (prerelease) (4.2.2%3.1mdv2008.0)
*
* kernel compiled with: 4.2.2 *.
******************************** ERROR ****************************************
Setup stops.
[root@localhost test] #.

I don't know what I can do.  Please help me!

I work in the Mandriva operating system with real time kernel.

Thank you

OK, it seems that your gcc version string has been localized French and therefore does not match the string stored in the kernel.  To resolve this issue, you need to make some modifications to the script that performs the audit.  Copy the files from the iso image in a directory writable on your system then:

# Extract files from archive of NOR-DAQmx 8.0.1

tar xvzf nidaqmx - 8.0.1f0.tar.gz

# Edit bin/installerUtility.sh and replace lines 340 and 341 with the following

currentGCCVersion ='$CC - v 2 > & 1 | tail-n 1 | Of $SED. [* gcc [(a-zA-Z)]--------+------([0-9] [^])] \+\).*/\1/ "
kernelGCCVersion =' $CAT/proc/version. Of $SED. [* gcc [(a-zA-Z)]--------+------([0-9] [^])] \+\).*/\1/ "

# Rebuild the archive of NOR-DAQmx

tar cvzf nidaqmx bin - 8.0.1f0.tar.gz / RPM /.

# Run the installer

. / INSTALL

Shawn Bohrer

National Instruments

Tags: NI Hardware

Similar Questions

Maybe you are looking for