perl のヴァージョンが 5.8.4-1 に上がったせい?
DynaLoader object version 1.04 does not match $DynaLoader::VERSION 1.05 at /usr/lib/perl/5.8/DynaLoader.pm line 103. Compilation failed in require at /usr/lib/perl/5.8/Digest/MD5.pm line 12. Compilation failed in require at /usr/share/perl5/smokeping/Smokeping.pm line 8. BEGIN failed--compilation aborted at /usr/share/perl5/smokeping/Smokeping.pm line 8. Compilation failed in require at smokeping.cgi line 6. speedy_backend[XXXXX]: perl_parse error speedy[XXXXX]: Cannot spawn backend process
環境を整えてやるついでにチェックしてみた。dotgnu と mono どっちがいいかよくわからないんだけど、Debian official に入ってるってことで mono で。 kernel で binfmt_misc いるのか、入れておく。
てことで hello.cs で検索して拾ってきた Hello, World! を
% mcs hello.cs
mono でコンパイルしてできたバイナリが Linux でも Win でも動くな。結構面白い。
一方、ウィンドウアプリとなると話は別らしい。System.Windows.Forms ってのが鬼門ぽい。また 検索して拾ってきたウィンドウ版 Hello, World! は、上記のように単純にはコンパイルできなかったので探してみると、 コンパイル時には、-r:System.Windows.Formsを指定するようだ。実際にはそれだけでは足りなくて -r:System.Drawing を追加。これはきちんとエラーとして表示された。
% mcs -r:System.Windows.Forms -r:System.Drawing hello2.cs
とやって作成。できたバイナリは Win 上では動くが、Linux 上では駄目だった。Wine がらみ?
Could not load winelib.exe.so Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.Control ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.Win32 ---> System.DllNotFoundException: winelib.exe.so in <0x00053> (wrapper managed-to-native) System.Windows.Forms.Win32:WineLoadLibrary (string) in <0x002e1> System.Windows.Forms.Win32:.cctor () --- End of inner exception stack trace --- in (unmanaged) System.Windows.Forms.Win32:RegisterWindowMessage (string) in <0x000f2> System.Windows.Forms.Control:.cctor () --- End of inner exception stack trace --- in (unmanaged) System.Windows.Forms.Control:.ctor () in <0x0000f> System.Windows.Forms.ScrollableControl:.ctor () in <0x0000a> System.Windows.Forms.ContainerControl:.ctor () in <0x00017> System.Windows.Forms.Form:.ctor () in <0x00023> MyNameSpace.MyForm:.ctor () in <0x0004f> (wrapper remoting-invoke-with-check) MyNameSpace.MyForm:.ctor () in <0x0001b> MyNameSpace.MyForm:Main ()
まず、最初の問題として、Wine が 1:0.20030603.034328 なのがまずかった。0:0.0.20040408-1 にしたら、wine.exe.so が見つからない問題は解消された。ただし、wineserver が /usr/bin から /usr/lib/wine に移動してしまったので、symlink を張るか PATH に追加してやる必要があった。
Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.Control ---> System.DllNotFoundException: user32.dll in <0x00053> (wrapper managed-to-native) System.Windows.Forms.Win32:RegisterWindowMessage (string) in <0x000f1> System.Windows.Forms.Control:.cctor () --- End of inner exception stack trace --- in (unmanaged) System.Windows.Forms.Control:.ctor () in <0x0000f> System.Windows.Forms.ScrollableControl:.ctor () in <0x0000a> System.Windows.Forms.ContainerControl:.ctor () in <0x00017> System.Windows.Forms.Form:.ctor () in <0x00023> MyNameSpace.MyForm:.ctor () in <0x0004f> (wrapper remoting-invoke-with-check) MyNameSpace.MyForm:.ctor () in <0x0001b> MyNameSpace.MyForm:Main ()
これは user32.dll を持ってこれば解決するんだろうか。手元に user32.dll がないので、今日はこれまで。
を当てて作成。
しばらく前から spaces.live.com を見ると
XML パースエラー: 構文エラー。 URL: http://spaces.live.com/ 行番号: 3, 列番号: 49: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"> ------------------------------------------------^
と出ていたので何だろうと検索してみると、Windows Live Spaces が HTML でさえないカオスを XHTML として配信している に詳細があった。確かに general.useragent.extra.firefox が Iceweasel/2.0.0.3 だったので、Firefox/2.0.0.3 にしておいた。
It includes a new feature: Out of Process Plugins. This means plugins instances are sandboxed and if they crash, they won’t take the browser down with them (finally). In this release, only the Adobe flash plugin is sandboxed, but it should be enough for the vast majority of plugin induced crashes.
[Important milestone for Iceweasel in Debianより引用]
ということで、プラグインプロセスの分離が入った。
1851 ? Ssl 1:22 \_ /usr/lib/iceweasel/firefox-bin 4003 ? Sl 0:00 | \_ /usr/lib/xulrunner-1.9.2/plugin-container /usr/lib/flashplugin-nonfree/libflashplayer.so 1851 plugin
インストール時に
Warning: The following devices contain databases and have write caching enabled: /dev/hda This could destroy the integrity of your databases in the event of power failure. Consider disabling the write cache with "hdparm -W 0 <device>".
なんて警告が出てるのを発見。
今となっては大したデータが入ってるわけでもないし毎日ダンプしてるしバッテリもついてるから有効のままで。
ワークアラウンドとして Arc Theme が紹介されてた。Prebuilt packages もあるけど、Fx 46 vs. GTK 3.20 問題には対応してないみたい。
突然真っ白になってしまったので、Twitter のパスワード平文バグの問題で何か変更があったのかと思ったけど、どうやら CK/CS が凍結されたらしい。しばらく様子見。
センター・オブ・ジ・アース [Blu-ray]
グレムリン [WB COLLECTION][AmazonDVDコレクション] [Blu-ray]
ボーン・スプレマシー [Blu-ray]
エイプリルフールズ Blu-ray 豪華版
48時間 PART2 帰って来たふたり [DVD]
TAXi3 廉価版 [Blu-ray](リュック・ベッソン/ベルナール・グルネ/ジェラール・ステラン)
イップ・マン 序章&葉問 Blu-rayツインパック
マジェスティック [Blu-ray]
前 | 2003年 5月 |
次 | ||||
日 | 月 | 火 | 水 | 木 | 金 | 土 |
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
[amd64 | audacious | comp | debian | gkrelluim | kip | misc | movie | research | rime | unicon | vdr | work | えふえふ]
書いてる人: dai
パッチ等(無保証)