From deanwampler at gmail.com Sat Nov 1 18:00:48 2008 From: deanwampler at gmail.com (Dean Wampler) Date: Sat, 1 Nov 2008 17:00:48 -0500 Subject: [Revactor-talk] Trouble installing Revactor for Ruby 1.9.1 Message-ID: <6cf2a94f0811011500w4ecf488x1b7ec464591e4214@mail.gmail.com> I'm having trouble during the "building native extensions" phase while installing revactor. I'm on OS X (Leopard) and I have Ruby 1.9.1 installed in /usr/local/ruby1.9.1 Here's the build error: gcc -I. -I/usr/local/ruby191/include/ruby-1.9.1/i386-darwin9.5.0 -I/usr/local/ruby191/include/ruby-1.9.1/ruby/backward -I/usr/local/ruby191/include/ruby-1.9.1 -I. -DRUBY_VERSION_CODE=191 -DHAVE_RB_THREAD_BLOCKING_REGION -DHAVE_RB_THREAD_BLOCKING_REGION -DHAVE_RB_STR_SET_LEN -DHAVE_RB_STR_SET_LEN -DHAVE_SYS_SELECT_H -DEV_USE_SELECT -DHAVE_POLL_H -DEV_USE_POLL -DHAVE_SYS_EVENT_H -DHAVE_SYS_QUEUE_H -DEV_USE_KQUEUE -DHAVE_OPENSSL_SSL_H -DHAVE_OPENSSL_SSL_H -DHAVE_SYSCTLBYNAME -DHAVE_SYSCTLBYNAME -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -O2 -g -Wall -Wno-parentheses -pipe -fno-common -o rev_loop.o -c rev_loop.c In file included from rev_loop.c:9: /usr/local/ruby191/include/ruby-1.9.1/ruby/backward/rubysig.h:14:2: warning: #warning rubysig.h is obsolete In file included from rev.h:11, from rev_loop.c:14: /usr/local/ruby191/include/ruby-1.9.1/ruby/backward/rubyio.h:2:2: warning: #warning use "ruby/io.h" instead of "rubyio.h" rev_loop.c: In function 'Rev_Loop_ev_loop_oneshot': rev_loop.c:211: error: 'RB_UBF_DFL' undeclared (first use in this function) rev_loop.c:211: error: (Each undeclared identifier is reported only once rev_loop.c:211: error: for each function it appears in.) make: *** [rev_loop.o] Error 1 Could this be due to a change between ruby 1.9.0 and 1.9.1? TIA, dean -- Dean Wampler http://www.objectmentor.com http://www.polyglotprogramming.com http://www.aspectprogramming.com http://aquarium.rubyforge.org http://www.contract4j.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From tony at medioh.com Sun Nov 2 14:26:01 2008 From: tony at medioh.com (Tony Arcieri) Date: Sun, 2 Nov 2008 12:26:01 -0700 Subject: [Revactor-talk] Trouble installing Revactor for Ruby 1.9.1 In-Reply-To: <6cf2a94f0811011500w4ecf488x1b7ec464591e4214@mail.gmail.com> References: <6cf2a94f0811011500w4ecf488x1b7ec464591e4214@mail.gmail.com> Message-ID: On Sat, Nov 1, 2008 at 3:00 PM, Dean Wampler wrote: > Could this be due to a change between ruby 1.9.0 and 1.9.1? > Yep, certainly looks like incompatibilities between 1.9.0 and 1.9.1. I'll snag a copy of 1.9.1 and see if I can get these taken care of. -- Tony Arcieri medioh.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at codekitchen.net Tue Nov 4 18:47:12 2008 From: brian at codekitchen.net (Brian Palmer) Date: Tue, 4 Nov 2008 16:47:12 -0700 Subject: [Revactor-talk] Trouble installing Revactor for Ruby 1.9.1 Message-ID: I was able to fix this error (in Rev) by changing RB_UBF_DFL to RUBY_UBF_IO on that line. After that change the latest revision of Rev pulled from github builds and runs find on Ruby 1.9.1. -- Brian From tony at medioh.com Wed Nov 5 17:13:03 2008 From: tony at medioh.com (Tony Arcieri) Date: Wed, 5 Nov 2008 15:13:03 -0700 Subject: [Revactor-talk] Trouble installing Revactor for Ruby 1.9.1 In-Reply-To: References: Message-ID: On Tue, Nov 4, 2008 at 4:47 PM, Brian Palmer wrote: > I was able to fix this error (in Rev) by changing RB_UBF_DFL to RUBY_UBF_IO > on that line. After that change the latest revision of Rev pulled from > github builds and runs find on Ruby 1.9.1. > Okay, I'll incorporate those changes into Rev. The next release of Rev should build on Ruby 1.8.6, 1.8.7, 1.9.0, and 1.9.1 -- Tony Arcieri medioh.com -------------- next part -------------- An HTML attachment was scrubbed... URL: