Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility with 2.0 or higher #6

Open
adri123 opened this issue Dec 10, 2014 · 0 comments
Open

Compatibility with 2.0 or higher #6

adri123 opened this issue Dec 10, 2014 · 0 comments

Comments

@adri123
Copy link

adri123 commented Dec 10, 2014

On a mac Yosemite OsX running ruby 2.0.0 defaut install with :

  • ActiveTcl8.6.3.0.298612-macosx10.5-i386-x86_64-threaded.dmg installed
    command lauched :
  • brew install graphviz

Unfortunatly, the command :
gem install drx

output is :

cat /Library/Ruby/Gems/2.0.0/extensions/universal-darwin-14/2.0.0/drx-0.4.5/gem_make.out
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby extconf.rb
creating Makefile

make "DESTDIR=" clean

make "DESTDIR="
compiling drx_core.c
drx_core.c:109:36: error: use of undeclared identifier 'ID_ALLOCATOR'
rb_hash_aset(hash, ID2SYM(key == ID_ALLOCATOR ? id_allocator_symb : key), Qtrue);
^
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/include/ruby-2.0.0/ruby/ruby.h:363:29: note: expanded from macro 'ID2SYM'

define ID2SYM(x) (((VALUE)(x)<<RUBY_SPECIAL_SHIFT)|SYMBOL_FLAG)

                        ^

1 error generated.
make: *** [drx_core.o] Error 1

make failed, exit code 2


Any idea ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant