Checking in in order to report a lot of troubles, and finally a solution found, with respect
to the problem reported in this thread, when upgrading to Labview 8.20.
Upgrading from 8.0 to 8.20 broke the me the nipal/nikal stuff which I previously
managed to make work, thanks essentially to the useful information found on the forum.
This happens, I suspect, also because of a loophole in the installers found on the
Fall 2006 PDS-Linux CD. Among the rest, NI-VISA installs before NI-488-2, but while
NI-VISA-4.0 installs nipali-1.11.1.f0.i386.rpm, NI-488-2.5.1 tries to install
nipali-1.11.0.f0.i386.rpm and fails there because it founds a more recent package.
In addition, there are the usual lines of code to patch here and there.
I needed several hours of frustrating attempts before soring out. What follows is a
purged list of the steps which should be needed after installing Labview from the disk
(#sh /media/LabVIEW-8.2-PDS/INSTALL), unless I forgot something. I add them here hoping
they may be useful to someone besides me.
-took the opportunity to upgrade the kernel to 2.6.18-1.2257.fc5, with yumex
-got kernel sources as described in NIDAQmx_HowTo.pdf (see thread
http://forums.ni.com/ni/board/message?board.id=250&message.id=23429&view=by_date_ascending&page=1 )
and more or less followed up to its steps 5-6
- #make gconfig (I don't have qt currently installed, but gtk);
unchecked "use 4k"; make; make modules; make install; make modules_install
instead of steps 7-10.
-several files version.h need to be patched to include UTS_RELEASE (some are links),
otherwise the following will complain about nonmatching kernel sources:
/usr/src/redhat/BUILD/kernel-2.6.18/linux-2.6.18.i686/include/linux/version.h
/lib/modules/2.6.18-1.2257.fc5/build/include/linux/version.h
become for me
#define UTS_RELEASE "2.6.18-1.2257.fc5"
#define LINUX_VERSION_CODE 132626
#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) <<
😎 + (c))
- #rpm -e nipali nikali nipxirmi niorbi nidimi
- #sh /media/LabVIEW-8.2-PDS/NI-488-2.5.1/INSTALL
before NI-VISA/INSTALL
still fails because of 2 errors in /usr/local/natinst/nikal/src/objects/nikal.c
-patch /usr/local/natinst/nikal/src/nikal.c: with:
Line 87: #define put_page_testzero(p) atomic_dec_and_test(&(p)->_count)
Line 1163: vma->vm_flags |= VM_RESERVED | VM_LOCKED | VM_DONTCOPY | VM_DONTEXPAND;
- #updateNIDrivers, still doesn't find nipxirmk-unversioned.o,
niorbk-unversioned.o, nidimk-unversioned.o (which have just been removed)
- #sh /media/LabVIEW-8.2-PDS/NI-VISA-4.0/INSTALL
-updateNIDrivers once more
-reboot
-finally it works! (labview VIs can have VISA references without crashing;
visaconf, gpibexplorer gpibintctrl gpibtsw exist and work, etc.
Enrico