You can build TokenD using more recent OSX build systems by following what the OpenSC folks did, see https://github.com/OpenSC/OpenSC.tokend for recent changes they did to get it to work. Downside to the method is that there are pieces that have to be download from Apple to get the build to work - but at least TokenD modules can be built without keeping an old 10.6 box around that may die (and for which the licensing of 10.6 disallowed virtualization, if I recall right). On Thu, Mar 5, 2015 at 12:48 PM Ludovic Rousseau <ludovic.rousseau@gmail.com> wrote:
2015-03-03 12:55 GMT+01:00 Harry Göbel <hgoebel@ubin.ag>:
Hi,
Hello,
I want start to implement a Tokend module for a smartcard but I’m pretty unexperienced in Mac development (I just implemented a Windows MiniDriver for this smartcard).
Reading the documentation at http://smartcardservices.macosforge.org/trac/wiki/documentation/building it seems to be very simple to compile your project.
Unfortunately I’m unable to build neither the SmartCardServices nor the tokend project.
Following the documentation I called:
mkdir 9J61
cd 9J61
sudo darwinbuild –init 9J61
sudo darwinbuild SmartCardServices
After preparations and download of the sources it always ends with:
Xcodebuild: error: can’t exec '/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild‘ (errno=No such file or directory)
Regarding to the log (see attachment) it seems to be a problem with the development environment.
I’ve installed XCode (6.1.1) and command line tools and DarwinBuild.
But the log reports that gcc, as, xcodebuild are not available although they are all available:
whereis gcc -> /usr/bin/gcc
gcc –version -> Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn)
whereis as -> /usr/bin/as
as –v -> Apple Inc version cctools-862, GNU assembler version 1.38
xcodebuild –version -> Xcode 6.1.1 Build version 6A2008a
Can anyone help me please.
darwinbuild is no more maintained by Apple since some years. Look at the darwinbuild bugs. Rebuilding the tokend project using a modern Mac OS X is not easy (or even possible).
Bye
-- Dr. Ludovic Rousseau _______________________________________________ SmartcardServices-Dev mailing list SmartcardServices-Dev@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/smartcardservices-dev