Project

General

Profile

Actions

Backport #5844

closed

Can't install ruby-debug-base19

Added by bosborne (Brian Osborne) almost 13 years ago. Updated almost 13 years ago.

Status:
Rejected
Assignee:
-
[ruby-core:41908]

Description

gem install ruby-debug-base19
Building native extensions. This could take a while...
ERROR: Error installing ruby-debug-base19:
ERROR: Failed to build gem native extension.

    /usr/local/bin/ruby extconf.rb

checking for rb_method_entry_t.body in method.h... no
checking for vm_core.h... no
/usr/local/lib/ruby/gems/1.9.1/gems/ruby_core_source-0.1.5/lib/ruby_core_source.rb:39: Use RbConfig instead of obsolete and deprecated Config.
checking for rb_method_entry_t.body in method.h... no
checking for vm_core.h... yes
checking for iseq.h... yes
checking for insns.inc... yes
checking for insns_info.inc... yes
checking for eval_intern.h... yes
creating Makefile

make
compiling breakpoint.c
compiling ruby_debug.c
ruby_debug.c:29: error: conflicting types for 'rb_iseq_compile_with_option'
/usr/local/include/ruby-1.9.1/ruby-1.9.3-p0/vm_core.h:505: error: previous declaration of 'rb_iseq_compile_with_option' was here
ruby_debug.c: In function 'call_at_line_unprotected':
ruby_debug.c:480: warning: implicit conversion shortens 64-bit value into a 32-bit value
ruby_debug.c: In function 'filename_cmp':
ruby_debug.c:544: warning: implicit conversion shortens 64-bit value into a 32-bit value
ruby_debug.c:545: warning: implicit conversion shortens 64-bit value into a 32-bit value
ruby_debug.c: In function 'debug_event_hook':
ruby_debug.c:872: warning: implicit conversion shortens 64-bit value into a 32-bit value
ruby_debug.c: In function 'optional_frame_position':
ruby_debug.c:1732: warning: implicit conversion shortens 64-bit value into a 32-bit value
ruby_debug.c: In function 'do_jump':
ruby_debug.c:2346: warning: implicit conversion shortens 64-bit value into a 32-bit value
ruby_debug.c: In function 'context_jump':
ruby_debug.c:2414: warning: comparison between signed and unsigned
ruby_debug.c:2428: warning: comparison between signed and unsigned
make: *** [ruby_debug.o] Error 1

ruby -v
ruby 1.9.3p0 (2011-10-30) [x86_64-darwin11.2.0]


Related issues 1 (0 open1 closed)

Related to Ruby master - Bug #5193: ruby_thread_data_type linker errors fixed with RUBY_EXTERNThird Party's Issuenobu (Nobuyoshi Nakada)08/16/2011Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0