rsky/php-mecab — Issue #3: Unable to make
Author: yannis1962
Created: 2012-01-07 11:20:53+00:00
State: open

When I try to make php-mecab, I get the following error:

make
/bin/bash /data/KANJI_PROJECT/REUTERS/MECAB/mecab-0.99/rsky-php-mecab-4193188/libtool --mode=compile cc -I. -I/data/KANJI_PROJECT/REUTERS/MECAB/mecab-0.99/rsky-php-mecab-4193188 -DPHP_ATOM_INC -I/data/KANJI_PROJECT/REUTERS/MECAB/mecab-0.99/rsky-php-mecab-4193188/include -I/data/KANJI_PROJECT/REUTERS/MECAB/mecab-0.99/rsky-php-mecab-4193188/main -I/data/KANJI_PROJECT/REUTERS/MECAB/mecab-0.99/rsky-php-mecab-4193188 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -c /data/KANJI_PROJECT/REUTERS/MECAB/mecab-0.99/rsky-php-mecab-4193188/mecab.c -o mecab.lo
libtool: compile: cc -I. -I/data/KANJI_PROJECT/REUTERS/MECAB/mecab-0.99/rsky-php-mecab-4193188 -DPHP_ATOM_INC -I/data/KANJI_PROJECT/REUTERS/MECAB/mecab-0.99/rsky-php-mecab-4193188/include -I/data/KANJI_PROJECT/REUTERS/MECAB/mecab-0.99/rsky-php-mecab-4193188/main -I/data/KANJI_PROJECT/REUTERS/MECAB/mecab-0.99/rsky-php-mecab-4193188 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -c /data/KANJI_PROJECT/REUTERS/MECAB/mecab-0.99/rsky-php-mecab-4193188/mecab.c -fPIC -DPIC -o .libs/mecab.o
/data/KANJI_PROJECT/REUTERS/MECAB/mecab-0.99/rsky-php-mecab-4193188/mecab.c: In function ‘php_mecab_node_list_func’:
/data/KANJI_PROJECT/REUTERS/MECAB/mecab-0.99/rsky-php-mecab-4193188/mecab.c:1518: error: ‘mecab_node_t’ has no member named ‘sentence_length’
/data/KANJI_PROJECT/REUTERS/MECAB/mecab-0.99/rsky-php-mecab-4193188/mecab.c:1521: error: ‘mecab_node_t’ has no member named ‘sentence_length’
/data/KANJI_PROJECT/REUTERS/MECAB/mecab-0.99/rsky-php-mecab-4193188/mecab.c:1525: error: ‘mecab_node_t’ has no member named ‘end_node_list’
/data/KANJI_PROJECT/REUTERS/MECAB/mecab-0.99/rsky-php-mecab-4193188/mecab.c:1525: error: ‘mecab_node_t’ has no member named ‘begin_node_list’
/data/KANJI_PROJECT/REUTERS/MECAB/mecab-0.99/rsky-php-mecab-4193188/mecab.c: In function ‘php_mecab_node_list_method’:
/data/KANJI_PROJECT/REUTERS/MECAB/mecab-0.99/rsky-php-mecab-4193188/mecab.c:1579: error: ‘mecab_node_t’ has no member named ‘sentence_length’
/data/KANJI_PROJECT/REUTERS/MECAB/mecab-0.99/rsky-php-mecab-4193188/mecab.c:1582: error: ‘mecab_node_t’ has no member named ‘sentence_length’
/data/KANJI_PROJECT/REUTERS/MECAB/mecab-0.99/rsky-php-mecab-4193188/mecab.c:1585: error: ‘mecab_node_t’ has no member named ‘end_node_list’
/data/KANJI_PROJECT/REUTERS/MECAB/mecab-0.99/rsky-php-mecab-4193188/mecab.c:1585: error: ‘mecab_node_t’ has no member named ‘begin_node_list’
/data/KANJI_PROJECT/REUTERS/MECAB/mecab-0.99/rsky-php-mecab-4193188/mecab.c: In function ‘zif_mecab_node_toarray’:
/data/KANJI_PROJECT/REUTERS/MECAB/mecab-0.99/rsky-php-mecab-4193188/mecab.c:3145: error: ‘mecab_node_t’ has no member named ‘sentence_length’
/data/KANJI_PROJECT/REUTERS/MECAB/mecab-0.99/rsky-php-mecab-4193188/mecab.c: In function ‘zif_mecab_node_sentence_length’:
/data/KANJI_PROJECT/REUTERS/MECAB/mecab-0.99/rsky-php-mecab-4193188/mecab.c:3538: error: ‘mecab_node_t’ has no member named ‘sentence_length’
/data/KANJI_PROJECT/REUTERS/MECAB/mecab-0.99/rsky-php-mecab-4193188/mecab.c: In function ‘zim_MeCab_Node___get’:
/data/KANJI_PROJECT/REUTERS/MECAB/mecab-0.99/rsky-php-mecab-4193188/mecab.c:3819: error: ‘mecab_node_t’ has no member named ‘sentence_length’
make: *** [mecab.lo] Error 1

Could you please help me?