> From: Greg KH > Sent: 06/16/11 03:55 AM > To: Martin Rother > Subject: Re: usb-utils: Support for 'usb.ids.gz' currently broken > > On Wed, Jun 15, 2011 at 07:07:18AM +0000, Martin Rother wrote: > > If a distribution wants to save a little bit of space for the usb-utils the option exists to use a 'usb.ids.gz' file instead of 'usb.ids'. Provided the respective library is available at compile time a few lines of code in 'lsusb.c' and 'names.c' achieve this depending on the "HAVE_LIBZ" flag. > > > > This flag was properly set in usbutils-0.91, but I've now found that this is not the case anymore with usbutils-002. I'm myself a bit confused as the 'configure' script in usbutils-002 seems to use "HAVE_ZLIB" and "USE_ZLIB" (but not "HAVE_LIBZ"). > > > > I guess someone else will quickly identify what is going on here. I just used the following "fudge" (after './configure' and before 'make') to overcome this problem: > > Â Âecho '#define HAVE_LIBZ 1' >> config.h && sed -i '/LIBS = $/s#$#-lz #' Makefile > > This should be fixed in the usbutils git tree with the following commit: > https://github.com/gregkh/usbutils/commit/7170260942c403a1c6e8359e085e48cf4a14668c > > Can you verify that this fixes the issue for you? I did a quick re-test with the changed 'Makefile.am' (and after installation of automake, which I usually don't need). I can now confirm that the reported problem appears to be resolved. So a release 003 sounds like a good idea to me. Cheers, Martin > > If so, I probably should release 003 with this in it as you aren't the > first to be hit by it. > > thanks, > > greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html