Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Another GCC thread about $PATH
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Rico21" data-source="post: 559938" data-attributes="member: 44907"><p>Hey folks,</p><p></p><p>I'm new here and I really would like your help as I'm a little stumped with this one...</p><p></p><p>I'm trying to install darwin ports and got the error that there was no C Compiler... I've downloaded and installed xcode and it appears that there is a string to this in PATH.. but <em>sudo port -d selfupdate</em> still tell me that it can't find it...</p><p></p><p>Here's the jazz....</p><p></p><p>Macintosh-3:bin ribo$ ls -a | grep gcc</p><p>gcc</p><p>gcc-4.0</p><p>i686-apple-darwin8-gcc-4.0.1</p><p>powerpc-apple-darwin8-gcc-4.0.1</p><p></p><p>Macintosh-3:bin ribo$ pwd</p><p>/Xcode2.5/usr/bin</p><p> </p><p>Macintosh-3:/ ribo$ echo $PATH</p><p>/opt/local/bin:/opt/local/sbin:/Xcode2.5/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin</p><p>Macintosh-3:/ ribo$ </p><p></p><p>*** ? Any help would be appreciated as I'm 3 hours into this one and still a litte fuzzy headed from NYE <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /> !</p><p></p><p>R./</p></blockquote><p></p>
[QUOTE="Rico21, post: 559938, member: 44907"] Hey folks, I'm new here and I really would like your help as I'm a little stumped with this one... I'm trying to install darwin ports and got the error that there was no C Compiler... I've downloaded and installed xcode and it appears that there is a string to this in PATH.. but [I]sudo port -d selfupdate[/I] still tell me that it can't find it... Here's the jazz.... Macintosh-3:bin ribo$ ls -a | grep gcc gcc gcc-4.0 i686-apple-darwin8-gcc-4.0.1 powerpc-apple-darwin8-gcc-4.0.1 Macintosh-3:bin ribo$ pwd /Xcode2.5/usr/bin Macintosh-3:/ ribo$ echo $PATH /opt/local/bin:/opt/local/sbin:/Xcode2.5/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin Macintosh-3:/ ribo$ *** ? Any help would be appreciated as I'm 3 hours into this one and still a litte fuzzy headed from NYE :) ! R./ [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Another GCC thread about $PATH
Top