• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: installation of xcode 3.1.2 appears to have removed command line tools
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: installation of xcode 3.1.2 appears to have removed command line tools


  • Subject: Re: installation of xcode 3.1.2 appears to have removed command line tools
  • From: Scott Tooker <email@hidden>
  • Date: Wed, 11 Feb 2009 20:44:11 -0800


On Feb 11, 2009, at 7:53 PM, Bob Harris wrote:

Howdy,

This evening I installed 3.1.2 and while xcode seems to work fine, I have lost the use of Terminal commands like make and gcc.

History: I develop command-line based programs, the kind which xcode calls "standard tool". I build these with make, compiling with gcc; I typicallly only use xcode when I want to debug. This situation has worked fine for me for about four years.

Recently I upgraded my machine (an intel imac from 2006) from OSX 10.4 to 10.5 (and done all system updates, it is now at 10.5.6). After doing this, upon trying to build my project using make from the Terminal, some modules compiled but linker failed (even after removing all old .o files). Xcode also failed, telling me my old version wouldn't run on leopard. So I installed xcode 3.1.2 this evening. And now my attempts to build from the Terminal don't get off the ground, because "make" is no longer a valid command ("-bash: make: command not found"). Note that "make" was a recognized command before I installed Xcode, so it's pretty clear that the xcode installation is the culprit.

Installation was from "Xcode 3.1.2 Developer Tools DVD (Disk Image)", XcodeTools.mkpg. During the installation I only chose "Developer Tools Essentials". I did not install "System Tools" or Unix Development" (because the descriptions of those in the installer window did not seem to fit my use) nor the other two (something having to do with 10.3.9 and web objects).

The "Unix Development" choice is exactly what you want if you desire a copy of the tools in /usr/bin. Otherwise you'll need to add '<Xcode directory>/usr/bin' (where <Xcode directory> is wherever you installed the tools) to your PATH variable.


It's also a good idea to install the "System Tools" package since that contains content that exists outside the Developer folder and provides support for Instruments integration and CHUD (among other things).

Scott



So my question is, are make and gcc part of one of the things I did not install? Or is there something else I need to do to re-enable these?


Thanks for any help.
Bob
_______________________________________________
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

_______________________________________________ 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
References: 
 >installation of xcode 3.1.2 appears to have removed command line tools (From: Bob Harris <email@hidden>)

  • Prev by Date: command line arguments in xcode 3.1.2?
  • Next by Date: Re: Using atos & reading crash logs
  • Previous by thread: installation of xcode 3.1.2 appears to have removed command line tools
  • Next by thread: command line arguments in xcode 3.1.2?
  • Index(es):
    • Date
    • Thread