EDV:LabVIEW-auf-debian/LabVIEW-6.1

From KIP Wiki
⧼kip-jumptonavigation⧽⧼kip-jumptosearch⧽

LabVIEW 6.1 auf debian

Installation

unzip  labviewlinux.zip 
cd LabVIEW61Linux/
alien -d *.rpm
dpkg -i *.deb

Es gibt dann leider Probleme mit der MESA-Bibliothek. Hier ist ein Workaround:

aptitude install libosmesa6
cd /usr/local/lv61/linux
mv libLVMesaGL.so.3 moved.libLVMesaGL.so.3
ln -s /usr/lib/libOSMesa.so.6 libLVMesaGL.so.3
cd /usr/local/lib/LabVIEW-6.1/
mv libLVMesaGL.so.3 moved.libLVMesaGL.so.3
ln -s /usr/lib/libOSMesa.so.6 libLVMesaGL.so.3

Das Start-Skript /usr/local/bin/labview-6.1 erzeugen:

#!/bin/bash
export LD_LIBRARY_PATH=/usr/local/lib/LabVIEW-6.1/
exec /usr/local/lv61/labview $*

und ausführbar machen:

chmod 755 /usr/local/bin/labview-6.1

Ausserdem kann man noch einen 'Desktop-Eintrag' erzeugen, damit das Programm in den Menüs auftaucht:

/usr/share/applications/labview-61.desktop

[Desktop Entry]
Name=LabVIEW 6.1
Comment=LabVIEW Graphical Dataflow Programming Environment
Exec=/usr/local/bin/labview-6.1
Icon=/usr/local/lv61/linux/icons/labview-3d.xpm
Terminal=false
Type=Application
Categories=Application;Development;X-Red-Hat-Base;natinst;
MimeType=application/x-labview-vi;application/x-labview-llb;application/x-labview-ctl;application/x-labview-vit;application/x-labview-ctt;application/x-labview-lvclass;application/x-labview-lvproj;application/x-labview-lvlib;application/x-labview-xnode;application/x-labview-xctl

Problem beim Starten von LabVIEW?

Wenn sich LabVIEW nicht starten lässt und folgende Meldung erscheint:

#  /usr/local/bin/labview-6.1
LabVIEW caught fatal signal
6.1 - Received SIGSEGV
Reason: address not mapped to object
Attempt to reference address: 0x0
Speicherzugriffsfehler

Dann kann eventuell ein Problem mit dem ext3-Dateisystem vorliegen. Näheres dazu unter: http://digital.ni.com/public.nsf/allkb/A2D53C8E0D88380B86256EBD005B31D2

In Kürze:

tune2fs -O ^dir_index /dev/IhrePartition

als root ausführen. Dann sollte es funktionieren...

Links