Hi Frederik,
On Wed, 30 Mar 2016 09:04:55 -0400
"frederik@ofb.net via RT" <bug-Device-USB@rt.cpan.org> wrote:
Show quoted text> Queue: Device-USB
> Ticket <URL:
https://rt.cpan.org/Ticket/Display.html?id=113422 >
>
> Thank you for the reply. I see that I have a couple of versions of the
> library installed:
>
> /usr/lib/libusb-0.1.so.4
> /usr/lib/libusb-0.1.so.4.4.4
> /usr/lib/libusb-1.0.so
> /usr/lib/libusb-1.0.so.0
> /usr/lib/libusb-1.0.so.0.1.0
>
> Is the module unable to find the version it is compatible with?
It looks like the first library should work, and I wouldn't be
surprised if the problem has to do with the header file being 1.0
compatible.
Show quoted text> I can think of several things which could be fixed:
>
> - the documentation should explain that the package is old or
> bit-rotted or has problems with library versions
>
> - the build should be fixed so that the library version problem is
> apparent from the build log (I attached the build log, but it
> doesn't seem to give any useful details about what caused failure)
Earlier versions of Inline::C gave a better error message in this case.
Show quoted text> - the Device::USB module should be updated so that it works with
> current libusb
I have been looking to pass the maintenance of the module to someone
else for years. I no longer have a direct need for it and don't have
the time to maintain (or update) it.
If you are interested in helping to update the module or to take over
maintenance, I would be glad to pass it on.
Show quoted text> I reported this bug to try to assist with Device::USB development.
> However, if others are reporting similar bugs and the package is not
> getting fixed, then it should be marked as defunct. This would save
> the time of potential users.
I appreciate the report.
G. Wade
Show quoted text> Thank you!
>
> On Wed, Mar 30, 2016 at 08:23:50AM -0400, G. Wade Johnson via RT
> wrote:
> > <URL:
https://rt.cpan.org/Ticket/Display.html?id=113422 >
> >
> > On Tue, 29 Mar 2016 03:23:49 -0400
> > "frederik@ofb.net via RT" <bug-Device-USB@rt.cpan.org> wrote:
> >
> > > Tue Mar 29 03:23:48 2016: Request 113422 was acted upon.
> > > Transaction: Ticket created by frederik@ofb.net
> > > Queue: Device-USB
> > > Subject: installation problem
> > > Broken in: (no value)
> > > Severity: (no value)
> > > Owner: Nobody
> > > Requestors: frederik@ofb.net
> > > Status: new
> > > Ticket <URL:
https://rt.cpan.org/Ticket/Display.html?id=113422 >
> > >
> > >
> > > Hi!
> > >
> > > I was looking forward to using a module which depends on
> > > Device::USB (it was Device::USB::PCSensor::HidTEMPer). However, I
> > > can't install Device::USB:
> >
> > The normal problem with installing Device::USB is caused by the
> > wrong version of libusb. This module was written back when libusb
> > 0.14 was current. The 1.0+ versions use a different API, so compile
> > fails.
> >
> > If you install the older version, it may help.
> >
> > G. Wade
> >
> >
> > > $ cpanm Device::USB
> > > --> Working on Device::USB
> > > Fetching
> > >
http://www.cpan.org/authors/id/G/GW/GWADEJ/Device-USB-0.36.tar.gz ...
> > > OK Configuring Device-USB-0.36 ... N/A Building and testing
> > > Device-USB-0.36 ... FAIL ! Installing Device::USB failed.
> > > See /home/frederik/.cpanm/work/1459235981.23133/build.log for
> > > details. Retry with --force to force install it.
> > >
> > > I'm attaching build.log. Hope this helps.
> > >
> > > Thank you,
> > >
> > > Frederick
> > >
> >
> >
> > --
> > Make no decision out of fear. -- Bruce Sterling
> >
>
--
$HOME is where your dotfiles are. -- Gym Quirk