libpinyin / ibus-libpinyin

GNU General Public License v3.0
631 stars 90 forks source link

1.5.91 could not build again libpinyin 0.8.93 #13

Closed felixonmars closed 11 years ago

felixonmars commented 11 years ago
  CXX      ibus_engine_libpinyin-PYPPhoneticEditor.o
PYPConfig.cc:58:9: error: 'PINYIN_INCOMPLETE' was not declared in this scope
PYPConfig.cc:58:9: note: suggested alternative:
In file included from /usr/include/libpinyin-0.8.93/pinyin.h:28:0,
                 from PYPConfig.h:33,
                 from PYPConfig.cc:21:
/usr/include/libpinyin-0.8.93/pinyin_custom2.h:33:5: note:   'pinyin::PINYIN_INC
OMPLETE'
PYPConfig.cc:59:9: error: 'CHEWING_INCOMPLETE' was not declared in this scope
PYPConfig.cc:59:9: note: suggested alternative:
In file included from /usr/include/libpinyin-0.8.93/pinyin.h:28:0,
                 from PYPConfig.h:33,
                 from PYPConfig.cc:21:
/usr/include/libpinyin-0.8.93/pinyin_custom2.h:34:5: note:   'pinyin::CHEWING_IN
COMPLETE'
PYPConfig.cc:60:9: error: 'PINYIN_CORRECT_ALL' was not declared in this scope
PYPConfig.cc:60:9: note: suggested alternative:
In file included from /usr/include/libpinyin-0.8.93/pinyin.h:28:0,
                 from PYPConfig.h:33,
                 from PYPConfig.cc:21:
/usr/include/libpinyin-0.8.93/pinyin_custom2.h:77:5: note:   'pinyin::PINYIN_COR
RECT_ALL'
PYPConfig.cc: In member function 'void PY::LibPinyinConfig::initDefaultValues()'
:
PYPConfig.cc:84:21: error: 'PINYIN_INCOMPLETE' was not declared in this scope
PYPConfig.cc:84:21: note: suggested alternative:
In file included from /usr/include/libpinyin-0.8.93/pinyin.h:28:0,
                 from PYPConfig.h:33,
                 from PYPConfig.cc:21:
/usr/include/libpinyin-0.8.93/pinyin_custom2.h:33:5: note:   'pinyin::PINYIN_INC
OMPLETE'
PYPConfig.cc:84:41: error: 'CHEWING_INCOMPLETE' was not declared in this scope
PYPConfig.cc:84:41: note: suggested alternative:
In file included from /usr/include/libpinyin-0.8.93/pinyin.h:28:0,
                 from PYPConfig.h:33,
                 from PYPConfig.cc:21:
/usr/include/libpinyin-0.8.93/pinyin_custom2.h:34:5: note:   'pinyin::CHEWING_IN
COMPLETE'
PYPConfig.cc:84:62: error: 'PINYIN_CORRECT_ALL' was not declared in this scope
PYPConfig.cc:84:62: note: suggested alternative:
In file included from /usr/include/libpinyin-0.8.93/pinyin.h:28:0,
                 from PYPConfig.h:33,
                 from PYPConfig.cc:21:
/usr/include/libpinyin-0.8.93/pinyin_custom2.h:77:5: note:   'pinyin::PINYIN_COR
RECT_ALL'
PYPConfig.cc: At global scope:
PYPConfig.cc:111:33: error: 'PINYIN_INCOMPLETE' was not declared in this scope
PYPConfig.cc:111:33: note: suggested alternative:
In file included from /usr/include/libpinyin-0.8.93/pinyin.h:28:0,
                 from PYPConfig.h:33,
                 from PYPConfig.cc:21:
/usr/include/libpinyin-0.8.93/pinyin_custom2.h:33:5: note:   'pinyin::PINYIN_INC
OMPLETE'
PYPConfig.cc:111:51: error: 'CHEWING_INCOMPLETE' was not declared in this scope
PYPConfig.cc:111:51: note: suggested alternative:
In file included from /usr/include/libpinyin-0.8.93/pinyin.h:28:0,
                 from PYPConfig.h:33,
                 from PYPConfig.cc:21:
/usr/include/libpinyin-0.8.93/pinyin_custom2.h:34:5: note:   'pinyin::CHEWING_IN
COMPLETE'
PYPConfig.cc:113:33: error: 'PINYIN_AMB_C_CH' was not declared in this scope
PYPConfig.cc:113:33: note: suggested alternative:
In file included from /usr/include/libpinyin-0.8.93/pinyin.h:28:0,
                 from PYPConfig.h:33,
                 from PYPConfig.cc:21:
/usr/include/libpinyin-0.8.93/pinyin_custom2.h:48:5: note:   'pinyin::PINYIN_AMB
_C_CH'
PYPConfig.cc:114:33: error: 'PINYIN_AMB_Z_ZH' was not declared in this scope
PYPConfig.cc:114:33: note: suggested alternative:
In file included from /usr/include/libpinyin-0.8.93/pinyin.h:28:0,
                 from PYPConfig.h:33,
                 from PYPConfig.cc:21:
/usr/include/libpinyin-0.8.93/pinyin_custom2.h:50:5: note:   'pinyin::PINYIN_AMB
_Z_ZH'
PYPConfig.cc:115:33: error: 'PINYIN_AMB_S_SH' was not declared in this scope
PYPConfig.cc:115:33: note: suggested alternative:
In file included from /usr/include/libpinyin-0.8.93/pinyin.h:28:0,
                 from PYPConfig.h:33,
                 from PYPConfig.cc:21:
/usr/include/libpinyin-0.8.93/pinyin_custom2.h:49:5: note:   'pinyin::PINYIN_AMB
_S_SH'
PYPConfig.cc:116:33: error: 'PINYIN_AMB_L_N' was not declared in this scope
PYPConfig.cc:116:33: note: suggested alternative:
In file included from /usr/include/libpinyin-0.8.93/pinyin.h:28:0,
                 from PYPConfig.h:33,
                 from PYPConfig.cc:21:
/usr/include/libpinyin-0.8.93/pinyin_custom2.h:53:5: note:   'pinyin::PINYIN_AMB
_L_N'
PYPConfig.cc:117:33: error: 'PINYIN_AMB_F_H' was not declared in this scope
PYPConfig.cc:117:33: note: suggested alternative:
In file included from /usr/include/libpinyin-0.8.93/pinyin.h:28:0,
                 from PYPConfig.h:33,
                 from PYPConfig.cc:21:
/usr/include/libpinyin-0.8.93/pinyin_custom2.h:51:5: note:   'pinyin::PINYIN_AMB
_F_H'
PYPConfig.cc:118:33: error: 'PINYIN_AMB_L_R' was not declared in this scope
PYPConfig.cc:118:33: note: suggested alternative:
In file included from /usr/include/libpinyin-0.8.93/pinyin.h:28:0,
                 from PYPConfig.h:33,
                 from PYPConfig.cc:21:
/usr/include/libpinyin-0.8.93/pinyin_custom2.h:54:5: note:   'pinyin::PINYIN_AMB
_L_R'
PYPConfig.cc:119:33: error: 'PINYIN_AMB_G_K' was not declared in this scope
PYPConfig.cc:119:33: note: suggested alternative:
In file included from /usr/include/libpinyin-0.8.93/pinyin.h:28:0,
                 from PYPConfig.h:33,
                 from PYPConfig.cc:21:
/usr/include/libpinyin-0.8.93/pinyin_custom2.h:52:5: note:   'pinyin::PINYIN_AMB
_G_K'
PYPConfig.cc:120:33: error: 'PINYIN_AMB_AN_ANG' was not declared in this scope
PYPConfig.cc:120:33: note: suggested alternative:
In file included from /usr/include/libpinyin-0.8.93/pinyin.h:28:0,
                 from PYPConfig.h:33,
                 from PYPConfig.cc:21:
/usr/include/libpinyin-0.8.93/pinyin_custom2.h:55:5: note:   'pinyin::PINYIN_AMB
_AN_ANG'
PYPConfig.cc:121:33: error: 'PINYIN_AMB_EN_ENG' was not declared in this scope
PYPConfig.cc:121:33: note: suggested alternative:
In file included from /usr/include/libpinyin-0.8.93/pinyin.h:28:0,
                 from PYPConfig.h:33,
                 from PYPConfig.cc:21:
/usr/include/libpinyin-0.8.93/pinyin_custom2.h:56:5: note:   'pinyin::PINYIN_AMB
_EN_ENG'
PYPConfig.cc:122:33: error: 'PINYIN_AMB_IN_ING' was not declared in this scope
PYPConfig.cc:122:33: note: suggested alternative:
In file included from /usr/include/libpinyin-0.8.93/pinyin.h:28:0,
                 from PYPConfig.h:33,
                 from PYPConfig.cc:21:
/usr/include/libpinyin-0.8.93/pinyin_custom2.h:57:5: note:   'pinyin::PINYIN_AMB
_IN_ING'
PYPConfig.cc:124:33: error: 'DYNAMIC_ADJUST' was not declared in this scope
PYPConfig.cc:124:33: note: suggested alternative:
In file included from /usr/include/libpinyin-0.8.93/pinyin.h:28:0,
                 from PYPConfig.h:33,
                 from PYPConfig.cc:21:
/usr/include/libpinyin-0.8.93/pinyin_custom2.h:38:5: note:   'pinyin::DYNAMIC_AD
JUST'
PYPConfig.cc: In member function 'virtual gboolean PY::LibPinyinConfig::valueCha
nged(const string&, const string&, GVariant*)':
PYPConfig.cc:245:30: error: 'PINYIN_AMB_ALL' was not declared in this scope
PYPConfig.cc:245:30: note: suggested alternative:
In file included from /usr/include/libpinyin-0.8.93/pinyin.h:28:0,
                 from PYPConfig.h:33,
                 from PYPConfig.cc:21:
/usr/include/libpinyin-0.8.93/pinyin_custom2.h:58:5: note:   'pinyin::PINYIN_AMB
_ALL'
PYPConfig.cc:247:31: error: 'PINYIN_AMB_ALL' was not declared in this scope
PYPConfig.cc:247:31: note: suggested alternative:
In file included from /usr/include/libpinyin-0.8.93/pinyin.h:28:0,
                 from PYPConfig.h:33,
                 from PYPConfig.cc:21:
/usr/include/libpinyin-0.8.93/pinyin_custom2.h:58:5: note:   'pinyin::PINYIN_AMB
_ALL'
PYPConfig.cc: At global scope:
PYPConfig.cc:290:33: error: 'PINYIN_CORRECT_GN_NG' was not declared in this scop
e
PYPConfig.cc:290:33: note: suggested alternative:
In file included from /usr/include/libpinyin-0.8.93/pinyin.h:28:0,
                 from PYPConfig.h:33,
                 from PYPConfig.cc:21:
/usr/include/libpinyin-0.8.93/pinyin_custom2.h:69:5: note:   'pinyin::PINYIN_COR
RECT_GN_NG'
PYPConfig.cc:291:33: error: 'PINYIN_CORRECT_GN_NG' was not declared in this scop
e
PYPConfig.cc:291:33: note: suggested alternative:
In file included from /usr/include/libpinyin-0.8.93/pinyin.h:28:0,
                 from PYPConfig.h:33,
                 from PYPConfig.cc:21:
/usr/include/libpinyin-0.8.93/pinyin_custom2.h:69:5: note:   'pinyin::PINYIN_COR
RECT_GN_NG'
PYPConfig.cc:292:33: error: 'PINYIN_CORRECT_MG_NG' was not declared in this scop
e
PYPConfig.cc:292:33: note: suggested alternative:
In file included from /usr/include/libpinyin-0.8.93/pinyin.h:28:0,
                 from PYPConfig.h:33,
                 from PYPConfig.cc:21:
/usr/include/libpinyin-0.8.93/pinyin_custom2.h:70:5: note:   'pinyin::PINYIN_COR
RECT_MG_NG'
PYPConfig.cc:293:33: error: 'PINYIN_CORRECT_IOU_IU' was not declared in this sco
pe
PYPConfig.cc:293:33: note: suggested alternative:
In file included from /usr/include/libpinyin-0.8.93/pinyin.h:28:0,
                 from PYPConfig.h:33,
                 from PYPConfig.cc:21:
/usr/include/libpinyin-0.8.93/pinyin_custom2.h:71:5: note:   'pinyin::PINYIN_COR
RECT_IOU_IU'
PYPConfig.cc:294:33: error: 'PINYIN_CORRECT_UEI_UI' was not declared in this sco
pe
PYPConfig.cc:294:33: note: suggested alternative:
In file included from /usr/include/libpinyin-0.8.93/pinyin.h:28:0,
                 from PYPConfig.h:33,
                 from PYPConfig.cc:21:
/usr/include/libpinyin-0.8.93/pinyin_custom2.h:72:5: note:   'pinyin::PINYIN_COR
RECT_UEI_UI'
PYPConfig.cc:295:33: error: 'PINYIN_CORRECT_UEN_UN' was not declared in this sco
pe
PYPConfig.cc:295:33: note: suggested alternative:
In file included from /usr/include/libpinyin-0.8.93/pinyin.h:28:0,
                 from PYPConfig.h:33,
                 from PYPConfig.cc:21:
/usr/include/libpinyin-0.8.93/pinyin_custom2.h:73:5: note:   'pinyin::PINYIN_COR
RECT_UEN_UN'
PYPConfig.cc:296:33: error: 'PINYIN_CORRECT_UE_VE' was not declared in this scop
e
PYPConfig.cc:296:33: note: suggested alternative:
In file included from /usr/include/libpinyin-0.8.93/pinyin.h:28:0,
                 from PYPConfig.h:33,
                 from PYPConfig.cc:21:
/usr/include/libpinyin-0.8.93/pinyin_custom2.h:74:5: note:   'pinyin::PINYIN_COR
RECT_UE_VE'
PYPConfig.cc:297:33: error: 'PINYIN_CORRECT_V_U' was not declared in this scope
PYPConfig.cc:297:33: note: suggested alternative:
In file included from /usr/include/libpinyin-0.8.93/pinyin.h:28:0,
                 from PYPConfig.h:33,
                 from PYPConfig.cc:21:
/usr/include/libpinyin-0.8.93/pinyin_custom2.h:75:5: note:   'pinyin::PINYIN_COR
RECT_V_U'
PYPConfig.cc:298:33: error: 'PINYIN_CORRECT_V_U' was not declared in this scope
PYPConfig.cc:298:33: note: suggested alternative:
In file included from /usr/include/libpinyin-0.8.93/pinyin.h:28:0,
                 from PYPConfig.h:33,
                 from PYPConfig.cc:21:
/usr/include/libpinyin-0.8.93/pinyin_custom2.h:75:5: note:   'pinyin::PINYIN_COR
RECT_V_U'
PYPConfig.cc:299:33: error: 'PINYIN_CORRECT_ON_ONG' was not declared in this sco
pe
PYPConfig.cc:299:33: note: suggested alternative:
In file included from /usr/include/libpinyin-0.8.93/pinyin.h:28:0,
                 from PYPConfig.h:33,
                 from PYPConfig.cc:21:
/usr/include/libpinyin-0.8.93/pinyin_custom2.h:76:5: note:   'pinyin::PINYIN_COR
RECT_ON_ONG'
PYPConfig.cc: In member function 'virtual gboolean PY::LibPinyinPinyinConfig::va
lueChanged(const string&, const string&, GVariant*)':
PYPConfig.cc:416:30: error: 'PINYIN_CORRECT_ALL' was not declared in this scope
PYPConfig.cc:416:30: note: suggested alternative:
In file included from /usr/include/libpinyin-0.8.93/pinyin.h:28:0,
                 from PYPConfig.h:33,
                 from PYPConfig.cc:21:
/usr/include/libpinyin-0.8.93/pinyin_custom2.h:77:5: note:   'pinyin::PINYIN_COR
RECT_ALL'
PYPConfig.cc:418:31: error: 'PINYIN_CORRECT_ALL' was not declared in this scope
PYPConfig.cc:418:31: note: suggested alternative:
In file included from /usr/include/libpinyin-0.8.93/pinyin.h:28:0,
                 from PYPConfig.h:33,
                 from PYPConfig.cc:21:
/usr/include/libpinyin-0.8.93/pinyin_custom2.h:77:5: note:   'pinyin::PINYIN_COR
RECT_ALL'
make[3]: *** [ibus_engine_libpinyin-PYPConfig.o] Error 1
make[3]: *** Waiting for unfinished jobs....
PYLibPinyin.cc: In member function 'pinyin_context_t* PY::LibPinyinBackEnd::init
PinyinContext(PY::Config*)':
PYLibPinyin.cc:84:42: error: 'USER_DICTIONARY' was not declared in this scope
PYLibPinyin.cc:84:42: note: suggested alternative:
In file included from /usr/include/libpinyin-0.8.93/pinyin.h:27:0,
                 from PYLibPinyin.cc:25:
/usr/include/libpinyin-0.8.93/novel_types.h:164:5: note:   'pinyin::USER_DICTION
ARY'
PYLibPinyin.cc: At global scope:
PYLibPinyin.cc:170:9: error: 'DOUBLE_PINYIN_MS' was not declared in this scope
PYLibPinyin.cc:170:9: note: suggested alternative:
In file included from /usr/include/libpinyin-0.8.93/pinyin.h:28:0,
                 from PYLibPinyin.cc:25:
/usr/include/libpinyin-0.8.93/pinyin_custom2.h:86:5: note:   'pinyin::DOUBLE_PIN
YIN_MS'
PYLibPinyin.cc:171:9: error: 'DOUBLE_PINYIN_ZRM' was not declared in this scope
PYLibPinyin.cc:171:9: note: suggested alternative:
In file included from /usr/include/libpinyin-0.8.93/pinyin.h:28:0,
                 from PYLibPinyin.cc:25:
/usr/include/libpinyin-0.8.93/pinyin_custom2.h:85:5: note:   'pinyin::DOUBLE_PIN
YIN_ZRM'
PYLibPinyin.cc:172:9: error: 'DOUBLE_PINYIN_ABC' was not declared in this scope
PYLibPinyin.cc:172:9: note: suggested alternative:
In file included from /usr/include/libpinyin-0.8.93/pinyin.h:28:0,
                 from PYLibPinyin.cc:25:
/usr/include/libpinyin-0.8.93/pinyin_custom2.h:88:5: note:   'pinyin::DOUBLE_PIN
YIN_ABC'
PYLibPinyin.cc:173:9: error: 'DOUBLE_PINYIN_ZIGUANG' was not declared in this sc
ope
PYLibPinyin.cc:173:9: note: suggested alternative:
In file included from /usr/include/libpinyin-0.8.93/pinyin.h:28:0,
                 from PYLibPinyin.cc:25:
/usr/include/libpinyin-0.8.93/pinyin_custom2.h:87:5: note:   'pinyin::DOUBLE_PIN
YIN_ZIGUANG'
PYLibPinyin.cc:174:9: error: 'DOUBLE_PINYIN_PYJJ' was not declared in this scope

PYLibPinyin.cc:174:9: note: suggested alternative:
In file included from /usr/include/libpinyin-0.8.93/pinyin.h:28:0,
                 from PYLibPinyin.cc:25:
/usr/include/libpinyin-0.8.93/pinyin_custom2.h:89:5: note:   'pinyin::DOUBLE_PIN
YIN_PYJJ'
PYLibPinyin.cc:175:9: error: 'DOUBLE_PINYIN_XHE' was not declared in this scope
PYLibPinyin.cc:175:9: note: suggested alternative:
In file included from /usr/include/libpinyin-0.8.93/pinyin.h:28:0,
                 from PYLibPinyin.cc:25:
/usr/include/libpinyin-0.8.93/pinyin_custom2.h:90:5: note:   'pinyin::DOUBLE_PIN
YIN_XHE'
PYLibPinyin.cc: In member function 'gboolean PY::LibPinyinBackEnd::setPinyinOpti
ons(PY::Config*)':
PYLibPinyin.cc:194:11: error: 'USE_RESPLIT_TABLE' was not declared in this scope

PYLibPinyin.cc:194:11: note: suggested alternative:
In file included from /usr/include/libpinyin-0.8.93/pinyin.h:28:0,
                 from PYLibPinyin.cc:25:
/usr/include/libpinyin-0.8.93/pinyin_custom2.h:37:5: note:   'pinyin::USE_RESPLI
T_TABLE'
PYLibPinyin.cc:194:31: error: 'USE_DIVIDED_TABLE' was not declared in this scope

PYLibPinyin.cc:194:31: note: suggested alternative:
In file included from /usr/include/libpinyin-0.8.93/pinyin.h:28:0,
                 from PYLibPinyin.cc:25:
/usr/include/libpinyin-0.8.93/pinyin_custom2.h:36:5: note:   'pinyin::USE_DIVIDE
D_TABLE'
PYLibPinyin.cc: At global scope:
PYLibPinyin.cc:204:9: error: 'CHEWING_STANDARD' was not declared in this scope
PYLibPinyin.cc:204:9: note: suggested alternative:
In file included from /usr/include/libpinyin-0.8.93/pinyin.h:28:0,
                 from PYLibPinyin.cc:25:
/usr/include/libpinyin-0.8.93/pinyin_custom2.h:100:5: note:   'pinyin::CHEWING_S
TANDARD'
PYLibPinyin.cc:205:9: error: 'CHEWING_GINYIEH' was not declared in this scope
PYLibPinyin.cc:205:9: note: suggested alternative:
In file included from /usr/include/libpinyin-0.8.93/pinyin.h:28:0,
                 from PYLibPinyin.cc:25:
/usr/include/libpinyin-0.8.93/pinyin_custom2.h:102:5: note:   'pinyin::CHEWING_G
INYIEH'
PYLibPinyin.cc:206:9: error: 'CHEWING_ETEN' was not declared in this scope
PYLibPinyin.cc:206:9: note: suggested alternative:
In file included from /usr/include/libpinyin-0.8.93/pinyin.h:28:0,
                 from PYLibPinyin.cc:25:
/usr/include/libpinyin-0.8.93/pinyin_custom2.h:103:5: note:   'pinyin::CHEWING_E
TEN'
PYLibPinyin.cc:207:9: error: 'CHEWING_IBM' was not declared in this scope
PYLibPinyin.cc:207:9: note: suggested alternative:
In file included from /usr/include/libpinyin-0.8.93/pinyin.h:28:0,
                 from PYLibPinyin.cc:25:
/usr/include/libpinyin-0.8.93/pinyin_custom2.h:101:5: note:   'pinyin::CHEWING_I
BM'
PYLibPinyin.cc: In member function 'gboolean PY::LibPinyinBackEnd::setChewingOpt
ions(PY::Config*)':
PYLibPinyin.cc:226:50: error: 'USE_TONE' was not declared in this scope
PYLibPinyin.cc:226:50: note: suggested alternative:
In file included from /usr/include/libpinyin-0.8.93/pinyin.h:28:0,
                 from PYLibPinyin.cc:25:
/usr/include/libpinyin-0.8.93/pinyin_custom2.h:35:5: note:   'pinyin::USE_TONE'
make[3]: *** [ibus_engine_libpinyin-PYLibPinyin.o] Error 1
make[3]: Leaving directory `/build/src/ibus-libpinyin-build/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/build/src/ibus-libpinyin-build/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/build/src/ibus-libpinyin-build'
make: *** [all] Error 2
epico commented 11 years ago

Sorry, this is caused by the fixes in https://github.com/libpinyin/libpinyin/issues/38. Please try ibus-libpinyin-1.5.92.tar.gz instead. From http://sourceforge.net/projects/libpinyin/files/ibus-libpinyin/.

felixonmars commented 11 years ago

@epico Thanks, this works great. And FYI, I'm checking out the git tag instead of fetching frm sf :)

epico commented 11 years ago

cool :)