-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2/17/12 10:04 AM, Jack Howarth wrote: > It might be a reasonable idea to add a few lines of code to fink > that checks for an unset developer directory path. I believe all > recent Xcode releases have been setting this path so only Xcode > 4.3 would result in 'xcodebuild -version' producing the error... > > Error: No developer directory found at /Developer. Run > /usr/bin/xcode-select to update the developer directory path. > > We could either have fink error out with a message that the user > needs to execute... > > sudo xcode-select -switch /Applications/Xcode.app > > or assume that the user must be on Xcode 4.3 or later and execute > that command for them. Since I have observed that the /usr/bin/c++ > symlink can be left set to llvm-g++-4.2 when the developer > directory path is unset, I worry what other obscure issues could > exist as well in that case. Jack >
For what it's worth, "xcodebuild -version" is only used in the bootstrap script, and there only to check whether Xcode's version is within the allowable limits for the OS version. Everywhere else in fink VirtPackage.pm is used, and that has been updated for fink-0.32.3 . I wouldn't think that /usr/bin/c++ still pointing to llvm-g++-4.2 should really matter, since we've gone to all of the trouble to circumvent it with the path-prefix-clang wrappers. "c++" is still "clang++" by default for Fink builds on 10.7. If anything, I'd worry more about packages that _don't_ work with clang that suddenly find themselves trying to build with it, due to a maintainer using e.g. SetCC: /usr/bin/gcc - -- Alexander Hansen, Ph.D. Fink User Liaison http://finkakh.wordpress.com/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk8+eaIACgkQB8UpO3rKjQ/mGQCfSK1gLI92bynl0OCO5pu5TV7T X4cAn3HsD+SbGCFaKNqiNg+6U/lSjYlV =/AnR -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel