I’m trying to compile apcupsd for use in the SmartOS global zone. As the UPS for that machine is hooked up directly to one of the USB ports, apcupsd's „usb“ module will be needed - which in turn requires libusb.
The libusb header is at /usr/include/usb.h but I can’t find the correct library to link against… Even worse, the following github entry seems to indicate that it is intentionally missing: https://github.com/joyent/smartos-live/issues/51 For the time being I downloaded the source for libusb and tried to compile it myself. But, surprise, surprise: the di_prop_exists function does not exist in libdevinfo.h... What is the recommended way to deal with these issue? Best regards, Peter ------------------------------------------- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
