鶏肉がいいよね。

プログラミングのハマりどころメモ

MeCab-rubyのインストールでエラー ruby1.9.3

macab-rubyのmakeでエラー

MeCab_wrap.cpp: In function ‘MeCab::Tagger* new_MeCab_Tagger(const char*)’:
MeCab_wrap.cpp:1862: error: ‘getLastError’ is not a member of ‘MeCab’
MeCab_wrap.cpp: In function ‘MeCab::Tagger* new_MeCab_Tagger()’:
MeCab_wrap.cpp:1868: error: ‘getLastError’ is not a member of ‘MeCab’
MeCab_wrap.cpp: At global scope:
MeCab_wrap.cpp:1877: error: expected constructor, destructor, or type conversion before ‘*’ token
MeCab_wrap.cpp:1887: error: expected constructor, destructor, or type conversion before ‘*’ token
MeCab_wrap.cpp:1893: error: variable or field ‘delete_MeCab_Model’ declared void
MeCab_wrap.cpp:1893: error: ‘Model’ is not a member of ‘MeCab’
MeCab_wrap.cpp:1893: error: ‘t’ was not declared in this scope
MeCab_wrap.cpp:1898: error: expected constructor, destructor, or type conversion before ‘*’ token
MeCab_wrap.cpp:1902: error: variable or field ‘delete_MeCab_Lattice’ declared void
MeCab_wrap.cpp:1902: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:1902: error: ‘t’ was not declared in this scope
MeCab_wrap.cpp:2210: error: variable or field ‘MeCab_Lattice_set_sentence’ declared void
MeCab_wrap.cpp:2210: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:2210: error: ‘self’ was not declared in this scope
MeCab_wrap.cpp:2210: error: expected primary-expression before ‘char’
MeCab_wrap.cpp: In function ‘VALUE _wrap_Lattice_clear(int, VALUE*, VALUE)’:
MeCab_wrap.cpp:3236: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3236: error: ‘arg1’ was not declared in this scope
MeCab_wrap.cpp:3236: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3236: error: expected primary-expression before ‘)’ token
MeCab_wrap.cpp:3236: error: expected ‘;’ before numeric constant
MeCab_wrap.cpp:3247: error: expected type-specifier
MeCab_wrap.cpp:3247: error: expected ‘>’
MeCab_wrap.cpp:3247: error: expected ‘(’
MeCab_wrap.cpp:3247: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3247: error: expected primary-expression before ‘>’ token
MeCab_wrap.cpp:3247: error: expected ‘)’ before ‘;’ token
MeCab_wrap.cpp: In function ‘VALUE _wrap_Lattice_is_available(int, VALUE*, VALUE)’:
MeCab_wrap.cpp:3267: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3267: error: ‘arg1’ was not declared in this scope
MeCab_wrap.cpp:3267: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3267: error: expected primary-expression before ‘)’ token
MeCab_wrap.cpp:3267: error: expected ‘;’ before numeric constant
MeCab_wrap.cpp:3280: error: expected type-specifier
MeCab_wrap.cpp:3280: error: expected ‘>’
MeCab_wrap.cpp:3280: error: expected ‘(’
MeCab_wrap.cpp:3280: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3280: error: expected primary-expression before ‘>’ token
MeCab_wrap.cpp:3280: error: expected ‘)’ before ‘;’ token
MeCab_wrap.cpp:3283: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3283: error: expected ‘)’ before ‘const’
MeCab_wrap.cpp:3283: error: expected ‘)’ before ‘;’ token
MeCab_wrap.cpp: In function ‘VALUE _wrap_Lattice_bos_node(int, VALUE*, VALUE)’:
MeCab_wrap.cpp:3301: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3301: error: ‘arg1’ was not declared in this scope
MeCab_wrap.cpp:3301: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3301: error: expected primary-expression before ‘)’ token
MeCab_wrap.cpp:3301: error: expected ‘;’ before numeric constant
MeCab_wrap.cpp:3314: error: expected type-specifier
MeCab_wrap.cpp:3314: error: expected ‘>’
MeCab_wrap.cpp:3314: error: expected ‘(’
MeCab_wrap.cpp:3314: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3314: error: expected primary-expression before ‘>’ token
MeCab_wrap.cpp:3314: error: expected ‘)’ before ‘;’ token
MeCab_wrap.cpp:3317: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3317: error: expected ‘)’ before ‘const’
MeCab_wrap.cpp:3317: error: expected ‘)’ before ‘;’ token
MeCab_wrap.cpp: In function ‘VALUE _wrap_Lattice_eos_node(int, VALUE*, VALUE)’:
MeCab_wrap.cpp:3335: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3335: error: ‘arg1’ was not declared in this scope
MeCab_wrap.cpp:3335: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3335: error: expected primary-expression before ‘)’ token
MeCab_wrap.cpp:3335: error: expected ‘;’ before numeric constant
MeCab_wrap.cpp:3348: error: expected type-specifier
MeCab_wrap.cpp:3348: error: expected ‘>’
MeCab_wrap.cpp:3348: error: expected ‘(’
MeCab_wrap.cpp:3348: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3348: error: expected primary-expression before ‘>’ token
MeCab_wrap.cpp:3348: error: expected ‘)’ before ‘;’ token
MeCab_wrap.cpp:3351: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3351: error: expected ‘)’ before ‘const’
MeCab_wrap.cpp:3351: error: expected ‘)’ before ‘;’ token
MeCab_wrap.cpp: In function ‘VALUE _wrap_Lattice_end_nodes(int, VALUE*, VALUE)’:
MeCab_wrap.cpp:3369: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3369: error: ‘arg1’ was not declared in this scope
MeCab_wrap.cpp:3369: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3369: error: expected primary-expression before ‘)’ token
MeCab_wrap.cpp:3369: error: expected ‘;’ before numeric constant
MeCab_wrap.cpp:3385: error: expected type-specifier
MeCab_wrap.cpp:3385: error: expected ‘>’
MeCab_wrap.cpp:3385: error: expected ‘(’
MeCab_wrap.cpp:3385: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3385: error: expected primary-expression before ‘>’ token
MeCab_wrap.cpp:3385: error: expected ‘)’ before ‘;’ token
MeCab_wrap.cpp:3393: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3393: error: expected ‘)’ before ‘const’
MeCab_wrap.cpp:3393: error: expected ‘)’ before ‘;’ token
MeCab_wrap.cpp: In function ‘VALUE _wrap_Lattice_begin_nodes(int, VALUE*, VALUE)’:
MeCab_wrap.cpp:3411: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3411: error: ‘arg1’ was not declared in this scope
MeCab_wrap.cpp:3411: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3411: error: expected primary-expression before ‘)’ token
MeCab_wrap.cpp:3411: error: expected ‘;’ before numeric constant
MeCab_wrap.cpp:3427: error: expected type-specifier
MeCab_wrap.cpp:3427: error: expected ‘>’
MeCab_wrap.cpp:3427: error: expected ‘(’
MeCab_wrap.cpp:3427: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3427: error: expected primary-expression before ‘>’ token
MeCab_wrap.cpp:3427: error: expected ‘)’ before ‘;’ token
MeCab_wrap.cpp:3435: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3435: error: expected ‘)’ before ‘const’
MeCab_wrap.cpp:3435: error: expected ‘)’ before ‘;’ token
MeCab_wrap.cpp: In function ‘VALUE _wrap_Lattice_sentence(int, VALUE*, VALUE)’:
MeCab_wrap.cpp:3453: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3453: error: ‘arg1’ was not declared in this scope
MeCab_wrap.cpp:3453: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3453: error: expected primary-expression before ‘)’ token
MeCab_wrap.cpp:3453: error: expected ‘;’ before numeric constant
MeCab_wrap.cpp:3466: error: expected type-specifier
MeCab_wrap.cpp:3466: error: expected ‘>’
MeCab_wrap.cpp:3466: error: expected ‘(’
MeCab_wrap.cpp:3466: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3466: error: expected primary-expression before ‘>’ token
MeCab_wrap.cpp:3466: error: expected ‘)’ before ‘;’ token
MeCab_wrap.cpp:3469: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3469: error: expected ‘)’ before ‘const’
MeCab_wrap.cpp:3469: error: expected ‘)’ before ‘;’ token
MeCab_wrap.cpp: In function ‘VALUE _wrap_Lattice_size(int, VALUE*, VALUE)’:
MeCab_wrap.cpp:3496: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3496: error: ‘arg1’ was not declared in this scope
MeCab_wrap.cpp:3496: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3496: error: expected primary-expression before ‘)’ token
MeCab_wrap.cpp:3496: error: expected ‘;’ before numeric constant
MeCab_wrap.cpp:3509: error: expected type-specifier
MeCab_wrap.cpp:3509: error: expected ‘>’
MeCab_wrap.cpp:3509: error: expected ‘(’
MeCab_wrap.cpp:3509: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3509: error: expected primary-expression before ‘>’ token
MeCab_wrap.cpp:3509: error: expected ‘)’ before ‘;’ token
MeCab_wrap.cpp:3512: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3512: error: expected ‘)’ before ‘const’
MeCab_wrap.cpp:3512: error: expected ‘)’ before ‘;’ token
MeCab_wrap.cpp: In function ‘VALUE _wrap_Lattice_set_Z(int, VALUE*, VALUE)’:
MeCab_wrap.cpp:3530: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3530: error: ‘arg1’ was not declared in this scope
MeCab_wrap.cpp:3530: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3530: error: expected primary-expression before ‘)’ token
MeCab_wrap.cpp:3530: error: expected ‘;’ before numeric constant
MeCab_wrap.cpp:3544: error: expected type-specifier
MeCab_wrap.cpp:3544: error: expected ‘>’
MeCab_wrap.cpp:3544: error: expected ‘(’
MeCab_wrap.cpp:3544: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3544: error: expected primary-expression before ‘>’ token
MeCab_wrap.cpp:3544: error: expected ‘)’ before ‘;’ token
MeCab_wrap.cpp: In function ‘VALUE _wrap_Lattice_Z(int, VALUE*, VALUE)’:
MeCab_wrap.cpp:3569: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3569: error: ‘arg1’ was not declared in this scope
MeCab_wrap.cpp:3569: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3569: error: expected primary-expression before ‘)’ token
MeCab_wrap.cpp:3569: error: expected ‘;’ before numeric constant
MeCab_wrap.cpp:3582: error: expected type-specifier
MeCab_wrap.cpp:3582: error: expected ‘>’
MeCab_wrap.cpp:3582: error: expected ‘(’
MeCab_wrap.cpp:3582: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3582: error: expected primary-expression before ‘>’ token
MeCab_wrap.cpp:3582: error: expected ‘)’ before ‘;’ token
MeCab_wrap.cpp:3585: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3585: error: expected ‘)’ before ‘const’
MeCab_wrap.cpp:3585: error: expected ‘)’ before ‘;’ token
MeCab_wrap.cpp: In function ‘VALUE _wrap_Lattice_set_theta(int, VALUE*, VALUE)’:
MeCab_wrap.cpp:3603: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3603: error: ‘arg1’ was not declared in this scope
MeCab_wrap.cpp:3603: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3603: error: expected primary-expression before ‘)’ token
MeCab_wrap.cpp:3603: error: expected ‘;’ before numeric constant
MeCab_wrap.cpp:3617: error: expected type-specifier
MeCab_wrap.cpp:3617: error: expected ‘>’
MeCab_wrap.cpp:3617: error: expected ‘(’
MeCab_wrap.cpp:3617: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3617: error: expected primary-expression before ‘>’ token
MeCab_wrap.cpp:3617: error: expected ‘)’ before ‘;’ token
MeCab_wrap.cpp: In function ‘VALUE _wrap_Lattice_theta(int, VALUE*, VALUE)’:
MeCab_wrap.cpp:3642: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3642: error: ‘arg1’ was not declared in this scope
MeCab_wrap.cpp:3642: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3642: error: expected primary-expression before ‘)’ token
MeCab_wrap.cpp:3642: error: expected ‘;’ before numeric constant
MeCab_wrap.cpp:3655: error: expected type-specifier
MeCab_wrap.cpp:3655: error: expected ‘>’
MeCab_wrap.cpp:3655: error: expected ‘(’
MeCab_wrap.cpp:3655: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3655: error: expected primary-expression before ‘>’ token
MeCab_wrap.cpp:3655: error: expected ‘)’ before ‘;’ token
MeCab_wrap.cpp:3658: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3658: error: expected ‘)’ before ‘const’
MeCab_wrap.cpp:3658: error: expected ‘)’ before ‘;’ token
MeCab_wrap.cpp: In function ‘VALUE _wrap_Lattice_next(int, VALUE*, VALUE)’:
MeCab_wrap.cpp:3676: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3676: error: ‘arg1’ was not declared in this scope
MeCab_wrap.cpp:3676: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3676: error: expected primary-expression before ‘)’ token
MeCab_wrap.cpp:3676: error: expected ‘;’ before numeric constant
MeCab_wrap.cpp:3689: error: expected type-specifier
MeCab_wrap.cpp:3689: error: expected ‘>’
MeCab_wrap.cpp:3689: error: expected ‘(’
MeCab_wrap.cpp:3689: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3689: error: expected primary-expression before ‘>’ token
MeCab_wrap.cpp:3689: error: expected ‘)’ before ‘;’ token
MeCab_wrap.cpp: In function ‘VALUE _wrap_Lattice_request_type(int, VALUE*, VALUE)’:
MeCab_wrap.cpp:3710: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3710: error: ‘arg1’ was not declared in this scope
MeCab_wrap.cpp:3710: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3710: error: expected primary-expression before ‘)’ token
MeCab_wrap.cpp:3710: error: expected ‘;’ before numeric constant
MeCab_wrap.cpp:3723: error: expected type-specifier
MeCab_wrap.cpp:3723: error: expected ‘>’
MeCab_wrap.cpp:3723: error: expected ‘(’
MeCab_wrap.cpp:3723: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3723: error: expected primary-expression before ‘>’ token
MeCab_wrap.cpp:3723: error: expected ‘)’ before ‘;’ token
MeCab_wrap.cpp:3726: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3726: error: expected ‘)’ before ‘const’
MeCab_wrap.cpp:3726: error: expected ‘)’ before ‘;’ token
MeCab_wrap.cpp: In function ‘VALUE _wrap_Lattice_has_request_type(int, VALUE*, VALUE)’:
MeCab_wrap.cpp:3744: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3744: error: ‘arg1’ was not declared in this scope
MeCab_wrap.cpp:3744: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3744: error: expected primary-expression before ‘)’ token
MeCab_wrap.cpp:3744: error: expected ‘;’ before numeric constant
MeCab_wrap.cpp:3760: error: expected type-specifier
MeCab_wrap.cpp:3760: error: expected ‘>’
MeCab_wrap.cpp:3760: error: expected ‘(’
MeCab_wrap.cpp:3760: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3760: error: expected primary-expression before ‘>’ token
MeCab_wrap.cpp:3760: error: expected ‘)’ before ‘;’ token
MeCab_wrap.cpp:3768: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3768: error: expected ‘)’ before ‘const’
MeCab_wrap.cpp:3768: error: expected ‘)’ before ‘;’ token
MeCab_wrap.cpp: In function ‘VALUE _wrap_Lattice_set_request_type(int, VALUE*, VALUE)’:
MeCab_wrap.cpp:3786: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3786: error: ‘arg1’ was not declared in this scope
MeCab_wrap.cpp:3786: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3786: error: expected primary-expression before ‘)’ token
MeCab_wrap.cpp:3786: error: expected ‘;’ before numeric constant
MeCab_wrap.cpp:3800: error: expected type-specifier
MeCab_wrap.cpp:3800: error: expected ‘>’
MeCab_wrap.cpp:3800: error: expected ‘(’
MeCab_wrap.cpp:3800: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3800: error: expected primary-expression before ‘>’ token
MeCab_wrap.cpp:3800: error: expected ‘)’ before ‘;’ token
MeCab_wrap.cpp: In function ‘VALUE _wrap_Lattice_add_request_type(int, VALUE*, VALUE)’:
MeCab_wrap.cpp:3825: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3825: error: ‘arg1’ was not declared in this scope
MeCab_wrap.cpp:3825: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3825: error: expected primary-expression before ‘)’ token
MeCab_wrap.cpp:3825: error: expected ‘;’ before numeric constant
MeCab_wrap.cpp:3839: error: expected type-specifier
MeCab_wrap.cpp:3839: error: expected ‘>’
MeCab_wrap.cpp:3839: error: expected ‘(’
MeCab_wrap.cpp:3839: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3839: error: expected primary-expression before ‘>’ token
MeCab_wrap.cpp:3839: error: expected ‘)’ before ‘;’ token
MeCab_wrap.cpp: In function ‘VALUE _wrap_Lattice_remove_request_type(int, VALUE*, VALUE)’:
MeCab_wrap.cpp:3864: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3864: error: ‘arg1’ was not declared in this scope
MeCab_wrap.cpp:3864: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3864: error: expected primary-expression before ‘)’ token
MeCab_wrap.cpp:3864: error: expected ‘;’ before numeric constant
MeCab_wrap.cpp:3878: error: expected type-specifier
MeCab_wrap.cpp:3878: error: expected ‘>’
MeCab_wrap.cpp:3878: error: expected ‘(’
MeCab_wrap.cpp:3878: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3878: error: expected primary-expression before ‘>’ token
MeCab_wrap.cpp:3878: error: expected ‘)’ before ‘;’ token
MeCab_wrap.cpp: In function ‘VALUE _wrap_Lattice_toString__SWIG_0(int, VALUE*, VALUE)’:
MeCab_wrap.cpp:3903: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3903: error: ‘arg1’ was not declared in this scope
MeCab_wrap.cpp:3903: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3903: error: expected primary-expression before ‘)’ token
MeCab_wrap.cpp:3903: error: expected ‘;’ before numeric constant
MeCab_wrap.cpp:3916: error: expected type-specifier
MeCab_wrap.cpp:3916: error: expected ‘>’
MeCab_wrap.cpp:3916: error: expected ‘(’
MeCab_wrap.cpp:3916: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3916: error: expected primary-expression before ‘>’ token
MeCab_wrap.cpp:3916: error: expected ‘)’ before ‘;’ token
MeCab_wrap.cpp: In function ‘VALUE _wrap_Lattice_toString__SWIG_1(int, VALUE*, VALUE)’:
MeCab_wrap.cpp:3937: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3937: error: ‘arg1’ was not declared in this scope
MeCab_wrap.cpp:3937: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3937: error: expected primary-expression before ‘)’ token
MeCab_wrap.cpp:3937: error: expected ‘;’ before numeric constant
MeCab_wrap.cpp:3953: error: expected type-specifier
MeCab_wrap.cpp:3953: error: expected ‘>’
MeCab_wrap.cpp:3953: error: expected ‘(’
MeCab_wrap.cpp:3953: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:3953: error: expected primary-expression before ‘>’ token
MeCab_wrap.cpp:3953: error: expected ‘)’ before ‘;’ token
MeCab_wrap.cpp: In function ‘VALUE _wrap_Lattice_enumNBestAsString(int, VALUE*, VALUE)’:
MeCab_wrap.cpp:4023: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:4023: error: ‘arg1’ was not declared in this scope
MeCab_wrap.cpp:4023: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:4023: error: expected primary-expression before ‘)’ token
MeCab_wrap.cpp:4023: error: expected ‘;’ before numeric constant
MeCab_wrap.cpp:4039: error: expected type-specifier
MeCab_wrap.cpp:4039: error: expected ‘>’
MeCab_wrap.cpp:4039: error: expected ‘(’
MeCab_wrap.cpp:4039: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:4039: error: expected primary-expression before ‘>’ token
MeCab_wrap.cpp:4039: error: expected ‘)’ before ‘;’ token
MeCab_wrap.cpp: In function ‘VALUE _wrap_Lattice_what(int, VALUE*, VALUE)’:
MeCab_wrap.cpp:4065: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:4065: error: ‘arg1’ was not declared in this scope
MeCab_wrap.cpp:4065: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:4065: error: expected primary-expression before ‘)’ token
MeCab_wrap.cpp:4065: error: expected ‘;’ before numeric constant
MeCab_wrap.cpp:4078: error: expected type-specifier
MeCab_wrap.cpp:4078: error: expected ‘>’
MeCab_wrap.cpp:4078: error: expected ‘(’
MeCab_wrap.cpp:4078: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:4078: error: expected primary-expression before ‘>’ token
MeCab_wrap.cpp:4078: error: expected ‘)’ before ‘;’ token
MeCab_wrap.cpp:4081: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:4081: error: expected ‘)’ before ‘const’
MeCab_wrap.cpp:4081: error: expected ‘)’ before ‘;’ token
MeCab_wrap.cpp: In function ‘VALUE _wrap_Lattice_set_what(int, VALUE*, VALUE)’:
MeCab_wrap.cpp:4099: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:4099: error: ‘arg1’ was not declared in this scope
MeCab_wrap.cpp:4099: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:4099: error: expected primary-expression before ‘)’ token
MeCab_wrap.cpp:4099: error: expected ‘;’ before numeric constant
MeCab_wrap.cpp:4114: error: expected type-specifier
MeCab_wrap.cpp:4114: error: expected ‘>’
MeCab_wrap.cpp:4114: error: expected ‘(’
MeCab_wrap.cpp:4114: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:4114: error: expected primary-expression before ‘>’ token
MeCab_wrap.cpp:4114: error: expected ‘)’ before ‘;’ token
MeCab_wrap.cpp: At global scope:
MeCab_wrap.cpp:4140: error: variable or field ‘free_MeCab_Lattice’ declared void
MeCab_wrap.cpp:4140: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:4140: error: ‘arg1’ was not declared in this scope
MeCab_wrap.cpp: In function ‘VALUE _wrap_new_Lattice(int, VALUE*, VALUE)’:
MeCab_wrap.cpp:4163: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:4163: error: ‘result’ was not declared in this scope
MeCab_wrap.cpp:4170: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:4170: error: expected primary-expression before ‘)’ token
MeCab_wrap.cpp:4170: error: expected ‘;’ before ‘new_MeCab_Lattice’
MeCab_wrap.cpp: In function ‘VALUE _wrap_Lattice_set_sentence(int, VALUE*, VALUE)’:
MeCab_wrap.cpp:4188: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:4188: error: ‘arg1’ was not declared in this scope
MeCab_wrap.cpp:4188: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:4188: error: expected primary-expression before ‘)’ token
MeCab_wrap.cpp:4188: error: expected ‘;’ before numeric constant
MeCab_wrap.cpp:4203: error: expected type-specifier
MeCab_wrap.cpp:4203: error: expected ‘>’
MeCab_wrap.cpp:4203: error: expected ‘(’
MeCab_wrap.cpp:4203: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:4203: error: expected primary-expression before ‘>’ token
MeCab_wrap.cpp:4203: error: expected ‘)’ before ‘;’ token
MeCab_wrap.cpp:4211: error: ‘MeCab_Lattice_set_sentence’ was not declared in this scope
MeCab_wrap.cpp: In function ‘VALUE _wrap_Model_dictionary_info(int, VALUE*, VALUE)’:
MeCab_wrap.cpp:4232: error: ‘Model’ is not a member of ‘MeCab’
MeCab_wrap.cpp:4232: error: ‘arg1’ was not declared in this scope
MeCab_wrap.cpp:4232: error: ‘Model’ is not a member of ‘MeCab’
MeCab_wrap.cpp:4232: error: expected primary-expression before ‘)’ token
MeCab_wrap.cpp:4232: error: expected ‘;’ before numeric constant
MeCab_wrap.cpp:4245: error: expected type-specifier
MeCab_wrap.cpp:4245: error: expected ‘>’
MeCab_wrap.cpp:4245: error: expected ‘(’
MeCab_wrap.cpp:4245: error: ‘Model’ is not a member of ‘MeCab’
MeCab_wrap.cpp:4245: error: expected primary-expression before ‘>’ token
MeCab_wrap.cpp:4245: error: expected ‘)’ before ‘;’ token
MeCab_wrap.cpp:4248: error: ‘Model’ is not a member of ‘MeCab’
MeCab_wrap.cpp:4248: error: expected ‘)’ before ‘const’
MeCab_wrap.cpp:4248: error: expected ‘)’ before ‘;’ token
MeCab_wrap.cpp: In function ‘VALUE _wrap_Model_createTagger(int, VALUE*, VALUE)’:
MeCab_wrap.cpp:4266: error: ‘Model’ is not a member of ‘MeCab’
MeCab_wrap.cpp:4266: error: ‘arg1’ was not declared in this scope
MeCab_wrap.cpp:4266: error: ‘Model’ is not a member of ‘MeCab’
MeCab_wrap.cpp:4266: error: expected primary-expression before ‘)’ token
MeCab_wrap.cpp:4266: error: expected ‘;’ before numeric constant
MeCab_wrap.cpp:4279: error: expected type-specifier
MeCab_wrap.cpp:4279: error: expected ‘>’
MeCab_wrap.cpp:4279: error: expected ‘(’
MeCab_wrap.cpp:4279: error: ‘Model’ is not a member of ‘MeCab’
MeCab_wrap.cpp:4279: error: expected primary-expression before ‘>’ token
MeCab_wrap.cpp:4279: error: expected ‘)’ before ‘;’ token
MeCab_wrap.cpp:4282: error: ‘Model’ is not a member of ‘MeCab’
MeCab_wrap.cpp:4282: error: expected ‘)’ before ‘const’
MeCab_wrap.cpp:4282: error: expected ‘)’ before ‘;’ token
MeCab_wrap.cpp: In function ‘VALUE _wrap_Model_createLattice(int, VALUE*, VALUE)’:
MeCab_wrap.cpp:4300: error: ‘Model’ is not a member of ‘MeCab’
MeCab_wrap.cpp:4300: error: ‘arg1’ was not declared in this scope
MeCab_wrap.cpp:4300: error: ‘Model’ is not a member of ‘MeCab’
MeCab_wrap.cpp:4300: error: expected primary-expression before ‘)’ token
MeCab_wrap.cpp:4300: error: expected ‘;’ before numeric constant
MeCab_wrap.cpp:4303: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:4303: error: ‘result’ was not declared in this scope
MeCab_wrap.cpp:4313: error: expected type-specifier
MeCab_wrap.cpp:4313: error: expected ‘>’
MeCab_wrap.cpp:4313: error: expected ‘(’
MeCab_wrap.cpp:4313: error: ‘Model’ is not a member of ‘MeCab’
MeCab_wrap.cpp:4313: error: expected primary-expression before ‘>’ token
MeCab_wrap.cpp:4313: error: expected ‘)’ before ‘;’ token
MeCab_wrap.cpp:4316: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:4316: error: expected primary-expression before ‘)’ token
MeCab_wrap.cpp:4316: error: ‘Model’ is not a member of ‘MeCab’
MeCab_wrap.cpp:4316: error: expected ‘)’ before ‘const’
MeCab_wrap.cpp: In function ‘VALUE _wrap_Model_swap(int, VALUE*, VALUE)’:
MeCab_wrap.cpp:4334: error: ‘Model’ is not a member of ‘MeCab’
MeCab_wrap.cpp:4334: error: ‘arg1’ was not declared in this scope
MeCab_wrap.cpp:4334: error: ‘Model’ is not a member of ‘MeCab’
MeCab_wrap.cpp:4334: error: expected primary-expression before ‘)’ token
MeCab_wrap.cpp:4334: error: expected ‘;’ before numeric constant
MeCab_wrap.cpp:4335: error: ‘Model’ is not a member of ‘MeCab’
MeCab_wrap.cpp:4335: error: ‘arg2’ was not declared in this scope
MeCab_wrap.cpp:4335: error: ‘Model’ is not a member of ‘MeCab’
MeCab_wrap.cpp:4335: error: expected primary-expression before ‘)’ token
MeCab_wrap.cpp:4335: error: expected ‘;’ before numeric constant
MeCab_wrap.cpp:4350: error: expected type-specifier
MeCab_wrap.cpp:4350: error: expected ‘>’
MeCab_wrap.cpp:4350: error: expected ‘(’
MeCab_wrap.cpp:4350: error: ‘Model’ is not a member of ‘MeCab’
MeCab_wrap.cpp:4350: error: expected primary-expression before ‘>’ token
MeCab_wrap.cpp:4350: error: expected ‘)’ before ‘;’ token
MeCab_wrap.cpp:4355: error: expected type-specifier
MeCab_wrap.cpp:4355: error: expected ‘>’
MeCab_wrap.cpp:4355: error: expected ‘(’
MeCab_wrap.cpp:4355: error: ‘Model’ is not a member of ‘MeCab’
MeCab_wrap.cpp:4355: error: expected primary-expression before ‘>’ token
MeCab_wrap.cpp:4355: error: expected ‘)’ before ‘;’ token
MeCab_wrap.cpp: In function ‘VALUE _wrap_Model_version(int, VALUE*, VALUE)’:
MeCab_wrap.cpp:4384: error: ‘MeCab::Model’ has not been declared
MeCab_wrap.cpp: At global scope:
MeCab_wrap.cpp:4401: error: variable or field ‘free_MeCab_Model’ declared void
MeCab_wrap.cpp:4401: error: ‘Model’ is not a member of ‘MeCab’
MeCab_wrap.cpp:4401: error: ‘arg1’ was not declared in this scope
MeCab_wrap.cpp: In function ‘VALUE _wrap_Model_create__SWIG_0(int, VALUE*, VALUE)’:
MeCab_wrap.cpp:4413: error: ‘Model’ is not a member of ‘MeCab’
MeCab_wrap.cpp:4413: error: ‘result’ was not declared in this scope
MeCab_wrap.cpp:4431: error: ‘Model’ is not a member of ‘MeCab’
MeCab_wrap.cpp:4431: error: expected primary-expression before ‘)’ token
MeCab_wrap.cpp:4431: error: expected ‘;’ before ‘MeCab’
MeCab_wrap.cpp: In function ‘VALUE _wrap_Model_create__SWIG_1(int, VALUE*, VALUE)’:
MeCab_wrap.cpp:4453: error: ‘Model’ is not a member of ‘MeCab’
MeCab_wrap.cpp:4453: error: ‘result’ was not declared in this scope
MeCab_wrap.cpp:4466: error: ‘Model’ is not a member of ‘MeCab’
MeCab_wrap.cpp:4466: error: expected primary-expression before ‘)’ token
MeCab_wrap.cpp:4466: error: expected ‘;’ before ‘MeCab’
MeCab_wrap.cpp: In function ‘VALUE _wrap_new_Model__SWIG_0(int, VALUE*, VALUE)’:
MeCab_wrap.cpp:4533: error: ‘Model’ is not a member of ‘MeCab’
MeCab_wrap.cpp:4533: error: ‘result’ was not declared in this scope
MeCab_wrap.cpp:4545: error: ‘Model’ is not a member of ‘MeCab’
MeCab_wrap.cpp:4545: error: expected primary-expression before ‘)’ token
MeCab_wrap.cpp:4545: error: expected ‘;’ before ‘new_MeCab_Model’
MeCab_wrap.cpp: In function ‘VALUE _wrap_new_Model__SWIG_1(int, VALUE*, VALUE)’:
MeCab_wrap.cpp:4582: error: ‘Model’ is not a member of ‘MeCab’
MeCab_wrap.cpp:4582: error: ‘result’ was not declared in this scope
MeCab_wrap.cpp:4589: error: ‘Model’ is not a member of ‘MeCab’
MeCab_wrap.cpp:4589: error: expected primary-expression before ‘)’ token
MeCab_wrap.cpp:4589: error: expected ‘;’ before ‘new_MeCab_Model’
MeCab_wrap.cpp: In function ‘VALUE _wrap_Tagger_parse__SWIG_0(int, VALUE*, VALUE)’:
MeCab_wrap.cpp:4640: error: ‘Model’ is not a member of ‘MeCab’
MeCab_wrap.cpp:4640: error: ‘arg1’ was not declared in this scope
MeCab_wrap.cpp:4641: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:4641: error: ‘arg2’ was not declared in this scope
MeCab_wrap.cpp:4641: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:4641: error: expected primary-expression before ‘)’ token
MeCab_wrap.cpp:4641: error: expected ‘;’ before numeric constant
MeCab_wrap.cpp:4659: error: expected type-specifier
MeCab_wrap.cpp:4659: error: expected ‘>’
MeCab_wrap.cpp:4659: error: expected ‘(’
MeCab_wrap.cpp:4659: error: ‘Model’ is not a member of ‘MeCab’
MeCab_wrap.cpp:4659: error: expected primary-expression before ‘>’ token
MeCab_wrap.cpp:4659: error: expected ‘)’ before ‘;’ token
MeCab_wrap.cpp:4664: error: expected type-specifier
MeCab_wrap.cpp:4664: error: expected ‘>’
MeCab_wrap.cpp:4664: error: expected ‘(’
MeCab_wrap.cpp:4664: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:4664: error: expected primary-expression before ‘>’ token
MeCab_wrap.cpp:4664: error: expected ‘)’ before ‘;’ token
MeCab_wrap.cpp:4667: error: ‘Model’ is not a member of ‘MeCab’
MeCab_wrap.cpp:4667: error: expected ‘)’ before ‘const’
MeCab_wrap.cpp: In function ‘VALUE _wrap_Tagger_parse__SWIG_1(int, VALUE*, VALUE)’:
MeCab_wrap.cpp:4686: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:4686: error: ‘arg2’ was not declared in this scope
MeCab_wrap.cpp:4686: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:4686: error: expected primary-expression before ‘)’ token
MeCab_wrap.cpp:4686: error: expected ‘;’ before numeric constant
MeCab_wrap.cpp:4706: error: expected type-specifier
MeCab_wrap.cpp:4706: error: expected ‘>’
MeCab_wrap.cpp:4706: error: expected ‘(’
MeCab_wrap.cpp:4706: error: ‘Lattice’ is not a member of ‘MeCab’
MeCab_wrap.cpp:4706: error: expected primary-expression before ‘>’ token
MeCab_wrap.cpp:4706: error: expected ‘)’ before ‘;’ token
MeCab_wrap.cpp: In function ‘VALUE _wrap_Tagger_set_request_type(int, VALUE*, VALUE)’:
MeCab_wrap.cpp:5110: error: ‘class MeCab::Tagger’ has no member named ‘set_request_type’
MeCab_wrap.cpp: In function ‘VALUE _wrap_Tagger_request_type(int, VALUE*, VALUE)’:
MeCab_wrap.cpp:5143: error: ‘const class MeCab::Tagger’ has no member named ‘request_type’
MeCab_wrap.cpp: In function ‘VALUE _wrap_Tagger_what(int, VALUE*, VALUE)’:
MeCab_wrap.cpp:5503: error: passing ‘const MeCab::Tagger’ as ‘this’ argument of ‘virtual const char* MeCab::Tagger::what()’ discards qualifiers
MeCab_wrap.cpp: In function ‘void Init_MeCab()’:
MeCab_wrap.cpp:6303: error: ‘MECAB_ONE_BEST’ was not declared in this scope
MeCab_wrap.cpp:6304: error: ‘MECAB_NBEST’ was not declared in this scope
MeCab_wrap.cpp:6305: error: ‘MECAB_PARTIAL’ was not declared in this scope
MeCab_wrap.cpp:6306: error: ‘MECAB_MARGINAL_PROB’ was not declared in this scope
MeCab_wrap.cpp:6307: error: ‘MECAB_ALTERNATIVE’ was not declared in this scope
MeCab_wrap.cpp:6308: error: ‘MECAB_ALL_MORPHS’ was not declared in this scope
MeCab_wrap.cpp:6309: error: ‘MECAB_ALLOCATE_SENTENCE’ was not declared in this scope
MeCab_wrap.cpp:6339: error: ‘free_MeCab_Lattice’ was not declared in this scope
MeCab_wrap.cpp:6353: error: ‘free_MeCab_Model’ was not declared in this scope
make: *** [MeCab_wrap.o] エラー 1

MeCab本体のバージョンがずれてるのが原因みたい。
MeCab 0.99をインストールして再度makeしたらおkだった

追記
PostgreSQLでtsvector()とか使っていると、0.99では動かなかった。
最終的に

とした
バインディングのアーカイブはこちらDownloads -
mecab -


Japanese morphological analyzer - Google Project Hosting