Sunday, January 28, 2007

udevって何よ

Open Tech Press | udevの概要

あとで調べる

Tuesday, January 23, 2007

ミッキーのproITなアメリカンライフ : 知っておきたい!システム�

ミッキーのproITなアメリカンライフ : 知っておきたい!システム�

勉強せねば!!

xinetdって何よ

xinetd
スーパーデーモンサービスのことらしい。
ソースは上記のリンクから。

ケルベロスとは何か

【自動翻訳】Kerberos の概要 - オープンなネットワーク システムの認

第三者認証らしい。

Kerberos 5クライアントの設定

Kerberos 5クライアントの設定

疑問、ケルベロスって何よ。

gssftpを動かしたい場合、とか関係あるのでしょうか。

Sunday, January 14, 2007

mysqlでコンパイルじっぱい

でた。


mysql コンパイルエラー

sr/local/include -I/usr/local/include -O3 -DDBUG_OFF -c ft_update.c
ft_update.c: In function `ft_sen_index_add':
ft_update.c:232: error: too many arguments to function `sen_values_add'
ft_update.c:262: error: too many arguments to function `sen_index_upd'
ft_update.c: In function `ft_sen_index_del':
ft_update.c:292: error: too many arguments to function `sen_values_add'
ft_update.c:322: warning: passing arg 4 of `sen_index_upd' makes pointer from integer without a cast
ft_update.c:322: error: too many arguments to function `sen_index_upd'
make[2]: *** [ft_update.o] Error 1
make[2]: Leaving directory `/root/work/20070111/mysql-4.1.20/myisam'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/work/20070111/mysql-4.1.20'
make: *** [all] Error 2


sennaの
パッチあてるときの失敗
patching file config.h.in
patching file configure.in
Hunk #1 succeeded at 718 (offset 4 lines).
patching file include/myisam.h
patching file libmysqld/ha_myisam.cc
Hunk #1 succeeded at 192 (offset 8 lines).
Hunk #2 succeeded at 1356 (offset 4 lines).
Hunk #3 succeeded at 1511 (offset 10 lines).
patching file libmysqld/sql_db.cc
Hunk #1 succeeded at 875 (offset 48 lines).
patching file libmysqld/sql_delete.cc
Hunk #1 succeeded at 838 (offset 20 lines).
patching file libmysqld/sql_show.cc
Hunk #2 succeeded at 4038 (offset 32 lines).
patching file libmysqld/sql_table.cc
Hunk #1 succeeded at 1097 (offset 6 lines).
Hunk #3 succeeded at 3449 (offset -103 lines).
patching file myisam/Makefile.am
Hunk #1 succeeded at 17 with fuzz 1.
patching file myisam/ft_boolean_search.c
patching file myisam/ft_nlq_search.c
patching file myisam/ft_update.c
patching file myisam/fulltext.h
patching file myisam/mi_check.c
Hunk #1 succeeded at 2044 (offset 30 lines).
Hunk #2 succeeded at 2929 (offset 114 lines).
patching file myisam/mi_close.c
Hunk #1 succeeded at 32 with fuzz 2 (offset 1 line).
patching file myisam/mi_create.c
Hunk #1 succeeded at 281 (offset 2 lines).
patching file myisam/mi_delete_all.c
patching file myisam/mi_delete_table.c
Hunk #2 succeeded at 61 (offset 12 lines).
patching file myisam/mi_info.c
patching file myisam/mi_open.c
Hunk #1 succeeded at 339 with fuzz 2 (offset 5 lines).
patching file myisam/mi_rename.c
patching file myisam/myisam_ftdump.c
patching file myisam/myisamchk.c
patching file myisam/myisamlog.c
patching file myisam/myisampack.c
patching file myisammrg/Makefile.am
patching file sql/Makefile.am
patching file sql/ha_myisam.cc
Hunk #1 succeeded at 192 (offset 8 lines).
Hunk #2 succeeded at 1356 (offset 4 lines).
Hunk #3 succeeded at 1511 (offset 10 lines).
patching file sql/handler.h
Hunk #1 succeeded at 449 (offset 1 line).
Hunk #3 succeeded at 572 with fuzz 1 (offset 1 line).
patching file sql/lex.h
patching file sql/mysqld.cc
Hunk #1 succeeded at 3413 (offset 43 lines).
patching file sql/sql_class.h
Hunk #1 succeeded at 411 (offset 1 line).
patching file sql/sql_db.cc
Hunk #1 succeeded at 875 (offset 48 lines).
patching file sql/sql_delete.cc
Hunk #1 succeeded at 838 (offset 20 lines).
patching file sql/sql_lex.h
Hunk #1 succeeded at 1044 (offset 34 lines).
patching file sql/sql_show.cc
Hunk #2 succeeded at 4038 (offset 32 lines).
patching file sql/sql_table.cc
Hunk #1 succeeded at 1097 (offset 6 lines).
Hunk #3 succeeded at 3449 (offset -103 lines).
patching file sql/sql_yacc.yy
Hunk #1 succeeded at 562 (offset 28 lines).
Hunk #2 succeeded at 836 (offset -4 lines).
Hunk #3 succeeded at 1182 (offset 28 lines).
Hunk #4 succeeded at 1178 (offset -4 lines).
Hunk #5 succeeded at 2742 (offset 47 lines).
Hunk #6 succeeded at 2702 (offset -4 lines).
Hunk #7 succeeded at 2789 (offset 47 lines).
Hunk #8 succeeded at 3243 (offset -4 lines).
Hunk #9 succeeded at 3387 (offset 47 lines).
Hunk #10 succeeded at 7889 (offset 76 lines).
patching file sql/structs.h
patching file include/my_pthread.h
patching file libmysqld/filesort.cc
Hunk #1 succeeded at 1290 (offset 28 lines).
patching file libmysqld/item_cmpfunc.cc
Hunk #1 succeeded at 2369 (offset -49 lines).
patching file libmysqld/item_func.cc
Hunk #1 succeeded at 4608 (offset 188 lines).
patching file libmysqld/item_sum.cc
Hunk #1 succeeded at 2544 (offset 43 lines).
patching file libmysqld/records.cc
Hunk #2 succeeded at 324 (offset 1 line).
patching file libmysqld/sql_select.cc
Hunk #1 succeeded at 1354 (offset 123 lines).
Hunk #2 succeeded at 1731 (offset 17 lines).
Hunk #3 succeeded at 2019 (offset 126 lines).
Hunk #4 succeeded at 3289 (offset 196 lines).
Hunk #5 succeeded at 5694 (offset 160 lines).
Hunk #6 succeeded at 9919 (offset 418 lines).
Hunk #7 succeeded at 9820 (offset 160 lines).
Hunk #8 succeeded at 10089 (offset 418 lines).
Hunk #9 succeeded at 9864 (offset 160 lines).
Hunk #10 succeeded at 10790 (offset 427 lines).
Hunk #11 succeeded at 10544 (offset 160 lines).
Hunk #12 succeeded at 10842 (offset 427 lines).
Hunk #13 succeeded at 10592 (offset 160 lines).
Hunk #14 succeeded at 10879 (offset 427 lines).
Hunk #15 FAILED at 12002.
1 out of 15 hunks FAILED -- saving rejects to file libmysqld/sql_select.cc.rej
patching file myisam/ft_boolean_search.c
patching file myisam/ft_nlq_search.c
patching file sql/filesort.cc
Hunk #1 succeeded at 1290 (offset 28 lines).
patching file sql/item.h
Hunk #1 FAILED at 697.
1 out of 1 hunk FAILED -- saving rejects to file sql/item.h.rej
patching file sql/item_cmpfunc.cc
Hunk #1 succeeded at 2369 (offset -49 lines).
patching file sql/item_cmpfunc.h
Hunk #1 succeeded at 1189 (offset 34 lines).
patching file sql/item_func.cc
Hunk #1 succeeded at 4608 (offset 188 lines).
patching file sql/item_func.h
Hunk #1 succeeded at 1330 (offset 13 lines).
patching file sql/item_sum.cc
Hunk #1 succeeded at 2544 (offset 43 lines).
patching file sql/records.cc
Hunk #2 succeeded at 324 (offset 1 line).
patching file sql/sql_select.cc
Hunk #1 succeeded at 1354 (offset 123 lines).
Hunk #2 succeeded at 1731 (offset 17 lines).
Hunk #3 succeeded at 2019 (offset 126 lines).
Hunk #4 succeeded at 3289 (offset 196 lines).
Hunk #5 succeeded at 5694 (offset 160 lines).
Hunk #6 succeeded at 9919 (offset 418 lines).
Hunk #7 succeeded at 9820 (offset 160 lines).
Hunk #8 succeeded at 10089 (offset 418 lines).
Hunk #9 succeeded at 9864 (offset 160 lines).
Hunk #10 succeeded at 10790 (offset 427 lines).
Hunk #11 succeeded at 10544 (offset 160 lines).
Hunk #12 succeeded at 10842 (offset 427 lines).
Hunk #13 succeeded at 10592 (offset 160 lines).
Hunk #14 succeeded at 10879 (offset 427 lines).
Hunk #15 FAILED at 12002.
1 out of 15 hunks FAILED -- saving rejects to file sql/sql_select.cc.rej


patching file config.h.in
patching file configure.in
patching file include/myisam.h
patching file libmysqld/ha_myisam.cc
Hunk #1 succeeded at 192 (offset 8 lines).
Hunk #2 succeeded at 1356 (offset 4 lines).
Hunk #3 succeeded at 1509 (offset 8 lines).
patching file libmysqld/sql_db.cc
Hunk #1 succeeded at 870 (offset 43 lines).
patching file libmysqld/sql_delete.cc
Hunk #1 succeeded at 833 (offset 15 lines).
patching file libmysqld/sql_show.cc
Hunk #2 succeeded at 4038 (offset 32 lines).
patching file libmysqld/sql_table.cc
Hunk #1 succeeded at 1094 (offset 3 lines).
Hunk #3 succeeded at 3553 (offset 1 line).
patching file myisam/Makefile.am
Hunk #1 succeeded at 17 with fuzz 1.
patching file myisam/ft_boolean_search.c
patching file myisam/ft_nlq_search.c
patching file myisam/ft_update.c
patching file myisam/fulltext.h
patching file myisam/mi_check.c
Hunk #1 succeeded at 2016 (offset 2 lines).
Hunk #2 succeeded at 2817 (offset 2 lines).
patching file myisam/mi_close.c
patching file myisam/mi_create.c
Hunk #1 succeeded at 281 (offset 2 lines).
patching file myisam/mi_delete_all.c
patching file myisam/mi_delete_table.c
Hunk #2 succeeded at 61 (offset 12 lines).
patching file myisam/mi_info.c
patching file myisam/mi_open.c
patching file myisam/mi_rename.c
patching file myisam/myisam_ftdump.c
patching file myisam/myisamchk.c
patching file myisam/myisamlog.c
patching file myisam/myisampack.c
patching file myisammrg/Makefile.am
patching file sql/Makefile.am
patching file sql/ha_myisam.cc
Hunk #1 succeeded at 192 (offset 8 lines).
Hunk #2 succeeded at 1356 (offset 4 lines).
Hunk #3 succeeded at 1509 (offset 8 lines).
patching file sql/handler.h
Hunk #1 succeeded at 449 (offset 1 line).
Hunk #3 succeeded at 572 with fuzz 1 (offset 1 line).
patching file sql/lex.h
patching file sql/mysqld.cc
Hunk #1 succeeded at 3372 (offset 2 lines).
patching file sql/sql_class.h
Hunk #1 succeeded at 411 (offset 1 line).
patching file sql/sql_db.cc
Hunk #1 succeeded at 870 (offset 43 lines).
patching file sql/sql_delete.cc
Hunk #1 succeeded at 833 (offset 15 lines).
patching file sql/sql_lex.h
Hunk #1 succeeded at 1016 (offset 6 lines).
patching file sql/sql_show.cc
Hunk #2 succeeded at 4038 (offset 32 lines).
patching file sql/sql_table.cc
Hunk #1 succeeded at 1094 (offset 3 lines).
Hunk #3 succeeded at 3553 (offset 1 line).
patching file sql/sql_yacc.yy
Hunk #1 succeeded at 562 (offset 28 lines).
Hunk #2 succeeded at 839 (offset -1 lines).
Hunk #3 succeeded at 1182 (offset 28 lines).
Hunk #4 succeeded at 1181 (offset -1 lines).
Hunk #5 succeeded at 2738 (offset 43 lines).
Hunk #6 succeeded at 2705 (offset -1 lines).
Hunk #7 succeeded at 2785 (offset 43 lines).
Hunk #8 succeeded at 3246 (offset -1 lines).
Hunk #9 succeeded at 3383 (offset 43 lines).
Hunk #10 succeeded at 7816 (offset 3 lines).
patching file sql/structs.h
patching file include/my_pthread.h
patching file libmysqld/filesort.cc
patching file libmysqld/item_cmpfunc.cc
Hunk #1 succeeded at 2335 (offset -83 lines).
patching file libmysqld/item_func.cc
Hunk #1 succeeded at 4552 (offset 132 lines).
patching file libmysqld/item_sum.cc
Hunk #1 succeeded at 2525 (offset 24 lines).
patching file libmysqld/records.cc
patching file libmysqld/sql_select.cc
Hunk #1 succeeded at 1310 (offset 79 lines).
Hunk #2 succeeded at 1720 (offset 6 lines).
Hunk #3 succeeded at 1972 (offset 79 lines).
Hunk #4 succeeded at 3149 (offset 56 lines).
Hunk #5 succeeded at 5630 (offset 96 lines).
Hunk #6 succeeded at 9767 (offset 266 lines).
Hunk #7 succeeded at 9756 (offset 96 lines).
Hunk #8 succeeded at 9937 (offset 266 lines).
Hunk #9 succeeded at 9800 (offset 96 lines).
Hunk #10 succeeded at 10629 (offset 266 lines).
Hunk #11 succeeded at 10480 (offset 96 lines).
Hunk #12 succeeded at 10681 (offset 266 lines).
Hunk #13 succeeded at 10528 (offset 96 lines).
Hunk #14 succeeded at 10718 (offset 266 lines).
Hunk #15 succeeded at 11810 (offset 235 lines).
patching file myisam/ft_boolean_search.c
patching file myisam/ft_nlq_search.c
patching file sql/filesort.cc
patching file sql/item.h
Hunk #1 FAILED at 697.
1 out of 1 hunk FAILED -- saving rejects to file sql/item.h.rej
patching file sql/item_cmpfunc.cc
Hunk #1 succeeded at 2335 (offset -83 lines).
patching file sql/item_cmpfunc.h
Hunk #1 succeeded at 1158 (offset 3 lines).
patching file sql/item_func.cc
Hunk #1 succeeded at 4552 (offset 132 lines).
patching file sql/item_func.h
Hunk #1 succeeded at 1328 (offset 11 lines).
patching file sql/item_sum.cc
Hunk #1 succeeded at 2525 (offset 24 lines).
patching file sql/records.cc
patching file sql/sql_select.cc
Hunk #1 succeeded at 1310 (offset 79 lines).
Hunk #2 succeeded at 1720 (offset 6 lines).
Hunk #3 succeeded at 1972 (offset 79 lines).
Hunk #4 succeeded at 3149 (offset 56 lines).
Hunk #5 succeeded at 5630 (offset 96 lines).
Hunk #6 succeeded at 9767 (offset 266 lines).
Hunk #7 succeeded at 9756 (offset 96 lines).
Hunk #8 succeeded at 9937 (offset 266 lines).
Hunk #9 succeeded at 9800 (offset 96 lines).
Hunk #10 succeeded at 10629 (offset 266 lines).
Hunk #11 succeeded at 10480 (offset 96 lines).
Hunk #12 succeeded at 10681 (offset 266 lines).
Hunk #13 succeeded at 10528 (offset 96 lines).
Hunk #14 succeeded at 10718 (offset 266 lines).
Hunk #15 succeeded at 11810 (offset 235 lines).


5.0.24aでも同じエラー 使ったのは senna最新

sr/local/include -I/usr/local/include -O3 -DDBUG_OFF -c ft_update.c
ft_update.c: In function `ft_sen_index_add':
ft_update.c:230: error: too many arguments to function `sen_values_add'
ft_update.c:260: error: too many arguments to function `sen_index_upd'
ft_update.c: In function `ft_sen_index_del':
ft_update.c:290: error: too many arguments to function `sen_values_add'
ft_update.c:320: warning: passing arg 4 of `sen_index_upd' makes pointer from integer without a cast
ft_update.c:320: error: too many arguments to function `sen_index_upd'
make[2]: *** [ft_update.o] Error 1
make[2]: Leaving directory `/root/work/20070111/mysql-5.0.24a/myisam'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/work/20070111/mysql-5.0.24a'
make: *** [all] Error 2


4.1.22 パッチ失敗
patching file config.h.in
patching file configure.in
patching file include/myisam.h
patching file libmysqld/ha_myisam.cc
Hunk #3 succeeded at 1428 (offset 2 lines).
patching file libmysqld/sql_db.cc
patching file libmysqld/sql_delete.cc
Hunk #1 succeeded at 650 (offset 6 lines).
patching file libmysqld/sql_show.cc
patching file libmysqld/sql_table.cc
Hunk #1 succeeded at 974 (offset 6 lines).
Hunk #3 succeeded at 3223 (offset 13 lines).
patching file myisam/Makefile.am
patching file myisam/ft_boolean_search.c
patching file myisam/ft_nlq_search.c
patching file myisam/ft_update.c
patching file myisam/fulltext.h
patching file myisam/mi_check.c
Hunk #1 succeeded at 2038 (offset 33 lines).
Hunk #2 succeeded at 2920 (offset 114 lines).
patching file myisam/mi_close.c
patching file myisam/mi_create.c
Hunk #1 succeeded at 285 (offset 2 lines).
patching file myisam/mi_delete_table.c
Hunk #2 succeeded at 61 (offset 12 lines).
patching file myisam/mi_info.c
patching file myisam/mi_open.c
Hunk #1 succeeded at 327 (offset 3 lines).
patching file myisam/mi_rename.c
patching file myisam/myisamchk.c
patching file myisammrg/Makefile.am
patching file sql/Makefile.am
patching file sql/ha_myisam.cc
Hunk #3 succeeded at 1428 (offset 2 lines).
patching file sql/handler.h
patching file sql/lex.h
patching file sql/mysqld.cc
Hunk #1 succeeded at 3170 (offset 45 lines).
patching file sql/sql_class.h
Hunk #1 succeeded at 245 (offset 1 line).
patching file sql/sql_db.cc
patching file sql/sql_delete.cc
Hunk #1 succeeded at 650 (offset 6 lines).
patching file sql/sql_lex.h
Hunk #1 succeeded at 672 (offset 1 line).
patching file sql/sql_show.cc
patching file sql/sql_table.cc
Hunk #1 succeeded at 974 (offset 6 lines).
Hunk #3 succeeded at 3223 (offset 13 lines).
patching file sql/sql_yacc.yy
Hunk #10 succeeded at 5466 (offset 5 lines).
patching file sql/structs.h
Hunk #1 succeeded at 104 (offset 6 lines).
patching file include/my_pthread.h
Hunk #1 succeeded at 665 (offset 2 lines).
patching file libmysqld/filesort.cc
patching file libmysqld/item_cmpfunc.cc
Hunk #1 succeeded at 2246 (offset 19 lines).
patching file libmysqld/item_func.cc
Hunk #1 succeeded at 3151 (offset 58 lines).
patching file libmysqld/item_sum.cc
patching file libmysqld/records.cc
patching file libmysqld/sql_select.cc
Hunk #1 succeeded at 1125 (offset 79 lines).
Hunk #2 succeeded at 1514 (offset 13 lines).
Hunk #3 succeeded at 1692 (offset 82 lines).
Hunk #4 succeeded at 2601 (offset 22 lines).
Hunk #5 succeeded at 3985 (offset 99 lines).
Hunk #6 succeeded at 6095 (offset 53 lines).
Hunk #7 succeeded at 6172 (offset 99 lines).
Hunk #8 succeeded at 6177 (offset 55 lines).
Hunk #9 succeeded at 6644 (offset 99 lines).
Hunk #10 succeeded at 6621 (offset 55 lines).
Hunk #11 succeeded at 6696 (offset 99 lines).
Hunk #12 succeeded at 6669 (offset 55 lines).
Hunk #13 succeeded at 6733 (offset 99 lines).
Hunk #14 succeeded at 7895 (offset 194 lines).
patching file myisam/ft_boolean_search.c
patching file myisam/ft_nlq_search.c
patching file sql/filesort.cc
patching file sql/item.h
Hunk #1 FAILED at 275.
1 out of 1 hunk FAILED -- saving rejects to file sql/item.h.rej
patching file sql/item_cmpfunc.cc
Hunk #1 succeeded at 2246 (offset 19 lines).
patching file sql/item_cmpfunc.h
Hunk #1 succeeded at 992 (offset 17 lines).
patching file sql/item_func.cc
Hunk #1 succeeded at 3151 (offset 58 lines).
patching file sql/item_func.h
Hunk #1 succeeded at 1074 (offset 3 lines).
patching file sql/item_sum.cc
patching file sql/records.cc
patching file sql/sql_select.cc
Hunk #1 succeeded at 1125 (offset 79 lines).
Hunk #2 succeeded at 1514 (offset 13 lines).
Hunk #3 succeeded at 1692 (offset 82 lines).
Hunk #4 succeeded at 2601 (offset 22 lines).
Hunk #5 succeeded at 3985 (offset 99 lines).
Hunk #6 succeeded at 6095 (offset 53 lines).
Hunk #7 succeeded at 6172 (offset 99 lines).
Hunk #8 succeeded at 6177 (offset 55 lines).
Hunk #9 succeeded at 6644 (offset 99 lines).
Hunk #10 succeeded at 6621 (offset 55 lines).
Hunk #11 succeeded at 6696 (offset 99 lines).
Hunk #12 succeeded at 6669 (offset 55 lines).
Hunk #13 succeeded at 6733 (offset 99 lines).
Hunk #14 succeeded at 7895 (offset 194 lines).

MySQLデータベースサーバーのインストール Linux篇

MySQLデータベースサーバーのインストール Linux篇
参考になります。

Thursday, January 11, 2007

全文検索

mysql-4.1.22ダウンロード
ここからダウンロード
ここ

Index of /archive/senna