librelist archives

« back to archive

Compiling C extensions in new shoes

Compiling C extensions in new shoes

From:
Douglas Allen
Date:
2015-02-09 @ 19:50
Hey all I was just gathering my old github gists today and found an app
that requires a gem with C extensions.
I call the old shoes C and the new shoes Java so can the Java version still
install gems with C extensions?
see :

https://github.com/DouglasAllen/Gather_the_gists/blob/master/shoes_analemma_data.rb

and give it a try
works in old shoes

Re: Compiling C extensions in new shoes

From:
Douglas Allen
Date:
2015-02-09 @ 19:53
please excuse my haste this code need some updating but the gem loads.

On Mon, Feb 9, 2015 at 1:50 PM, Douglas Allen <kb9agt@gmail.com> wrote:

> Hey all I was just gathering my old github gists today and found an app
> that requires a gem with C extensions.
> I call the old shoes C and the new shoes Java so can the Java version
> still install gems with C extensions?
> see :
> 
https://github.com/DouglasAllen/Gather_the_gists/blob/master/shoes_analemma_data.rb
>
> and give it a try
> works in old shoes
>

Re: Compiling C extensions in new shoes

From:
Douglas Allen
Date:
2015-02-09 @ 20:32
K. It's updated now.
The gem went through a lot of changes and maybe some more things are needed
but it works for now.

On Mon, Feb 9, 2015 at 1:53 PM, Douglas Allen <kb9agt@gmail.com> wrote:

> please excuse my haste this code need some updating but the gem loads.
>
> On Mon, Feb 9, 2015 at 1:50 PM, Douglas Allen <kb9agt@gmail.com> wrote:
>
>> Hey all I was just gathering my old github gists today and found an app
>> that requires a gem with C extensions.
>> I call the old shoes C and the new shoes Java so can the Java version
>> still install gems with C extensions?
>> see :
>> 
https://github.com/DouglasAllen/Gather_the_gists/blob/master/shoes_analemma_data.rb
>>
>> and give it a try
>> works in old shoes
>>
>
>

Re: Compiling C extensions in new shoes

From:
Douglas Allen
Date:
2015-02-09 @ 20:35
Does anybody want to help me fix the string_eot method to not drop off the
ending zeros? It's at

https://github.com/DouglasAllen/equationoftime/blob/master/lib/eot/time_displays.rb

On Mon, Feb 9, 2015 at 2:32 PM, Douglas Allen <kb9agt@gmail.com> wrote:

> K. It's updated now.
> The gem went through a lot of changes and maybe some more things are needed
> but it works for now.
>
> On Mon, Feb 9, 2015 at 1:53 PM, Douglas Allen <kb9agt@gmail.com> wrote:
>
>> please excuse my haste this code need some updating but the gem loads.
>>
>> On Mon, Feb 9, 2015 at 1:50 PM, Douglas Allen <kb9agt@gmail.com> wrote:
>>
>>> Hey all I was just gathering my old github gists today and found an app
>>> that requires a gem with C extensions.
>>> I call the old shoes C and the new shoes Java so can the Java version
>>> still install gems with C extensions?
>>> see :
>>> 
https://github.com/DouglasAllen/Gather_the_gists/blob/master/shoes_analemma_data.rb
>>>
>>> and give it a try
>>> works in old shoes
>>>
>>
>>
>

Re: [shoes] Compiling C extensions in new shoes

From:
Tobias Pfeiffer
Date:
2015-02-09 @ 19:53
Nope it can't, sorry :(

But there are pure ruby substitutions for most gems is some things that use
ffi for c integration

sent from my mobile - sorry for the brevity

www.pragtob.info
On Feb 9, 2015 8:51 PM, "Douglas Allen" <kb9agt@gmail.com> wrote:

> Hey all I was just gathering my old github gists today and found an app
> that requires a gem with C extensions.
> I call the old shoes C and the new shoes Java so can the Java version
> still install gems with C extensions?
> see :
> 
https://github.com/DouglasAllen/Gather_the_gists/blob/master/shoes_analemma_data.rb
>
> and give it a try
> works in old shoes
>

Re: [shoes] Compiling C extensions in new shoes

From:
Douglas Allen
Date:
2015-02-09 @ 20:40
Well maybe a good reason to work this gem into a compatible Jruby version
would be my next step. Two parts will have to be modified though.
The Celes gem loader and my C extensions. I'll look into it when I get time.
How's the new shoes coming along?

On Mon, Feb 9, 2015 at 1:53 PM, Tobias Pfeiffer <pragtob@gmail.com> wrote:

> Nope it can't, sorry :(
>
> But there are pure ruby substitutions for most gems is some things that
> use ffi for c integration
>
> sent from my mobile - sorry for the brevity
>
> www.pragtob.info
> On Feb 9, 2015 8:51 PM, "Douglas Allen" <kb9agt@gmail.com> wrote:
>
>> Hey all I was just gathering my old github gists today and found an app
>> that requires a gem with C extensions.
>> I call the old shoes C and the new shoes Java so can the Java version
>> still install gems with C extensions?
>> see :
>> 
https://github.com/DouglasAllen/Gather_the_gists/blob/master/shoes_analemma_data.rb
>>
>> and give it a try
>> works in old shoes
>>
>