Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

daqmx install on Gentoo

Hi list,

I wish to install daqmx on a gentoo linux platform. Installation stops in nidak rpm packages with the presumption that gcc and kernel compiled versions are different (but not).

I did a revision in the install program and found that the error appears due to gcc --version brings a "version 4.1.1" while /proc/version "versión 4.1.1 ..." (that is accented in spanish terms) so, a sed search don't match.

I will try, making a copy a the CD to disk and modifying the install script, but i wish to know if there exists a similar behaviour in other distros before continue.

Thank you,
Osvaldo
0 Kudos
Message 1 of 3
(3,358 Views)
I know this is really old, but it's the first Google hit for "daqmx gentoo" presently, so I just thought I'd point out that you can force RPM to ignore dependencies with the `--nodeps' flag. Maybe hacking the install script with that would help. I may eventually try this myself, so perhaps this is just a note to me! 😉
0 Kudos
Message 2 of 3
(3,009 Views)

ofornaro wrote:

I did a revision in the install program and found that the error appears due to gcc --version brings a "version 4.1.1" while /proc/version "versión 4.1.1 ..." (that is accented in spanish terms) so, a sed search don't match.

If you're running into l10n problems (version versus versión), you can also try prefixing the INSTALL command with 'LC_ALL=C' to force it to use the standard C locale [1], which sets all of the other i18n environment variables to that locale in one statement [2]. Under the C locale, programs return to the ANSI C standard (eg American English of the 70's) and the assumptions that NI-KAL and friends make will hold. If your programs don't have the C locale, you may need to generate it [3]. To use the C locale with the installation script, you would issue 'LC_ALL=C /path/to/INSTALL', and it would only affect that script (and not any other commands in your shell session).

[1] GNU C Library Documentation :: Locales and Internationalization :: Standard Locales
http://www.chemie.fu-berlin.de/chemnet/use/info/libc/libc_19.html#SEC324

[2] Environment Variables
http://opengroup.org/onlinepubs/007908799/xbd/envvar.html

 

[3] Gentoo Linux Localization Guide :: Locale system

http://www.gentoo.org/doc/en/guide-localization.xml#doc_chap3

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 3 of 3
(3,005 Views)