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

Remix won't compile on 1.9.3p194 over here #14

Open
pmarreck opened this issue Sep 11, 2012 · 0 comments
Open

Remix won't compile on 1.9.3p194 over here #14

pmarreck opened this issue Sep 11, 2012 · 0 comments

Comments

@pmarreck
Copy link

>> echo $CC

/usr/bin/gcc-4.2

>> ruby --version

ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin11.3.0]

>> gem install remix

Fetching: remix-0.4.9.gem (100%)
Building native extensions. This could take a while...
ERROR: Error installing remix:
ERROR: Failed to build gem native extension.

    /Users/me/.rvm/rubies/ruby-1.9.3-p194/bin/ruby extconf.rb

creating Makefile

make
compiling remix.c
In file included from remix.c:7:
compat.h: In function ‘class_alloc’:
compat.h:26: error: invalid application of ‘sizeof’ to incomplete type ‘rb_classext_t’
compat.h:30: warning: implicit declaration of function ‘RCLASS_IV_TBL’
compat.h:30: error: lvalue required as left operand of assignment
compat.h:31: warning: implicit declaration of function ‘RCLASS_M_TBL’
compat.h:31: error: lvalue required as left operand of assignment
compat.h:32: warning: passing argument 1 of ‘rb_class_get_superclass’ makes integer from pointer without a cast
compat.h:32: error: lvalue required as left operand of assignment
compat.h:33: warning: implicit declaration of function ‘RCLASS_IV_INDEX_TBL’
compat.h:33: error: lvalue required as left operand of assignment
remix.c: In function ‘j_class_new’:
remix.c:41: error: lvalue required as left operand of assignment
remix.c:45: error: lvalue required as left operand of assignment
remix.c:54: error: lvalue required as left operand of assignment
remix.c:56: error: lvalue required as left operand of assignment
remix.c:59: error: lvalue required as left operand of assignment
remix.c: In function ‘rb_prepare_for_remix’:
remix.c:97: error: lvalue required as left operand of assignment
remix.c: In function ‘retrieve_imod_before_mod’:
remix.c:138: warning: ISO C90 forbids mixed declarations and code
remix.c: In function ‘retrieve_imod_for_mod’:
remix.c:154: warning: ISO C90 forbids mixed declarations and code
remix.c: In function ‘rb_module_move_up’:
remix.c:174: warning: ISO C90 forbids mixed declarations and code
remix.c: In function ‘rb_module_move_down’:
remix.c:191: warning: ISO C90 forbids mixed declarations and code
remix.c: In function ‘rb_include_at’:
remix.c:240: warning: ISO C90 forbids mixed declarations and code
remix.c: In function ‘rb_swap_modules’:
remix.c:258: warning: ISO C90 forbids mixed declarations and code
remix.c:269: error: lvalue required as left operand of assignment
remix.c:269: error: lvalue required as left operand of assignment
remix.c:269: error: lvalue required as left operand of assignment
remix.c:270: error: lvalue required as left operand of assignment
remix.c:270: error: lvalue required as left operand of assignment
remix.c:270: error: lvalue required as left operand of assignment
remix.c: In function ‘remove_nested_module’:
remix.c:286: error: lvalue required as left operand of assignment
remix.c: In function ‘rb_uninclude’:
remix.c:315: warning: ISO C90 forbids mixed declarations and code
remix.c:324: warning: ISO C90 forbids mixed declarations and code
remix.c:332: error: lvalue required as left operand of assignment
remix.c: In function ‘rb_replace_module’:
remix.c:351: warning: ISO C90 forbids mixed declarations and code
remix.c:355: warning: this function may return with or without a value
make: *** [remix.o] Error 1

Would love to play with this to implement a backport of Refinements to 1.9.x...

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