Updated libusb and CCID are needed.
This page explains how to update them.
Why update my Mac OS X system?
Apple includes libccid (version 1.3.8) since Leopard 10.5.6.
Unfortunately, Apple does not provide CCID updates any longer.
Furthermore, CCID relies on libusb 1.08, which is not installed in Mac OS X.
Mac OS X includes an older version of libusb, which is considered deprecated.
According to libccid author, an update is necessary:
GOOZE is running daily regression tests at midnight. Our servers have ePass2003 and Feitian PKI attached running a battery of tests. We are confident that CCID can be upgraded safely.
But please bear in mind that you are replacing part of Mac OS X with free software and there is no garantee.
You should have MacPorts installed.
Please download and install:
- MacPorts 2.1.2 for Mac OS X 10.4 (Leopard)
- MacPorts 2.1.2 for Mac OS X 10.5 (Snow Leopard)
- MacPorts 2.1.2 for Mac OS X 10.6 (Lion)
We are looking for a way to provide binary installers for libusb GIT.
Until then, please use MacPorts.
After installing MacPorts, to upgrade your ports, type:
sudo ports upgrade outdated
Install the needed development environment:
Make sure your path environment includes MacPorts variables.
Check your .profile file and make sure it includes:
Which should be the case automatically.
To install libusb, use MacPorts
This libusb version includes the patch around the 60 seconds bug.
Follow this procedure to download, compile and install CCID 1.4.7:
svn checkout svn://anonscm.debian.org/pcsclite/trunk libccid
aclocal -I m4
glibtoolize --copy --force --automake
automake --add-missing --copy --force --foreign
sudo make install
As part of GOOZE future plans, we will provide installers for libusb GIT and CCID. Until then, you NEED to install MacPorts and compile by hand as shown on this page.