<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 &lt;<a href="mailto:ludovic.rousseau@gmail.com">ludovic.rousseau@gmail.com</a>&gt; 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 &lt;<a href="mailto:hgoebel@ubin.ag" target="_blank">hgoebel@ubin.ag</a>&gt;:<br>
&gt; Hi,<br>
<br>
Hello,<br>
<br>
&gt; I want start to implement a Tokend module for a smartcard but I’m pretty<br>
&gt; unexperienced in Mac development (I just implemented a Windows MiniDriver<br>
&gt; for this smartcard).<br>
&gt;<br>
&gt; Reading the documentation at<br>
&gt; <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>
&gt; seems to be very simple to compile your project.<br>
&gt;<br>
&gt; Unfortunately I’m unable to build neither the SmartCardServices nor the<br>
&gt; tokend project.<br>
&gt;<br>
&gt; Following the documentation I called:<br>
&gt;<br>
&gt; mkdir 9J61<br>
&gt;<br>
&gt; cd 9J61<br>
&gt;<br>
&gt; sudo darwinbuild –init 9J61<br>
&gt;<br>
&gt; sudo darwinbuild SmartCardServices<br>
&gt;<br>
&gt; After preparations and download of the sources it always ends with:<br>
&gt;<br>
&gt;                 Xcodebuild: error: can’t exec<br>
&gt; &#39;/Applications/Xcode.app/<u></u>Contents/Developer/usr/bin/<u></u>xcodebuild‘ (errno=No<br>
&gt; such file or directory)<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Regarding to the log (see attachment) it seems to be a problem with the<br>
&gt; development environment.<br>
&gt;<br>
&gt; I’ve installed XCode (6.1.1) and command line tools and DarwinBuild.<br>
&gt;<br>
&gt; But the log reports that gcc, as, xcodebuild are not available although they<br>
&gt; are all available:<br>
&gt;<br>
&gt; whereis gcc        -&gt; /usr/bin/gcc<br>
&gt;<br>
&gt; gcc –version      -&gt; Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM<br>
&gt; 3.5svn)<br>
&gt;<br>
&gt; whereis as          -&gt; /usr/bin/as<br>
&gt;<br>
&gt; as –v                     -&gt; Apple Inc version cctools-862, GNU assembler<br>
&gt; version 1.38<br>
&gt;<br>
&gt; xcodebuild –version      -&gt; Xcode 6.1.1 Build version 6A2008a<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; 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>