Skip to content

Instantly share code, notes, and snippets.

@eregon
Created May 5, 2010 23:13
Show Gist options
  • Save eregon/e3ee480ffe1bc654e635 to your computer and use it in GitHub Desktop.
Save eregon/e3ee480ffe1bc654e635 to your computer and use it in GitHub Desktop.
Building Ruby trunk(2010-05-06 trunk 27635) on OSX (64bit):
Generating RI...
In file included from nkf.c:62:
nkf-utf8/nkf.c: In function ‘numchar_getc’:
nkf-utf8/nkf.c:4300: warning: implicit conversion shortens 64-bit value into a 32-bit value
nkf-utf8/nkf.c: In function ‘kanji_convert’:
nkf-utf8/nkf.c:5466: warning: comparison between signed and unsigned
nkf-utf8/nkf.c:5799: warning: empty body in an else-statement
nkf-utf8/nkf.c: In function ‘options’:
nkf-utf8/nkf.c:5906: warning: comparison between signed and unsigned
nkf.c: In function ‘rb_nkf_convert’:
nkf.c:158: warning: implicit conversion shortens 64-bit value into a 32-bit value
nkf.c:163: warning: implicit conversion shortens 64-bit value into a 32-bit value
nkf.c: In function ‘rb_nkf_guess’:
nkf.c:195: warning: implicit conversion shortens 64-bit value into a 32-bit value
yaml.h is missing. Please install libyaml.
ld: warning: directory '/opt/lib' following -L not found
ld: warning: directory '/usr/local/share/lib' following -L not found
ld: warning: directory '/usr/share/lib' following -L not found
[2010-05-06 00:39:24] make -j 3
/bin/sh: ./miniruby: No such file or directory
make: *** [rdoc] Error 127
make: *** Waiting for unfinished jobs....
[2010-05-06 00:41:52] make -j 3
In file included from /usr/include/strings.h:62,
from ./include/ruby/ruby.h:56,
from dln.c:13:
/usr/include/string.h:70: error: two or more data types in declaration specifiers
In file included from /usr/include/strings.h:62,
from ./include/ruby/ruby.h:56,
from ./include/ruby.h:32,
from main.c:13:
/usr/include/string.h:70: error: two or more data types in declaration specifiers
In file included from /usr/include/machine/types.h:37,
from /usr/include/stdlib.h:255,
from ./include/ruby/defines.h:22,
from ./include/ruby/ruby.h:74,
from ./include/ruby.h:32,
from main.c:13:
/usr/include/i386/types.h:78: error: duplicate ‘signed’
/usr/include/i386/types.h:78: error: two or more data types in declaration specifiers
/usr/include/i386/types.h:83: error: duplicate ‘short’
/usr/include/i386/types.h:88: error: two or more data types in declaration specifiers
/usr/include/i386/types.h:93: error: ‘long long long’ is too long for GCC
/usr/include/i386/types.h:105: error: two or more data types in declaration specifiers
/usr/include/i386/types.h:109: error: duplicate ‘unsigned’
In file included from /usr/include/machine/types.h:37,
from /usr/include/stdlib.h:255,
from ./include/ruby/defines.h:22,
from ./include/ruby/ruby.h:74,
from dln.c:13:
/usr/include/i386/types.h:78: error: duplicate ‘signed’
/usr/include/i386/types.h:78: error: two or more data types in declaration specifiers
/usr/include/i386/types.h:83: error: duplicate ‘short’
/usr/include/i386/types.h:88: error: two or more data types in declaration specifiers
/usr/include/i386/types.h:93: error: ‘long long long’ is too long for GCC
/usr/include/i386/types.h:105: error: two or more data types in declaration specifiers
/usr/include/i386/types.h:109: error: duplicate ‘unsigned’
In file included from ./include/ruby.h:32,
from main.c:13:
./include/ruby/ruby.h:107: error: ‘SIZEOF_INT’ undeclared here (not in a function)
./include/ruby/ruby.h:108: error: ‘SIZEOF_LONG’ undeclared here (not in a function)
./include/ruby/ruby.h:112: error: ‘SIZEOF_VOIDP’ undeclared here (not in a function)
In file included from dln.c:13:
./include/ruby/ruby.h:107: error: ‘SIZEOF_INT’ undeclared here (not in a function)
./include/ruby/ruby.h:108: error: ‘SIZEOF_LONG’ undeclared here (not in a function)
./include/ruby/ruby.h:112: error: ‘SIZEOF_VOIDP’ undeclared here (not in a function)
In file included from /usr/include/strings.h:62,
from ./include/ruby/ruby.h:56,
from encoding.c:12,
from dmyencoding.c:2:
/usr/include/string.h:70: error: two or more data types in declaration specifiers
In file included from ./include/ruby/ruby.h:1319,
from dln.c:13:
./include/ruby/intern.h:508: error: expected declaration specifiers or ‘...’ before ‘rb_pid_t’
./include/ruby/intern.h:526: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rb_fork’
./include/ruby/intern.h:527: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rb_fork_err’
./include/ruby/intern.h:529: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rb_waitpid’
./include/ruby/intern.h:530: error: expected ‘)’ before ‘pid’
./include/ruby/intern.h:531: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rb_spawn’
./include/ruby/intern.h:532: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rb_spawn_err’
./include/ruby/intern.h:534: error: expected ‘)’ before ‘pid’
In file included from /usr/include/machine/types.h:37,
from /usr/include/stdlib.h:255,
from ./include/ruby/defines.h:22,
from ./include/ruby/ruby.h:74,
from encoding.c:12,
from dmyencoding.c:2:
/usr/include/i386/types.h:78: error: duplicate ‘signed’
/usr/include/i386/types.h:78: error: two or more data types in declaration specifiers
/usr/include/i386/types.h:83: error: duplicate ‘short’
/usr/include/i386/types.h:88: error: two or more data types in declaration specifiers
/usr/include/i386/types.h:93: error: ‘long long long’ is too long for GCC
/usr/include/i386/types.h:105: error: two or more data types in declaration specifiers
/usr/include/i386/types.h:109: error: duplicate ‘unsigned’
In file included from encoding.c:12,
from dmyencoding.c:2:
./include/ruby/ruby.h:107: error: ‘SIZEOF_INT’ undeclared here (not in a function)
./include/ruby/ruby.h:108: error: ‘SIZEOF_LONG’ undeclared here (not in a function)
./include/ruby/ruby.h:112: error: ‘SIZEOF_VOIDP’ undeclared here (not in a function)
In file included from ./include/ruby/ruby.h:1319,
from ./include/ruby.h:32,
from main.c:13:
./include/ruby/intern.h:508: error: expected declaration specifiers or ‘...’ before ‘rb_pid_t’
./include/ruby/intern.h:526: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rb_fork’
./include/ruby/intern.h:527: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rb_fork_err’
./include/ruby/intern.h:529: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rb_waitpid’
./include/ruby/intern.h:530: error: expected ‘)’ before ‘pid’
./include/ruby/intern.h:531: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rb_spawn’
./include/ruby/intern.h:532: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rb_spawn_err’
./include/ruby/intern.h:534: error: expected ‘)’ before ‘pid’
In file included from ./include/ruby/ruby.h:1319,
from encoding.c:12,
from dmyencoding.c:2:
./include/ruby/intern.h:508: error: expected declaration specifiers or ‘...’ before ‘rb_pid_t’
./include/ruby/intern.h:526: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rb_fork’
./include/ruby/intern.h:527: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rb_fork_err’
./include/ruby/intern.h:529: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rb_waitpid’
./include/ruby/intern.h:530: error: expected ‘)’ before ‘pid’
./include/ruby/intern.h:531: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rb_spawn’
./include/ruby/intern.h:532: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rb_spawn_err’
./include/ruby/intern.h:534: error: expected ‘)’ before ‘pid’
make: *** [main.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [dln.o] Error 1
[...]
/bin/sh: ./miniruby: No such file or directory
make: *** [rdoc] Error 127
make: *** Waiting for unfinished jobs....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment