2009/7/17 Ludovic Rousseau <ludovic.rousseau@gmail.com>:
2009/7/16 William Siegrist <wsiegrist@apple.com>:
On Jul 16, 2009, at 2:14 AM, Ludovic Rousseau wrote:
2009/7/10 William Siegrist <wsiegrist@apple.com>:
I wanted to report on recent work done to make SmartCardServices buildable outside of Apple. You can now build the Tokend and SmartCardServices projects that shipped with 10.5.6 and 10.5.7 using darwinbuild. We had to add a patch that adds includes that were needed to build with CFLite, but otherwise the source is unmodified. Darwinbuild helps by automatically putting roots in a chroot that have the private headers you need.
First, install darwinbuild ( http://darwinbuild.macosforge.org/ ), then:
# create a build environment $ mkdir ~/9J61 && cd ~/9J61 $ sudo darwinbuild -init 9J61
# build stuff $ sudo darwinbuild SmartCardServices
It worked fine until the C++ compiler is used. I have X Code 3.0 installed in my Leopard 10.5.7 system and g++-3.3 is not available. Only g++-4.0 is provided. In the BuildRoot only g++-4.0 and g++-4.2 are provided.
Can you try with Xcode 3.1.3? 3.0 is pretty old and I did not test with it.
Xcode 3.1.3 does not solve the problem. g++-3.3 is not installed by default.
I need to select "Mac OS X 10.3.9 Support" to have gcc 3.3 installed. It know works. Thanks.
I installed a new BuildRoot for Leopard 9L30 and I have the problem again :-( I installed Xcode 3.1.4 and have g++-3.3 on my system but not in the BuildRoot. And I don't remember what I did last year to have g++-3.3 installed in the BuildRoot. I can't find gcc-3.3 in http://src.macosforge.org/Roots/9A581/ Only gcc_42.root.tar.gz is available. Do I have to install gcc 3.3 *by hand* in the BuildRoot? Thanks -- Dr. Ludovic Rousseau