"mailscanner.c:32:16: error: re.h: No such file or directory" I suspect it's doing
require "re.h" In Ruby 1.9, the following should be done instead require "ruby/re.h" Laurent On May 12, 2010, at 8:01 AM, Brian Marick wrote: > I'm trying to install tmail in macruby 0.6. While building the native > extensions, I get the following. Ideas? > > > Building native extensions. This could take a while... > ERROR: Error installing tmail: > make failed: > > ["/Library/Frameworks/MacRuby.framework/Versions/0.6/usr/bin/macruby > extconf.rb", "creating Makefile\n", "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 > -D_FILE_OFFSET_BITS=64 -arch i386 -arch x86_64 -o tmailscanner.o -c > tmailscanner.c\ntmailscanner.c:32:16: error: re.h: No such file or > directory\ntmailscanner.c: In function 'mails_s_new':\ntmailscanner.c:93: > warning: assignment discards qualifiers from pointer target > type\ntmailscanner.c: In function > 'skip_japanese_string':\ntmailscanner.c:218: warning: implicit declaration of > function 'ismbchar'\ntmailscanner.c:219: warning: implicit declaration of > function 'mbclen'\ntmailscanner.c: In function 'digit_p':\ntm ai > lscanner.c:410: warning: assignment discards qualifiers from pointer target > type\ntmailscanner.c: In function 'atomsym':\ntmailscanner.c:430: warning: > initialization discards qualifiers from pointer target > type\ntmailscanner.c:32:16: error: re.h: No such file or > directory\ntmailscanner.c: In function 'mails_s_new':\ntmailscanner.c:93: > warning: assignment discards qualifiers from pointer target > type\ntmailscanner.c: In function > 'skip_japanese_string':\ntmailscanner.c:218: warning: implicit declaration of > function 'ismbchar'\ntmailscanner.c:219: warning: implicit declaration of > function 'mbclen'\ntmailscanner.c: In function > 'digit_p':\ntmailscanner.c:410: warning: assignment discards qualifiers from > pointer target type\ntmailscanner.c: In function > 'atomsym':\ntmailscanner.c:430: warning: initialization discards qualifiers > from pointer target type\nlipo: can't open input file: /var/tmp//ccheFt8w.out > (No such file or directory)\nmake: *** [tmailscanner.o] Error 1\n"] > > > ----- > Brian Marick, independent consultant > Mostly on agile methods with a testing slant > Author of /Programming Cocoa with Ruby/ > www.exampler.com, www.exampler.com/blog, www.twitter.com/marick > > _______________________________________________ > MacRuby-devel mailing list > MacRuby-devel@lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel