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

------------------------------------------------------------------------------
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

Reply via email to