Hi Shawn,
Thanks for the reply. In case anyone is interested in installing
on Gentoo, there were two issues that I got around: kernels newer than
2.6.8 have modified/deleted two functions (well, one in 2.6.9, another
in 2.6.11 or so) that nikal.c needed. I'm sorry I didn't write
down the names for you, but they are pretty obvious errors when you try
to compile. I initially hacked nikal.c until it compiled with a
2.6.12 kernel, but then the install would fail after compile because it
was unable to "Start Ni-Kal" (or something similar; I forget
exactly).
At that point I downgraded to kernel 2.6.8, which compiled fine but
needed RedHat-style runlevel directories like /etc/rc0.d to finish the
installation. I had to create the directories (rc0.d thru rc6.d)
to get the scripts to copy, and then I modified the system services
scripts for gpibenumsvc and nipal to work with Gentoo. This
wasn't much of a hassle; I commented a lot of stuff out, switched the
first line to #!/sbin/runscript, put 'start-stop-daemon --start --exec'
in front of any commands I found in the start() section of the scripts,
and replaced 'exit' with 'eend'.
At this point, I could communicate with external devices using the
command-line programs that came with the driver, so I knew the card was
working.
I installed LabView before the drivers, but when it didn't work I then
reinstalled LabView to see if that would help. I did try both the
VISA VIs and the NI-488.2 VIs at various points, but mostly I played
with the 488.2 VIs since that is what all my current VIs are written to
use.
I needed to get this running today, so I downloaded sources for kernel
2.4.31 and got that working. The LabView7.0 install CD includes
drivers that work with the 2.4 kernel, so that install went fine and
everything is up and running. I would have preferred to use
kernel 2.6, but I am happy to at least have Gentoo on this machine
now.
When I get time, I'll try the 2.6.8 kernel again and let you know if I
get it working. How does the driver add LabView support? I
saw that it put libraries libgpibapi.so.2, libgpibconf.so.2, and
liblvgpibconf.so.2 in /usr/local/lib, but I couldn't figure out if
LabView knew to look there for them (or if they were even the right
libraries).
Thanks for your time. Sorry for the flood of information; I
thought it might be useful if you or someone else is trying to get
PCI-GPIB to work with LabView on Gentoo.
-kasey