Sponsored Content
Full Discussion: Darwin ports
Operating Systems OS X (Apple) Darwin ports Post 302331249 by hirohitosan on Sunday 5th of July 2009 07:12:29 AM
Old 07-05-2009
Darwin ports

Hi there.
I have an MacBookPro and I want to install Darwin ports.
I downloaded & installed MacPorts-1.7.0.pkg and now I don't know what to do.

I tried:
Code:
 # port -d selfupdate
....
error 1
Command output: checking build system type... i686-apple-darwin9.7.0
checking host system type... i686-apple-darwin9.7.0
checking target system type... i686-apple-darwin9.7.0
checking MacPorts version... 1.7.1
checking for sw_vers... sw_vers
checking Mac OS X version... 10.5.7
checking for gcc... no
checking for cc... no
checking for cl.exe... no

as I understood I need gcc or another C++ compiler.
Where can I get gcc for mac?

thanks
 

10 More Discussions You Might Find Interesting

1. Programming

ncurses/Darwin

I am using Darwin on Mac OS X.I.I (new to both Unix and C++). I downloaded the ncurses library from http://prdownloads.sourceforge.net/gnu-darwin/ncurses-5.2.tgz, but I don't know what to do with it now. Stuffit has expanded the archive, but I still have the original .tgz as well (if that's... (1 Reply)
Discussion started by: parmenides
1 Replies

2. UNIX for Dummies Questions & Answers

ADSL with Darwin 1.41

Hey everyone, just to let you all know "I'm an uber n00b" I'm connected to Telstra Bigpond's (Australian ISP) ADSL network, now I;m running Darwin 1.41 on an Apple Macintosh PPC computer. I don't know how to set up ADSL on this system, can someone please guide me. (3 Replies)
Discussion started by: Syphor
3 Replies

3. UNIX for Dummies Questions & Answers

Make for Mac OS X (Darwin)

Can anyone tell me where to find "make". I have performed an exhaustive search of my system using find - to no avail. (2 Replies)
Discussion started by: garb
2 Replies

4. UNIX for Dummies Questions & Answers

Darwin x86

so, what's everyone's opinion on Darwin (x86 rendition)? is it worth installing at the moment? pros? cons? comments? (5 Replies)
Discussion started by: Karma
5 Replies

5. OS X (Apple)

GNU-Darwin

Did anyone here about GNU-Darwin? http://gnu-darwin.org/ Read Bout it! And Darwin can be found here: http://www.opendarwin.org Tell me what U think (4 Replies)
Discussion started by: RedVenim
4 Replies

6. BSD

Darwin via PearPC

How can I send Ctrl+Alt+Del for Darwin running in PearPC for Linux? (1 Reply)
Discussion started by: eugrus
1 Replies

7. Linux

Darwin x86 kernel only

Is there a link somewhere someone knows about? KW (1 Reply)
Discussion started by: kwa71
1 Replies

8. OS X (Apple)

Darwin 10.4 - Gnome

Hello, I was curious about how one would go about installing gnome on darwin. As far as I know it must be harder than FreeBSD because there doesn't seem to be any ports for it. Would you have to first set up a build environment (GCC etc...) and then compile it from scratch? or is there an... (3 Replies)
Discussion started by: kpedersen
3 Replies

9. UNIX for Dummies Questions & Answers

sed -i on Darwin

This is the first time I've come across this issue sed -i 's/"//g' iscrmireturns sed: 1: "iscrmi": command i expects \ followed by textApparently the -i option is non-standard FreeBSD extensions - does that mean it's not available on Darwin? Strange (1 Reply)
Discussion started by: platz
1 Replies

10. UNIX for Dummies Questions & Answers

Shell variable is Darwin (OS X)

I'm going through my book on bash and have come to a section on Shell Variables. The editing mode variables don't seem to be there, unless I'm missing something. It says no manual entry for them -- commands like HISTCMD, HISTCONTROL, HISTIGNORE, HISTFILE, HISTFILESIZE, HISTSIZE, HISTTIMEFORMAT,... (0 Replies)
Discussion started by: Straitsfan
0 Replies
GO-PATH(7)						 Miscellaneous Information Manual						GO-PATH(7)

NAME
go - tool for managing Go source code DESCRIPTION
The Go path is used to resolve import statements. It is implemented by and documented in the go/build package. The GOPATH environment variable lists places to look for Go code. On Unix, the value is a colon-separated string. On Windows, the value is a semicolon-separated string. On Plan 9, the value is a list. GOPATH must be set to build and install packages outside the standard Go tree. Each directory listed in GOPATH must have a prescribed structure: The src/ directory holds source code. The path below 'src' determines the import path or executable name. The pkg/ directory holds installed package objects. As in the Go tree, each target operating system and architecture pair has its own sub- directory of pkg (pkg/GOOS_GOARCH). If DIR is a directory listed in the GOPATH, a package with source in DIR/src/foo/bar can be imported as "foo/bar" and has its compiled form installed to "DIR/pkg/GOOS_GOARCH/foo/bar.a". The bin/ directory holds compiled commands. Each command is named for its source directory, but only the final element, not the entire path. That is, the command with source in DIR/src/foo/quux is installed into DIR/bin/quux, not DIR/bin/foo/quux. The foo/ is stripped so that you can add DIR/bin to your PATH to get at the installed commands. If the GOBIN environment variable is set, commands are installed to the directory it names instead of DIR/bin. Here's an example directory layout: GOPATH=/home/user/gocode /home/user/gocode/ src/ foo/ bar/ (go code in package bar) x.go quux/ (go code in package main) y.go bin/ quux (installed command) pkg/ linux_amd64/ foo/ bar.a (installed package object) Go searches each directory listed in GOPATH to find source code, but new packages are always downloaded into the first directory in the list. AUTHOR
This manual page was written by Michael Stapelberg <stapelberg@debian.org>, for the Debian project (and may be used by others). 2012-05-13 GO-PATH(7)
All times are GMT -4. The time now is 08:24 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy