• 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: Problem compiling first Cocoa app in Xcode 3.1
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem compiling first Cocoa app in Xcode 3.1


  • Subject: Re: Problem compiling first Cocoa app in Xcode 3.1
  • From: "Paul Denlinger" <email@hidden>
  • Date: Sun, 20 Jul 2008 21:14:18 -0700

Sure, here is HW: 

Hardware Overview:


  Model Name: MacBook Pro

  Model Identifier: MacBookPro3,1

  Processor Name: Intel Core 2 Duo

  Processor Speed: 2.4 GHz

  Number Of Processors: 1

  Total Number Of Cores: 2

  L2 Cache: 4 MB

  Memory: 4 GB

  Bus Speed: 800 MHz

  Boot ROM Version: MBP31.0070.B07

  SMC Version: 1.16f10

  Serial Number: W87483WBXAG

  Sudden Motion Sensor:

  State: Enabled


And SW:


System Software Overview:


  System Version: Mac OS X 10.5.4 (9E17)

  Kernel Version: Darwin 9.4.0

  Boot Volume: Macintosh HD 1

  Boot Mode: Normal

  Computer Name: Paul Denlinger's MacBook Pro

  User Name: Paul Denlinger (pdenlinger)

  Time since boot: 3 days 4:26




On Sun, Jul 20, 2008 at 9:07 PM, Conrad Taylor <email@hidden> wrote:
Hey Paul, could you tell me the particulars of your environment?  For example, OS version, and Platform (i.e. Intel or PowerPC).  The default shell in Mac OS 10.5.4 is bash.  Thus, I wouldn't recommend changing anything about that because it simply works as is.  OK?

-Conrad

On Sun, Jul 20, 2008 at 8:48 PM, Paul Denlinger <email@hidden> wrote:
I entered the commands and got this response:

which ruby
/opt/local/bin/ruby
paul-denlingers-macbook-pro:/ pdenlinger$ ls -Ale@/opt/local/bin/ruby
ls: illegal option -- /
usage: ls [-ABCFGHLPRSTWabcdefghiklmnopqrstuwx1] [file ...]
paul-denlingers-macbook-pro:/ pdenlinger$ ls -Ale@/opt/local/bin/ruby
ls: illegal option -- /
usage: ls [-ABCFGHLPRSTWabcdefghiklmnopqrstuwx1] [file ...]
paul-denlingers-macbook-pro:/ pdenlinger$ 

Am I entering the second command wrong?

TIA 

Paul D

On Sun, Jul 20, 2008 at 7:59 PM, Bill Royds <email@hidden> wrote:

On 20-Jul-08, at 22:38 , Paul Denlinger wrote:

Thank you.

I have checked /usr/bin; there is no installation of Ruby there; it was moved to the /opt/local directory because of the Macports installation. Ruby will have to be downloaded, compiled and installed in the right directory.

All of this is a bit beyond my current capabilities, so if you know anyone who can do this, please have them contact me. 

Thanks again,


You shouldn't have to reinstall it. 
To check where a particular command is located type (in Terminal):
bill-royds-computer:~ billroyds$ which ruby
/usr/bin/ruby
then check to see what it actually is


bill-royds-computer:~ billroyds$ ls -Ale@ /usr/bin/ruby
lrwxr-xr-x  1 root  wheel  76 31 Oct  2007 /usr/bin/ruby -> ../../System/Library/Frameworks/Ruby.framework/Versions/Current/usr/bin/ruby

the e and @ extensions are Apple specific to show whether there are ACLs or  resource forks attached to it.

These indicate that the ruby in my /usr/bin directory i actually a symlink to /System/Library/Frameworks/Ruby.framework/Versions/Current/usr/bin/ruby (the relative path is to /usr/bin/../.. which is the root directory).
See if you still have the version above and just restore the symlink
$ sudo ln -s /System/Library/Frameworks/Ruby.framework/Versions/Current/usr/bin/ruby /usr/bin/ruby



Bill Royds





--
Paul Denlinger
"Risk is about seeing opportunities when others see challenges."
Skype: pdenlingercbs
Profile:http://www.linkedin.com/in/pauldenlinger
Visit my blog at www.chinavortex.com
China | Business | Economy | Internet|Technology


DISCLAIMER:
The content of this email and any attachment may contain proprietary and confidential information. It is intended to be conveyed only to the designated recipient(s). If you are not an intended recipient of this message, please notify the sender by replying to this message and then deleting it from your system. Use, dissemination, distribution or reproduction of this message by unintended recipients is not authorized and may be unlawful.

 _______________________________________________
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



--
Paul Denlinger
"Risk is about seeing opportunities when others see challenges."
Skype: pdenlingercbs
Profile:http://www.linkedin.com/in/pauldenlinger
Visit my blog at www.chinavortex.com
China | Business | Economy | Internet|Technology


DISCLAIMER:
The content of this email and any attachment may contain proprietary and confidential information. It is intended to be conveyed only to the designated recipient(s). If you are not an intended recipient of this message, please notify the sender by replying to this message and then deleting it from your system. Use, dissemination, distribution or reproduction of this message by unintended recipients is not authorized and may be unlawful.
 _______________________________________________
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: 
 >Problem compiling first Cocoa app in Xcode 3.1 (From: "Paul Denlinger" <email@hidden>)
 >Re: Problem compiling first Cocoa app in Xcode 3.1 (From: "Conrad Taylor" <email@hidden>)
 >Re: Problem compiling first Cocoa app in Xcode 3.1 (From: "Paul Denlinger" <email@hidden>)
 >Re: Problem compiling first Cocoa app in Xcode 3.1 (From: "Conrad Taylor" <email@hidden>)
 >Re: Problem compiling first Cocoa app in Xcode 3.1 (From: "Paul Denlinger" <email@hidden>)
 >Re: Problem compiling first Cocoa app in Xcode 3.1 (From: "Paul Denlinger" <email@hidden>)
 >Re: Problem compiling first Cocoa app in Xcode 3.1 (From: Bill Royds <email@hidden>)
 >Re: Problem compiling first Cocoa app in Xcode 3.1 (From: "Paul Denlinger" <email@hidden>)
 >Re: Problem compiling first Cocoa app in Xcode 3.1 (From: "Conrad Taylor" <email@hidden>)

  • Prev by Date: Re: Problem compiling first Cocoa app in Xcode 3.1
  • Next by Date: Re: Problem compiling first Cocoa app in Xcode 3.1
  • Previous by thread: Re: Problem compiling first Cocoa app in Xcode 3.1
  • Next by thread: Re: Problem compiling first Cocoa app in Xcode 3.1
  • Index(es):
    • Date
    • Thread