The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > OS X (Apple)
.
google unix.com



OS X (Apple) OS X is a line of Unix-based graphical operating systems developed, marketed, and sold by Apple.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
sed -i on Darwin platz UNIX for Dummies Questions & Answers 1 05-15-2009 02:24 PM
Darwin 10.4 - Gnome kpedersen OS X (Apple) 3 08-20-2008 10:47 PM
GNU-Darwin RedVenim OS X (Apple) 4 11-07-2003 05:52 AM
Darwin x86 Karma UNIX for Dummies Questions & Answers 5 06-10-2003 02:04 PM
Make for Mac OS X (Darwin) garb UNIX for Dummies Questions & Answers 2 10-16-2002 12:52 PM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-05-2009
hirohitosan hirohitosan is offline
Registered User
  
 

Join Date: Jun 2009
Posts: 4
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 (permalink)  
Old 07-05-2009
DukeNuke2's Avatar
DukeNuke2 DukeNuke2 is online now Forum Staff  
Soulman
  
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 2,956
the build tools are on the os x install dvd...
  #3 (permalink)  
Old 07-05-2009
hirohitosan hirohitosan is offline
Registered User
  
 

Join Date: Jun 2009
Posts: 4
Quote:
Originally Posted by DukeNuke2 View Post
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 (permalink)  
Old 07-05-2009
DukeNuke2's Avatar
DukeNuke2 DukeNuke2 is online now Forum Staff  
Soulman
  
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 2,956
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 (permalink)  
Old 07-07-2009
hirohitosan hirohitosan is offline
Registered User
  
 

Join Date: Jun 2009
Posts: 4
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 (permalink)  
Old 07-07-2009
[MA]Flying_Meat [MA]Flying_Meat is offline
Registered User
  
 

Join Date: Sep 2002
Location: San Fran
Posts: 130
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.
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 12:04 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0