#727: re.h header missing
--------------------------------+-------------------------------------------
Reporter: spamfaen...@… | Owner: lsansone...@…
Type: defect | Status: new
Priority: blocker | Milestone:
Component: MacRuby | Keywords:
--------------------------------+-------------------------------------------
I've tried to install the cucumber gem and this almost works, but when
gherkin tries to compile it's native extension, it dies because it's
missing the re.h header.
Here's the error output:
-- snip --
["/Library/Frameworks/MacRuby.framework/Versions/0.6/usr/bin/macruby
extconf.rb", "checking for main() in -lc... yes
creating Makefile
", "make", "/usr/bin/gcc -I.
-I/Library/Frameworks/MacRuby.framework/Versions/0.6/usr/include/ruby-1.9.0
/universal-darwin10.0
-I/Library/Frameworks/MacRuby.framework/Versions/0.6/usr/include/ruby-1.9.0/ruby/backward
-I/Library/Frameworks/MacRuby.framework/Versions/0.6/usr/include/ruby-1.9.0
-I. -fno-common -fexceptions -fno-common -pipe -O3 -g -Wall -Wno-
parentheses -O0 -Wall -Werror -arch i386 -arch x86_64 -o
gherkin_lexer_ar.o -c gherkin_lexer_ar.c
/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ar.c.rl:11:16: error:
re.h: No such file or directory
cc1: warnings being treated as errors
/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ar.c.rl: In function
‘store_pystring_content’:
/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ar.c.rl:298: warning:
implicit declaration of function ‘rb_reg_regcomp’
/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ar.c.rl: In function
‘CLexer_scan’:
/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ar.c.rl:373: warning:
initialization discards qualifiers from pointer target type
{standard input}:5519:non-relocatable subtraction expression,
\"L_rb_each$non_lazy_ptr\" minus \"L00000000003$pb\"
{standard input}:5519:symbol: \"L_rb_each$non_lazy_ptr\" can't be
undefined in a subtraction expression
{standard input}:105:non-relocatable subtraction expression,
\"L_rb_cFalseClass$non_lazy_ptr\" minus \"L00000000001$pb\"
{standard input}:105:symbol: \"L_rb_cFalseClass$non_lazy_ptr\" can't be
undefined in a subtraction expression
{standard input}:95:non-relocatable subtraction expression,
\"L_rb_cNilClass$non_lazy_ptr\" minus \"L00000000001$pb\"
{standard input}:95:symbol: \"L_rb_cNilClass$non_lazy_ptr\" can't be
undefined in a subtraction expression
{standard input}:80:non-relocatable subtraction expression,
\"L_rb_cTrueClass$non_lazy_ptr\" minus \"L00000000001$pb\"
{standard input}:80:symbol: \"L_rb_cTrueClass$non_lazy_ptr\" can't be
undefined in a subtraction expression
{standard input}:70:non-relocatable subtraction expression,
\"L_rb_cFloat$non_lazy_ptr\" minus \"L00000000001$pb\"
{standard input}:70:symbol: \"L_rb_cFloat$non_lazy_ptr\" can't be
undefined in a subtraction expression
{standard input}:58:non-relocatable subtraction expression,
\"L_rb_cFixnum$non_lazy_ptr\" minus \"L00000000001$pb\"
{standard input}:58:symbol: \"L_rb_cFixnum$non_lazy_ptr\" can't be
undefined in a subtraction expression
{standard input}:unknown:Undefined local symbol L_rb_cFixnum$non_lazy_ptr
{standard input}:unknown:Undefined local symbol L_rb_cFloat$non_lazy_ptr
{standard input}:unknown:Undefined local symbol
L_rb_cTrueClass$non_lazy_ptr
{standard input}:unknown:Undefined local symbol
L_rb_cNilClass$non_lazy_ptr
{standard input}:unknown:Undefined local symbol
L_rb_cFalseClass$non_lazy_ptr
{standard input}:unknown:Undefined local symbol L_rb_each$non_lazy_ptr
/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ar.c.rl:11:16: error:
re.h: No such file or directory
cc1: warnings being treated as errors
/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ar.c.rl: In function
‘store_pystring_content’:
/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ar.c.rl:298: warning:
implicit declaration of function ‘rb_reg_regcomp’
/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ar.c.rl: In function
‘CLexer_scan’:
/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ar.c.rl:373: warning:
initialization discards qualifiers from pointer target type
lipo: can't open input file:
/var/folders/LF/LFMUjaMKFXapXskEhAG4+k+++TI/-Tmp-//ccEJtX9n.out (No such
file or directory)
make: *** [gherkin_lexer_ar.o] Error 1
"]
-- snap --
--
Ticket URL: <http://www.macruby.org/trac/ticket/727>
MacRuby <http://macruby.org/>
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel