Forum: Ruby-core [ruby-trunk - Bug #7971][Open] bson_ext doesn't install correctly

Posted by rosenfeld (Rodrigo Rosenfeld Rosas) (Guest)
on 2013-02-26 15:03
(Received via mailing list)
Issue #7971 has been reported by rosenfeld (Rodrigo Rosenfeld Rosas).

----------------------------------------
Bug #7971: bson_ext doesn't install correctly
https://bugs.ruby-lang.org/issues/7971

Author: rosenfeld (Rodrigo Rosenfeld Rosas)
Status: Open
Priority: Normal
Assignee:
Category: ext
Target version:
ruby -v: ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-linux]


In 1.9.3 the gem would generate ext/bson_ext/cbson.so but now it 
generates ext/bson_ext/bson_ext instead. I can't see what's wrong with 
extconf.rb:

dir_config('cbson')
create_makefile('bson_ext/cbson')

I should notice I'm using RVM because I don't know if that makes any 
difference.

What should be done to generate ext/bson_ext/cbson.so like before?
Posted by rosenfeld (Rodrigo Rosenfeld Rosas) (Guest)
on 2013-02-26 16:10
(Received via mailing list)
Issue #7971 has been updated by rosenfeld (Rodrigo Rosenfeld Rosas).


The title should be "bson_ext doesn't install correctly in Ruby 
2.0.0-p0" but it seems I'm not allowed to change it myself...
----------------------------------------
Bug #7971: bson_ext doesn't install correctly
https://bugs.ruby-lang.org/issues/7971#change-37103

Author: rosenfeld (Rodrigo Rosenfeld Rosas)
Status: Open
Priority: Normal
Assignee:
Category: ext
Target version:
ruby -v: ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-linux]


In 1.9.3 the gem would generate ext/bson_ext/cbson.so but now it 
generates ext/bson_ext/bson_ext instead. I can't see what's wrong with 
extconf.rb:

dir_config('cbson')
create_makefile('bson_ext/cbson')

I should notice I'm using RVM because I don't know if that makes any 
difference.

What should be done to generate ext/bson_ext/cbson.so like before?
Posted by Nobuyoshi Nakada (nobu)
on 2013-02-26 19:33
(Received via mailing list)
Issue #7971 has been updated by nobu (Nobuyoshi Nakada).

Subject changed from bson_ext doesn't install correctly to bson_ext 
doesn't install correctly in Ruby 2.0.0-p0
Description updated


----------------------------------------
Bug #7971: bson_ext doesn't install correctly in Ruby 2.0.0-p0
https://bugs.ruby-lang.org/issues/7971#change-37111

Author: rosenfeld (Rodrigo Rosenfeld Rosas)
Status: Open
Priority: Normal
Assignee:
Category: ext
Target version:
ruby -v: ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-linux]



=begin
In 1.9.3 the gem would generate ((%ext/bson_ext/cbson.so%)) but now it 
generates ((%ext/bson_ext/bson_ext%)) instead. I can't see what's wrong 
with ((%extconf.rb%)):

 dir_config('cbson')
 create_makefile('bson_ext/cbson')

I should notice I'm using RVM because I don't know if that makes any 
difference.

What should be done to generate ((%ext/bson_ext/cbson.so%)) like before?
=end
Posted by mame (Yusuke Endoh) (Guest)
on 2013-02-27 00:08
(Received via mailing list)
Issue #7971 has been updated by mame (Yusuke Endoh).

Description updated
Status changed from Open to Assigned
Assignee set to nobu (Nobuyoshi Nakada)
Target version set to current: 2.1.0


----------------------------------------
Bug #7971: bson_ext doesn't install correctly in Ruby 2.0.0-p0
https://bugs.ruby-lang.org/issues/7971#change-37119

Author: rosenfeld (Rodrigo Rosenfeld Rosas)
Status: Assigned
Priority: Normal
Assignee: nobu (Nobuyoshi Nakada)
Category: ext
Target version: current: 2.1.0
ruby -v: ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-linux]


=begin
In 1.9.3 the gem would generate ((%ext/bson_ext/cbson.so%)) but now it 
generates ((%ext/bson_ext/bson_ext%)) instead. I can't see what's wrong 
with ((%extconf.rb%)):

 dir_config('cbson')
 create_makefile('bson_ext/cbson')

I should notice I'm using RVM because I don't know if that makes any 
difference.

What should be done to generate ((%ext/bson_ext/cbson.so%)) like before?
=end
Posted by drbrain (Eric Hodel) (Guest)
on 2013-02-28 23:27
(Received via mailing list)
Issue #7971 has been updated by drbrain (Eric Hodel).


Thank you nobu for the RubyGems patch!
----------------------------------------
Bug #7971: bson_ext doesn't install correctly in Ruby 2.0.0-p0
https://bugs.ruby-lang.org/issues/7971#change-37205

Author: rosenfeld (Rodrigo Rosenfeld Rosas)
Status: Closed
Priority: Normal
Assignee: nobu (Nobuyoshi Nakada)
Category: ext
Target version: current: 2.1.0
ruby -v: ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-linux]


=begin
In 1.9.3 the gem would generate ((%ext/bson_ext/cbson.so%)) but now it 
generates ((%ext/bson_ext/bson_ext%)) instead. I can't see what's wrong 
with ((%extconf.rb%)):

 dir_config('cbson')
 create_makefile('bson_ext/cbson')

I should notice I'm using RVM because I don't know if that makes any 
difference.

What should be done to generate ((%ext/bson_ext/cbson.so%)) like before?
=end
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.