Re: Trouble with Xcode and gcc
Re: Trouble with Xcode and gcc
- Subject: Re: Trouble with Xcode and gcc
- From: Chris Espinosa <email@hidden>
- Date: Thu, 23 Jul 2009 14:26:08 -0700
On Jul 23, 2009, at 1:52 PM, B Russell wrote: I am trying to accomplish this: <http://www.schwie.com/brad/macosxsftpchroot/> "Chroot sftp/scp user on Mac OS X 10.4.2 (Tiger)" which involves installing scponly (and, apparently, xcode?).
When I ran the step "./configure --enable-chrooted-binary" it could not find gcc. So after much surfing I installed Xcode 2.5 for Tiger... and it still could not find gcc.
So after more surfing... I added /Xcode2.5/usr/bin to path in "~/.profile" and now I'm getting this error when I run "./configure..."! "C compiler cannot create executables"
Oh, heavens to Betsy, why is this so complicated? Why doesn't Xtools install put gcc in path? What does this latest error mean? Before I go too far down the rabbit hole, can anybody help get to where I need to go simply? I appreciate your much needed help, somebody! Thank you!!!! :)
(I'm a novice, if it isn't evident by now.)
Those instructions were written nearly four years ago, and 18 Mac OS X releases and seven Xcode releases have transpired since that time. The instructions are written for Xcode 2.4.1, which installs in /Developer (not in /Xcode2.5) and which has a completely different structure for organizing build tools; the whole point of Xcode 2.5 is to be portable to Mac OS X 10.5 and to coexist with Xcode 3.0, which is why it's installed in a folder of a different name and does not put its build tools into the $PATH by default.
If you indeed have Mac OS X 10.4 and need to follow those instructions, remove Xcode2.5 and download and install Xcode 2.4.1 instead.
Chris |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden