Error message when trying to install XcodeTools

Joined
Mar 26, 2009
Messages
1
Reaction score
0
Points
1
So I'm learning to program and I wanted to install Xcode tools on my Mac so I can compile C with gcc. I tried to install from my Leopard CD, but when it prompts me to select a destination volume, it says that I cannot install on my Macintosh HD. The error message says:

"You cannot install Xcode Tools on this volume. A version of Mac OS X 10.4 was not found."

The same thing happens when I try to just install gcc or Developer Tools from the disc. This is the disc I used to install my current OS, so why am I getting this error and how can I get around it?

I'm running Mac OS X 10.5.6 (9G55). Is there a version of gcc or another free C compiler available for my OS?

Thanks!
 

vansmith

Senior Member
Joined
Oct 19, 2008
Messages
19,924
Reaction score
559
Points
113
Location
Queensland
Your Mac's Specs
Mini (2014, 2018, 2020), MBA (2020), iPad Pro (2018), iPhone 13 Pro Max, Watch (S6)
Try downloading Xcode from Apple here. IIRC, you will have to sign up for an account first.
 

chscag

Well-known member
Staff member
Admin
Joined
Jan 23, 2008
Messages
65,248
Reaction score
1,833
Points
113
Location
Keller, Texas
Your Mac's Specs
2017 27" iMac, 10.5" iPad Pro, iPhone 8, iPhone 11, iPhone 12 Mini, Numerous iPods, Monterey
The reason you can't install a copy of X code and tools might be because it's already installed with Leopard. Look under Applications -> Utilities -> XCode.app.

Regards.
 

vansmith

Senior Member
Joined
Oct 19, 2008
Messages
19,924
Reaction score
559
Points
113
Location
Queensland
Your Mac's Specs
Mini (2014, 2018, 2020), MBA (2020), iPad Pro (2018), iPhone 13 Pro Max, Watch (S6)
The reason you can't install a copy of X code and tools might be because it's already installed with Leopard. Look under Applications -> Utilities -> XCode.app.

Regards.
Is Xcode not installed under /Developer?
 

chscag

Well-known member
Staff member
Admin
Joined
Jan 23, 2008
Messages
65,248
Reaction score
1,833
Points
113
Location
Keller, Texas
Your Mac's Specs
2017 27" iMac, 10.5" iPad Pro, iPhone 8, iPhone 11, iPhone 12 Mini, Numerous iPods, Monterey
Is Xcode not installed under /Developer?

No, I don't think so. All I can see on my machine under /Developer are the Applet Launcher.app and Jar Bundler.app. I don't believe Xcode has to be installed there to use it although I could certainly be wrong about that. :)

Regards.
 

vansmith

Senior Member
Joined
Oct 19, 2008
Messages
19,924
Reaction score
559
Points
113
Location
Queensland
Your Mac's Specs
Mini (2014, 2018, 2020), MBA (2020), iPad Pro (2018), iPhone 13 Pro Max, Watch (S6)
No, I don't think so. All I can see on my machine under /Developer are the Applet Launcher.app and Jar Bundler.app. I don't believe Xcode has to be installed there to use it although I could certainly be wrong about that. :)

Regards.
After some quick searching, the default is /Developer but it can be installed anywhere.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top