[argyllcms] Re: newbie problems with make, usb

david wrote:

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

Sorry, I don't maintain the autotools version, so I can't
really help you there.

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"

What other udev rules are present ? What permissions end up
on the device created for the instrument ?

You could try the V0.7 beta 4, although I don't think much
has changed in that area - see
<http://www.freelists.org/archives/argyllcms/05-2007/msg00026.html>

Graeme Gill.

Other related posts: