[Muscle] pcsc-lite on 2.4 kernel

goister at gmail.com goister at gmail.com
Tue Nov 11 22:22:57 PST 2008


Hi,

I'm trying to install pcsc-lite on Mandrake 9.1. The default libusb/libusb-devel rpm that's installed there is 0.1.6a, and during pcsc-lite's configure, it informs me that I need 0.1.7 or newer version of libusb. Hence I downloaded 0.1.7 rpm for Mandrake 9.x and installed it. After this, I'm able to perform the configure, make and then make install.

However, after doing so and running pcscd -df, I got the following output:

00000000 pcscdaemon.c:280:main() pcscd set to foreground with debug send to stderr 
00000255 pcscdaemon.c:498:main() pcsc-lite 1.4.102 daemon ready. 
00000642 hotplug_libusb.c:111:HPReadBundleValues() Cannot open PC/SC drivers directory: /usr/local/pcsc/drivers 
00000015 hotplug_libusb.c:112:HPReadBundleValues() Disabling USB support for pcscd. 

I then went to /usr/local and sure enough, there's no pcsc sub-directory. I then scrolled back to the configure/make install logs and found that during configure, the following messages were output:

checking for LIBUSB... Package libusb was not found in the pkg-config search path. 
Perhaps you should add the directory containing `libusb.pc' 
to the PKG_CONFIG_PATH environment variable 
No package 'libusb' found 
no 
no

However, at the end of the configuration, it tells me that pcsc-lite has been configured with libusb supported enabled, and the USB drop directory was correctly set to /usr/local/pcsc/drivers.

Why then was libusb not found? I did a search for libusb.pc and couldn't find any. How can I fix this?

Thanks.


More information about the Muscle mailing list