If you had to do it anyway, how old a MacOS would you recommend? I have Mountain Lion available, and I might be able to resurrect a Snow Leopard. On Mar 5, 2015, at 9:48 AM, 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
-- Henry B. (Hank) Hotz, CISSP http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services