技術メモ

DBD::Perl、SUSEのパッケージでハマる?

DBD::mysql::st execute failed: Illegal mix of collations (ujis_bin,IMPLICIT) and (latin1_swedish_ci,COERCIBLE) for operation '=' at /usr/lib/perl5/site_perl/5.8.6/POE/Component/EasyDBI/SubProcess.pm line 593. こんなん出る。 my.cnfにdefault…

POEの日本語での解説はPerlクックブックにある、が

以前頼んでおいたPerl本9冊が届いた。うち8冊はオライリー。 オライリー岡田。ギルガ〜メッシュ★で、POEの日本語での解説はPerlクックブック第2版 Volume2 p.878にある。 が、3ページほどしかない。http://poe.perl.org/を見るか、 perldocを読むかしない…

結局POE::Component::EasyDBIに

POE::Component::EasyDBIを採用することにした。 SimpleDBIからforkしたもののようです。とりあえず、非同期でクエリーばんばん投げて 知らん振りできそうな様子。で、僕はPOEの理解が超いいかげんなので、 変数のスコープとか同期とかがよく分かっていない…

POEでDBI

ん・・・どれがいいんだろ・・・ POE::Component::DBIAgent POE Component for running asynchronous DBI calls. POE-Component-DBIAgent-0.21 - 02 Dec 2003 - Rob Bloodgood POE::Component::EasyDBI Perl extension for asynchronous non-blocking DBI ca…

senna(20050905)+MySQL 4.1.14

SUSE Linux Professional 9.3を導入。 で、senna+MySQL 4.1.14を導入。MySQLのライブラリをすべてスタティックリンクにしようとしたら、 libgcc_sのスタティックリンクが出来ねえ!といわれたので、 さくっとダイナミックリンクに。コンパイルオプションは C…

Senna + mysql-4.1.14 on FreeBSD5 インストールメモ(失敗中)

# portinstall textproc/senna にゃんかmecab-razilとかipadicとかも一緒に入れてくれる。 てへ。楽じゃ〜ん。/usr/local/etc/pkgtools.confのMAKE_ARGSに 'databases/mysql41-server' => 'WITH_CHARSET=ujis WITH_XCHARSET=utf8 WITH_LINUXTHREADS=yes WITH…

Net::Googleのバグ

Net::Google中のtool.pm、 sub http_proxyの中の shift->{'_service'}->transport()->proxy($uri)->proxy(http=>$uri); は、 $self->{'_service'}->transport()->proxy($uri)->proxy(http=>$uri); だと思う。

DBD::Google

http://search.cpan.org/~darren/DBD-Google-0.11/ > ppm install dbd-google …無いんだって。 > perl -MCPAN -e shell cpan> install DBD::Google The module DBD::Google isn't available on CPAN. だってさ。 cpan> i DBD::Google Strange distribution n…