[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

ruby headers in mac os x

pierodancona

1/5/2007 5:30:00 PM

Sorry for the stupid question. I am trying to build
rubyOSA 0.2.0 on my Mac Powerbook, OS X.4.8.
When I run "ruby extconf.rb", following the instructions,
I get the answer "can't find header files for ruby".
When you stop laughing, please, tell me: what should I do?

Thanks a lot,
Piero

2 Answers

Laurent Sansonetti

1/6/2007 1:21:00 AM

0

Hi Piero,

Did you install the developer tool package? IIRC you can install it
from the Mac OS X installation DVD.

(You can check this by running 'gcc' on the terminal, if you see
'command not found' you don't have the developer tool package.)

HTH,
Laurent

On 1/5/07, pierodancona@gmail.com <pierodancona@gmail.com> wrote:
> Sorry for the stupid question. I am trying to build
> rubyOSA 0.2.0 on my Mac Powerbook, OS X.4.8.
> When I run "ruby extconf.rb", following the instructions,
> I get the answer "can't find header files for ruby".
> When you stop laughing, please, tell me: what should I do?
>
> Thanks a lot,
> Piero
>
>
>

Suraj Kurapati

1/7/2007 2:26:00 AM

0

unknown wrote:
> I am trying to build
> rubyOSA 0.2.0 on my Mac Powerbook, OS X.4.8.
> When I run "ruby extconf.rb", following the instructions,
> I get the answer "can't find header files for ruby".

It is looking for the ruby.h file.

In Ubuntu/Debian I install the ruby-dev package to get those header
files. I assume there is a similar package for Mac.

--
Posted via http://www.ruby-....