Hi Alexander, Thanks for the response.
I knew Fink was just using the plist file to confirm the version and I considered tricking Fink by just copying that file and putting it where it was looking for it but I assumed it would not eventually solve anything since I assume Fink needs to know where Xcode really is. I don't remember intentionally keeping a copy of Xcode 3.0. I have no problem removing it as long as it doesn't cause any problems. I still have the xcode_3.2.3_and_iphone_sdk_4__final.dmg image file saved. Also I checked Apple's website and they still ave Xcode 3.2.6 available. I don't want to install Xcode 4 yet because I remember reading somewhere that Fink will not support Xcode 4 until Lion is released. The only thing I would be concerned about is losing any preferences that I might have set up in Xcode and Interface Builder. Of course all my project files are in a different directory. But I do not know what specific user information might have been saved in the /Developer/Applications/Xcode directories that might be lost and if the installer preserves them. My assumption is that it would all be in the plist file(s) and as long as I back those up and run Time Machine I would be OK. Thanks again. Mike -----Original Message----- From: Alexander Hansen [mailto:[email protected]] Sent: Friday, July 08, 2011 10:21 AM To: Mike Marquez Cc: [email protected] Subject: Re: [Fink-beginners] Changing the default path used to detect the Xcode version -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 7/7/11 11:15 PM, Mike Marquez wrote: > I get the following error when attempting to install a package: > > "Can't resolve dependency "xcode (>= 3.1.2)" for package > "gcc44-4.4.6-1000" (no matching packages/versions found)" > > I think the problem is due to the fact that Fink looks for the > property list file assuming the path is > "/Developer/Applications/Xcode.app/Contents/version" and my copy of > Xcode is in > "/Developer/Applications/Xcode3.2/Applications/Xcode.app/Contents/vers > ion". > I believe this was the default location that the installer chose > perhaps because Xcode3.0 was already installed in the > "/Developer/Applications" directory. > > How do I configure Fink so that it knows Xcode is in this directory? > > Thanks > Fink really only cares about the command-line excutables from Xcode, but it uses the version string from /Developer/Applications/Xcode.app to determine what version of the Xcode Tools is installed because "xcodebuild --version" doesn't do that on 10.4. (this test was implemented a while back) I'm not sure why you'd need Xcode 3.0 on 10.6.8. If you don't need it, and if you've got an Xcode 3.2.x disk image handy, I'd suggest running /Developer/Library/uninstall-devtools to clean up your Xcodes and then run the Xcode 3.2.x installer again to install it in the default location. Or, you could copy /Developer/Applications/Xcode3.2/Applications/Xcode.app to /Developer/Applications (and move the older Xcode.app out of the way). Otherwise, you might edit the gcc44 package description file (location given via "fink dumpinfo -finfofile gcc44") and remove the xcode dependency. You may need to do this for other packages, too. I don't recommend editing the fink code that handles this, because it will just get overwritten when fink gets updated. - -- 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/ iEYEARECAAYFAk4XElEACgkQB8UpO3rKjQ/gJACaA27bYzWjSuuo1K3Dx8LCYNnh U/QAoJy9BsLYLAGKUGy/GaP58iFpcuJk =Mpnh -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Fink-beginners mailing list [email protected] List archive: http://news.gmane.org/gmane.os.apple.fink.beginners Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-beginners
