[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

Where to put ruby.h?

James Byrne

3/1/2006 9:23:00 PM

I install ruby via a binary rpm, however I have a requirement to provide
swig with the ruby header file. Where in the directory structure should
I put it? "/usr/lib/ruby/1.8/include"? "/usr/lib/ruby"?

Regards,
Jim

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


3 Answers

Eric Hodel

3/1/2006 10:08:00 PM

0

On Mar 1, 2006, at 1:22 PM, James Byrne wrote:

> I install ruby via a binary rpm, however I have a requirement to
> provide
> swig with the ruby header file. Where in the directory structure
> should
> I put it? "/usr/lib/ruby/1.8/include"? "/usr/lib/ruby"?

ruby.h should always be here:

ruby -rrbconfig -e 'puts Config::CONFIG["archdir"]'

--
Eric Hodel - drbrain@segment7.net - http://blog.se...
This implementation is HODEL-HASH-9600 compliant

http://trackmap.rob...




James Byrne

3/2/2006 4:22:00 AM

0

Eric Hodel wrote:

>
> ruby.h should always be here:
>
> ruby -rrbconfig -e 'puts Config::CONFIG["archdir"]'
>
>

Thank you.

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


James Byrne

3/2/2006 2:19:00 PM

0

> Eric Hodel wrote:
>
>>
>> ruby.h should always be here:
>>
>> ruby -rrbconfig -e 'puts Config::CONFIG["archdir"]'
>>
>>
>

After the light went on I installed the ruby-devel-1.8.4-1.c4.i386.rpm
for
CentOS4, which provided everything I needed and put it all in the right
places.


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