2014-08-18

Compiling and installing the cyberjack driver in Fedora

Every once in a while, the cardreader I use gets in trouble. Nice enough, the vendor still seems to maintain the driver over here, although the refusal to simply increase the version number in a sane fashion starts getting ridiculous. Anyhow, SP05 seems be from May 7, 2014, which makes it almost 2 years newer than the binaries I've dragged over from the last system where I've compiled the stuff.
However, compiling the beast proves not so easy because there seems to be no script provided to get autoconf/automake and the whole charade going, and README is empty, bummer. So first off we mustn't forget to make sure that libtool is installed as well. Second, the secret receipt is hidden inside Makefile.cvs, the bootstrap works like
make -f Makefile.cvs all
Now all we have to do is good 'ol
./configure && make
Not a big fan of having some make install wreak havoc on the system so first do a
make -i install
as the unprivileged user and scan the output what's happening.
Turns out it wants do modify those files/directories:
/usr/etc/
/usr/lib/cyberjack/
/usr/bin/cyberjack
/usr/lib64/pcsc/drivers/libifd-cyberjack.bundle/
/usr/share/man/cyberjack.8
The first two are a bit WTF and can probably be fixed later, the rest is ok, so commence installing.

Unfortunately the ordeal didn't solve my original problem though.