If you want to take a VI that uses VISA and run it on Mandriva 2007 you have at least two options.
1. Install LabVIEW for Linux, and NI-VISA on the Linux machine that will run the VI.
2. On a Linux machine use the LabVIEW Application Builder to build the VI into a Linux application. Then on the machine you want to run the VI you would need to install the LabVIEW Runtime Engine for Linux, and the VISA Runtime Engine for Linux.
Note that option 2 is using the Linux Application Builder (which runs on Linux). If you build the VI into an application on Windows it will produce a Windows executable not a Linux executable.
You mentioned using WINE, but there is no need to use WINE since there are native Linux versions of LabVIEW, the LabVIEW App Builder, and NI-VISA. Of course you do need to purchase LabVIEW for Linux, or the LabVIEW App Builder for Linux.
You also mentioned the hassle of installing the kernel source to allow NI-KAL to compile. Technicaly you only need the kernel headers for you currently running kernel you don't need all of the kernel source. I don't remember if Mandriva has a specific kernel headers package, but I think they might have a kernel source stripped package which is smaller. Additionally if you are only using NI-VISA for serial, you actually don't need NI-KAL. If my memory serves me correctly the NI-VISA INSTALL script has a --nokal and --nopal option, so you could try something like:
./INSTALL --nokal --nopal
Shawn B.
National Instruments