Darwin ports

 
Thread Tools Search this Thread
Operating Systems OS X (Apple) Darwin ports
# 1  
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
# 2  
Old 07-05-2009
the build tools are on the os x install dvd...
# 3  
Old 07-05-2009
Quote:
Originally Posted by DukeNuke2
the build tools are on the os x install dvd...
thanx DukeNuke, I installed Application DVD, but still get the same messge
Code:
Error: /opt/local/bin/port: port selfupdate failed: Error installing new MacPorts base: shell command "cd /opt/local/var/macports/sources/rsync.macports.org/release/base && ./configure --prefix=/opt/local --with-tclpackage=/Library/Tcl --with-install-user=root --with-install-group=admin --with-directory-mode=0755 && make && make install" returned 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
configure: error: in `/opt/local/var/macports/sources/rsync.macports.org/release/base':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.

# 4  
Old 07-05-2009
as you can read in the outputs last line: "no compiler in $path". you need to fix this. check you path settings and make sure your gcc can be found in your path!
# 5  
Old 07-07-2009
well I don't understand what's wrong.
I add to $PATH
Code:
# export PATH = $PATH:/usr/local/bin:/usr/local/sbin

and still same error ... cannot find gcc.

I installed Rudix, which has a lot of tools for UNIX. I installed mc, and when I wanted to run:
Code:
$ mc
dyld: Library not loaded: /usr/local/lib/libintl.8.dylib
  Referenced from: /usr/local/bin/mc
  Reason: image not found
Trace/BPT trap

do I need to add something to my $PATH?

thanks
# 6  
Old 07-07-2009
By "build tools" I'm assuming "Developer Tools".

When you say "Application DVD" I'm assuming Application DVD.

So to be clear, the question is, did you install the developer tools (Xcode)? That is the "build tools" you are looking for. They are located on the first install disk in a folder called "Optional..." Xcode.
# 7  
Old 08-28-2009
Unless you have Xcode installed it is impossible to use MacPorts or to compile anything from source. I would make sure that you have that installed. I had no problems with MacPorts after installing Xcode on Mac OS 10.5.7
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. Linux

Darwin x86 kernel only

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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
Login or Register to Ask a Question

Featured Tech Videos