<div dir="ltr"><div>You can build TokenD using more recent OSX build systems by following what the OpenSC folks did, see <a href="https://github.com/OpenSC/OpenSC.tokend">https://github.com/OpenSC/OpenSC.tokend</a> for recent changes they did to get it to work.<br><br></div>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).<br></div><br><div class="gmail_quote">On Thu, Mar 5, 2015 at 12:48 PM Ludovic Rousseau <<a href="mailto:ludovic.rousseau@gmail.com">ludovic.rousseau@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">2015-03-03 12:55 GMT+01:00 Harry Göbel <<a href="mailto:hgoebel@ubin.ag" target="_blank">hgoebel@ubin.ag</a>>:<br>
> Hi,<br>
<br>
Hello,<br>
<br>
> I want start to implement a Tokend module for a smartcard but I’m pretty<br>
> unexperienced in Mac development (I just implemented a Windows MiniDriver<br>
> for this smartcard).<br>
><br>
> Reading the documentation at<br>
> <a href="http://smartcardservices.macosforge.org/trac/wiki/documentation/building" target="_blank">http://smartcardservices.<u></u>macosforge.org/trac/wiki/<u></u>documentation/building</a> it<br>
> seems to be very simple to compile your project.<br>
><br>
> Unfortunately I’m unable to build neither the SmartCardServices nor the<br>
> tokend project.<br>
><br>
> Following the documentation I called:<br>
><br>
> mkdir 9J61<br>
><br>
> cd 9J61<br>
><br>
> sudo darwinbuild –init 9J61<br>
><br>
> sudo darwinbuild SmartCardServices<br>
><br>
> After preparations and download of the sources it always ends with:<br>
><br>
> Xcodebuild: error: can’t exec<br>
> '/Applications/Xcode.app/<u></u>Contents/Developer/usr/bin/<u></u>xcodebuild‘ (errno=No<br>
> such file or directory)<br>
><br>
><br>
><br>
> Regarding to the log (see attachment) it seems to be a problem with the<br>
> development environment.<br>
><br>
> I’ve installed XCode (6.1.1) and command line tools and DarwinBuild.<br>
><br>
> But the log reports that gcc, as, xcodebuild are not available although they<br>
> are all available:<br>
><br>
> whereis gcc -> /usr/bin/gcc<br>
><br>
> gcc –version -> Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM<br>
> 3.5svn)<br>
><br>
> whereis as -> /usr/bin/as<br>
><br>
> as –v -> Apple Inc version cctools-862, GNU assembler<br>
> version 1.38<br>
><br>
> xcodebuild –version -> Xcode 6.1.1 Build version 6A2008a<br>
><br>
><br>
><br>
> Can anyone help me please.<br>
<br>
darwinbuild is no more maintained by Apple since some years. Look at<br>
the darwinbuild bugs.<br>
Rebuilding the tokend project using a modern Mac OS X is not easy (or<br>
even possible).<br>
<br>
Bye<br>
<br>
--<br>
Dr. Ludovic Rousseau<br>
______________________________<u></u>_________________<br>
SmartcardServices-Dev mailing list<br>
<a href="mailto:SmartcardServices-Dev@lists.macosforge.org" target="_blank">SmartcardServices-Dev@lists.<u></u>macosforge.org</a><br>
<a href="https://lists.macosforge.org/mailman/listinfo/smartcardservices-dev" target="_blank">https://lists.macosforge.org/<u></u>mailman/listinfo/<u></u>smartcardservices-dev</a><br>
</blockquote></div>