lsegal / barracuda

Barracuda is a Ruby wrapper library for the OpenCL architecture.
http://gnuu.org
MIT License
114 stars 16 forks source link

Can't Run Tests with Ruby 1.8.7 on MacOSX 10.6 #1

Closed adamsanderson closed 15 years ago

adamsanderson commented 15 years ago

I was hoping to try out Barracuda, and was neither able to run it from the gem, or when building it from the source off of GitHub. Here's the test output (it's complaining about rb_ary_replace).

RockLobster:barracuda netghost$ ruby --version ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0]

RockLobster:barracuda netghost$ rake test (in /Users/netghost/Projects/open_cl/barracuda) cd ext && make make: Nothing to be done for `all'. Loaded suite /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader Started ...dyld: lazy symbol binding failed: Symbol not found: _rb_ary_replace Referenced from: /Users/netghost/Projects/open_cl/barracuda/ext/barracuda.bundle Expected in: flat namespace

dyld: Symbol not found: _rb_ary_replace Referenced from: /Users/netghost/Projects/open_cl/barracuda/ext/barracuda.bundle Expected in: flat namespace

rake aborted! Command failed with status (): [/System/Library/Frameworks/Ruby.framework/...]

lsegal commented 15 years ago

Hi, the lib was initially written for 1.9.1. I've changed some stuff to make it more portable.

lsegal commented 15 years ago

Add support for Ruby 1.8.7

Closed by fbc85aa015646cfa5e31111b7fdfa81e63f9830e

preston commented 13 years ago

Ruby 1.8.7 works for me as of today.