Subject: A NetBSD pkg for Perl CPAN module Device::LabJack ???
To: None <tech-pkg@netbsd.org>
From: Gan Uesli Starling <gan@starling.us>
List: tech-pkg
Date: 08/26/2006 17:04:58
Howdy,
Am hoping someone might take an interest in porting this Perl module to
NetBSD.
The LabJack is a USB data acquisition device that only costs about $112 and
is very handy. If anyone who knows how to make the port should take an interest
I would be happy to buy them a LabJack (theirs to keep) for making the effort.
The CPAN package name is...
Device::LabJack
...and the device itself has its own website at...
http://www.labjack.com
The Perl module installs okay on WinXP and it is supposed to also support
Linux.
The output from CPAN on NetBSD 2.0.2 is as follows....
CPAN.pm: Going to build C/CD/CDRAKE/Device-LabJack-0.02.tar.gz
Checking if your kit is complete...
Looks good
Warning: -Llinux-labjack/liblabjack changed to
-L/home/aplonis/.cpan/build/Device-LabJack-0.02/linux-labjack/liblabjack
Note (probably harmless): No library found for -llabjack
Writing Makefile for Device::LabJack
CPAN: YAML loaded ok
cp hello.pl blib/lib/Device/hello.pl
cp LabJack.pm blib/lib/Device/LabJack.pm
cd linux-labjack/driver/linux-2.6 && /usr/bin/make && echo `insmod labjack.o` &&
tail /var/log/messages
/usr/bin/make -C /lib/modules//build
SUBDIRS=/home/aplonis/.cpan/build/Device-LabJack-0.02/linux-labjack/driver/linux-2.6
modules
usage: make [-Beiknqrst] [-D variable] [-d flags] [-f makefile]
[-I directory] [-j max_jobs] [-m directory] [-V variable]
[variable=value] [target ...]
*** Error code 2
Stop.
make: stopped in
/home/aplonis/.cpan/build/Device-LabJack-0.02/linux-labjack/driver/linux-2.6
*** Error code 1
Stop.
make: stopped in /home/aplonis/.cpan/build/Device-LabJack-0.02
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
Failed during this command:
CDRAKE/Device-LabJack-0.02.tar.gz : make NO
cpan>