Google Groups Home
Help | Sign in
Ruby headers and OS X 10.4.3 & XCode 2.2
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Eric Hankinson  
View profile
 More options Nov 12 2005, 2:55 pm
Newsgroups: comp.lang.ruby
From: "Eric Hankinson" <eric.hankin...@gmail.com>
Date: 12 Nov 2005 11:55:30 -0800
Local: Sat, Nov 12 2005 2:55 pm
Subject: Ruby headers and OS X 10.4.3 & XCode 2.2
In addition to the problems that fixrbconfig doesn't cover, I just
noticed something that I'm not sure how to fix (I'm a ruby newb). I
don't know if this is either due to the version of XCode that I have
(most likely) or that I'm also running 10.4.3. The various ruby header
files for building gems are no longer in
/usr/lib/ruby/1.8/powerpc-darwin8.0/ I guess due to the addition of
Intel compatibility, they're now located in:
/usr/lib/ruby/1.8/universal-darwin8.0/  What do I need to change in
rbconfig.rb in order to be able to build gems & such?

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matthew Smillie  
View profile
 More options Nov 12 2005, 3:46 pm
Newsgroups: comp.lang.ruby
From: Matthew Smillie <M.B.Smil...@sms.ed.ac.uk>
Date: Sun, 13 Nov 2005 05:46:54 +0900
Local: Sat, Nov 12 2005 3:46 pm
Subject: Re: Ruby headers and OS X 10.4.3 & XCode 2.2

On Nov 12, 2005, at 19:57, Eric Hankinson wrote:

> In addition to the problems that fixrbconfig doesn't cover, I just
> noticed something that I'm not sure how to fix (I'm a ruby newb). I
> don't know if this is either due to the version of XCode that I have
> (most likely) or that I'm also running 10.4.3. The various ruby header
> files for building gems are no longer in
> /usr/lib/ruby/1.8/powerpc-darwin8.0/ I guess due to the addition of
> Intel compatibility, they're now located in:
> /usr/lib/ruby/1.8/universal-darwin8.0/  What do I need to change in
> rbconfig.rb in order to be able to build gems & such?

I haven't tried this out, but I have a hunch that by reinstalling  
rubygems as follows:

$ ruby setup.rb config --stdruby=/usr/lib/ruby/1.8/universal-darwin8.0

Since I haven't done this (and don't have XCode 2.2 to test it), I'll  
mention that I'm guessing based on "ruby setup.rb --help config"  If  
that doesn't work (and it looks like it might make some things a  
little odd) I'd try just making a symbolic link.

matthew smillie.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
coum...@gmail.com  
View profile
 More options Nov 13 2005, 2:40 am
Newsgroups: comp.lang.ruby
From: coum...@gmail.com
Date: 12 Nov 2005 23:40:23 -0800
Local: Sun, Nov 13 2005 2:40 am
Subject: Re: Ruby headers and OS X 10.4.3 & XCode 2.2
A quick fix to that problem (atleast worked for me on a simple
extension) was to link the headers from universal-darwin8.0 into
powerpc-darwin8.0

cd /usr/lib/ruby/1.8/powerpc-darwin8.0
sudo ln -s ../universal-darwin8.0/* ./

Then my extension compiled just fine.

Tyler


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Vlad GALU  
View profile
 More options Nov 13 2005, 7:55 am
Newsgroups: comp.lang.ruby
From: Vlad GALU <vladg...@gmail.com>
Date: Sun, 13 Nov 2005 21:55:26 +0900
Local: Sun, Nov 13 2005 7:55 am
Subject: Re: Ruby headers and OS X 10.4.3 & XCode 2.2
On 11/13/05, coum...@gmail.com <coum...@gmail.com> wrote:

> A quick fix to that problem (atleast worked for me on a simple
> extension) was to link the headers from universal-darwin8.0 into
> powerpc-darwin8.0

> cd /usr/lib/ruby/1.8/powerpc-darwin8.0
> sudo ln -s ../universal-darwin8.0/* ./

> Then my extension compiled just fine.

> Tyler

--
If it's there, and you can see it, it's real.
If it's not there, and you can see it, it's virtual.
If it's there, and you can't see it, it's transparent.
If it's not there, and you can't see it, you erased it.

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
bill.burc...@gmail.com  
View profile
 More options Nov 22 2005, 10:46 am
Newsgroups: comp.lang.ruby
From: bill.burc...@gmail.com
Date: 22 Nov 2005 07:46:34 -0800
Local: Tues, Nov 22 2005 10:46 am
Subject: Re: Ruby headers and OS X 10.4.3 & XCode 2.2
The link farm option is extremely distasteful since I fear it will
break other uses of C headers for other projects.  I tried the
--stdruby approach (I'm trying to get the mysql gem installed) but no
joy.

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google