发表回复 
 
主题评价:
  • 1 次(票) - 平均星级: 5
  • 1
  • 2
  • 3
  • 4
  • 5
[2009献礼] 发布MySQL-5.1.30的scws-1.x分词插件(090611最新修订)
2009-11-11, 04:28 PM
帖数: #16
RE:scws-1.x分词插件..编译问題
OS :6.4-STABLE FreeBSD
MySQL 5.1.36

打补丁 出現的信息:

patch -p0 < myft_scws_udf_5.1.30.patch

Hmm... Looks like a new-style context diff to me...
The text leading up to this was:
--------------------------
|*** include/mysql_com.h.orig 2008-12-31 14:12:53.000000000 +0800
|--- include/mysql_com.h 2008-12-31 14:15:20.000000000 +0800
--------------------------
Patching file include/mysql_com.h using Plan A...
Hunk #1 succeeded at 437.
Hunk #2 succeeded at 454.
Hmm... The next patch looks like a new-style context diff to me...
The text leading up to this was:
--------------------------
|*** sql/item_func.cc.orig 2008-12-31 14:15:42.000000000 +0800
|--- sql/item_func.cc 2008-12-31 14:36:36.000000000 +0800
--------------------------
Patching file sql/item_func.cc using Plan A...
Hunk #1 succeeded at 2880 (offset 12 lines).
Hunk #2 succeeded at 2900 (offset 12 lines).
Hunk #3 succeeded at 2933 (offset 12 lines).
Hunk #4 succeeded at 3008 (offset 12 lines).
Hunk #5 succeeded at 3072 (offset 12 lines).
Hmm... The next patch looks like a new-style context diff to me...
The text leading up to this was:
--------------------------
|*** include/mysql.h.pp.orig 2008-12-31 17:21:21.000000000 +0800
|--- include/mysql.h.pp 2008-12-31 17:21:57.000000000 +0800
--------------------------
Patching file include/mysql.h.pp using Plan A...
Hunk #1 succeeded at 110.
Hunk #2 succeeded at 122.

-------------------------------------------------

cd plugin/scws

编译 mysql plugin

./configure --prefix=/usr/local/mysql5136/ --with-scws=/usr/local/scws/
正常...


make 发生錯誤...

/usr/local/bin/bash ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"plugin_scws\" -DPACKAGE_TARNAME=\"plugin_scws\" -DPACKAGE_VERSION=\"0.1\" -DPACKAGE_STRING=\"plugin_scws\ 0.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"plugin_scws\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I../../include -I../../ -DMYSQL_DYNAMIC_PLUGIN -g -O2 -I/usr/local/scws//include -DSCWS_PREFIX=\"/usr/local/scws/\" -MT libftscws_la-plugin_scws.lo -MD -MP -MF .deps/libftscws_la-plugin_scws.Tpo -c -o libftscws_la-plugin_scws.lo `test -f 'plugin_scws.c' || echo './'`plugin_scws.c
./libtool: line 460: CDPATH: command not found
./libtool: line 1138: func_opt_split: command not found
libtool: Version mismatch error. This is libtool 2.2.6, but the
libtool: definition of this LT_INIT comes from an older release.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6
libtool: and run autoconf again.
*** Error code 63


mysql 5.1.30 則无此錯誤
请问补丁.. 5.1.30 之外的 mysql 是否不能用?
查找这个用户的全部帖子
引用并回复
2009-11-15, 08:34 AM
帖数: #17
RE: [2009献礼] 发布MySQL-5.1.30的scws-1.x分词插件(090611最新修订)
libtool 版本问题
cp /usr/bin/libtool .
然后再 make
访问这个用户的网站 查找这个用户的全部帖子
引用并回复
发表回复 


可能相关的主题...
主题: 作者 回复数: 人气: 最近发表
  It crashes for MySQL 5.1.35, and solution 新用户 3 6,184 2009-06-12 08:42 AM
最近发表: hightman
  MySQL-5.1.11~12 全文检索分词插件支持mysql5.0.41吗? ykjsw 1 11,304 2009-01-01 12:41 PM
最近发表: hightman
  (安装手记) MySQL-5.1.11~12 全文检索分词插件 derekchen 1 11,305 2008-06-05 10:26 PM
最近发表: derekchen
  MySQL-5.1.11~12 全文检索分词插件 hightman 21 69,435 2008-06-04 11:13 PM
最近发表: derekchen
  MySQL-4.0.x(fulltext) 源码修订 patch 文件包 hightman 1 15,124 2007-06-13 01:28 PM
最近发表: Mistruster
  MySQL Fulltext 总结与目录 hightman 0 14,740 2007-06-06 02:26 AM
最近发表: hightman
  MySQL-4.0.x FT 使用与演示 hightman 0 12,615 2007-06-06 01:57 AM
最近发表: hightman
  MySQL-4.0.27-hi4 完整安装包发布及安装说明(推荐) hightman 0 13,369 2007-06-06 01:28 AM
最近发表: hightman
  MySQL ft 补丁的授权声明 hightman 0 12,560 2007-06-06 01:09 AM
最近发表: hightman

论坛跳转: