[argyllcms] newbie problems with make, usb

  • From: david <david@xxxxxxxxxxxxx>
  • To: argyllcms@xxxxxxxxxxxxx
  • Date: Mon, 25 Jun 2007 12:41:38 +1000

I've just started out with a DTP94, using Ubuntu Feisty. Thanks for
keeping the FOSS flag flying! Oh how I hate to have to boot into
Windows. :-)

First problem:

I downloaded autotools_argyll-0.60.tar.gz but got an error with make:

usbio.h:49: error: expected ')' before '*' token
usbio.h:50: error: expected ')' before '*' token
make[1]: *** [libargyllinst_la-inst.lo] Error 1
make[1]: Leaving directory `/usr/local/argyll/argyll-0.60/spectro'
make: *** [all-recursive] Error 1


Second problem: 

I downloaded the binaries, including patched binaries which I copied
over the top of the originals (is that the right thing to do?). I
created the udev rules (including putting it all on one line) but I got
the following error:

david@test:~ $ dispcal -a
dispcal: Error - Configuring USB port 'usb:/bus0/dev0 (Xrite DTP94)' to
1 failed

david@test:/etc/udev/rules.d $ cat 10-Argyll.rules 
BUS=="usb", SYSFS{idVendor}=="0765", SYSFS{idProduct}=="d094",
PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf bus/usb/%%03i/%%03i
$${K%%%%.*} $${K#*.}'",  NAME="%c",  MODE="666"


david@test:~ $ dmesg | tail 
[63725.064839] usb 1-2: new low speed USB device using uhci_hcd and
address 5
[63725.297468] usb 1-2: configuration #1 chosen from 1 choice


any help greatly appreciated! 

David.


Other related posts: