Rast.pmを使うためにPERL5LIBを設定したが…
- 作者: Simon Cozens,菅野良二
- 出版社/メーカー: オライリージャパン
- 発売日: 2006/03/01
- メディア: 大型本
- 購入: 3人 クリック: 22回
- この商品を含むブログ (39件) を見る
とやると。はいセミコロンですね。
C:\>perl -V:path_sep
path_sep=';';
で、Rast.pm。http://d.hatena.ne.jp/lightcyan/20061125#1164470869 で消してしまった
ですが、
- module: Search::Rast
config:
encode: euc_jp
replace: 1
dir: /home/plagger/rast
とパスだけ書き換えて、マイコンピュータ→プロパティの詳細設定タブ→環境変数(N)→新規で PERL5LIB c:/Perl/site/lib/Plagger/Plugin/Search を設定(パス区切りは'/'の方がいいのかな。って結局セミコロン調べた意味が無いよ…)。
- module: Search::Rast
config:
encode: euc_jp
replace: 1
dir: c:/Perl/site/lib/Plagger/Plugin/Search/Rast
で実行すると
は消えたが、新たな問題発生。
Can't locate Rast.pm in @INC (@INC contains: C:\Perl\site\bin\lib C:/Perl/lib C:/Perl/site/lib .) at C:\Perl\site\lib\Plagger\Plugin\Search/Rast.pm line 7, line 855.
とかエラーが出る。最初の一行のエラーメッセージをググってみたけどヒットせず。アルタビスタでも何も見つからず。どうすればいいんでしょうか?(ところではてなダイアリーでも長い行を表示する時、折り返さないでスクロールバー出してる人がいるけど、これもどうやるんでしょうか?ページのソース見ても<pre>タグが入ってるだけに見えるんだけど)
Bareword "RAST_TYPE_STRING" not allowed while "strict subs" in use at c:/Perl/site/lib/Plagger/Plugin/Search/Rast.pm line 28, line 855.
Bareword "RAST_PROPERTY_FLAG_SEARCH" not allowed while "strict subs" in use at c:/Perl/site/lib/Plagger/Plugin/Search/Rast.pm line 28, line 855.
Bareword "RAST_PROPERTY_FLAG_TEXT_SEARCH" not allowed while "strict subs" in use at c:/Perl/site/lib/Plagger/Plugin/Search/Rast.pm line 28, line 855.
Bareword "RAST_TYPE_STRING" not allowed while "strict subs" in use at c:/Perl/site/lib/Plagger/Plugin/Search/Rast.pm line 28, line 855.
Bareword "RAST_PROPERTY_FLAG_SEARCH" not allowed while "strict subs" in use at c:/Perl/site/lib/Plagger/Plugin/Search/Rast.pm line 28, line 855.
Bareword "RAST_PROPERTY_FLAG_TEXT_SEARCH" not allowed while "strict subs" in use at c:/Perl/site/lib/Plagger/Plugin/Search/Rast.pm line 28, line 855.
Bareword "RAST_TYPE_STRING" not allowed while "strict subs" in use at c:/Perl/site/lib/Plagger/Plugin/Search/Rast.pm line 28, line 855.
Bareword "RAST_PROPERTY_FLAG_TEXT_SEARCH" not allowed while "strict subs" in use at c:/Perl/site/lib/Plagger/Plugin/Search/Rast.pm line 28, line 855.
Bareword "RAST_PROPERTY_FLAG_FULL_TEXT_SEARCH" not allowed while "strict subs" in use at c:/Perl/site/lib/Plagger/Plugin/Search/Rast.pm line 28, line 855.
Bareword "RAST_TYPE_STRING" not allowed while "strict subs" in use at c:/Perl/site/lib/Plagger/Plugin/Search/Rast.pm line 28, line 855.
Bareword "RAST_PROPERTY_FLAG_SEARCH" not allowed while "strict subs" in use at c:/Perl/site/lib/Plagger/Plugin/Search/Rast.pm line 28, line 855.
Bareword "RAST_PROPERTY_FLAG_TEXT_SEARCH" not allowed while "strict subs" in use at c:/Perl/site/lib/Plagger/Plugin/Search/Rast.pm line 28, line 855.
Bareword "RAST_TYPE_DATE" not allowed while "strict subs" in use at c:/Perl/site/lib/Plagger/Plugin/Search/Rast.pm line 28, line 855.
Bareword "RAST_PROPERTY_FLAG_SEARCH" not allowed while "strict subs" in use at c:/Perl/site/lib/Plagger/Plugin/Search/Rast.pm line 28, line 855.
Bareword "RAST_TYPE_STRING" not allowed while "strict subs" in use at c:/Perl/site/lib/Plagger/Plugin/Search/Rast.pm line 28, line 855.
Bareword "RAST_PROPERTY_FLAG_TEXT_SEARCH" not allowed while "strict subs" in use at c:/Perl/site/lib/Plagger/Plugin/Search/Rast.pm line 28, line 855.
Bareword "RAST_DB_RDWR" not allowed while "strict subs" in use at c:/Perl/site/lib/Plagger/Plugin/Search/Rast.pm line 70, line 855.
Compilation failed in require at C:\Perl\site\lib\Plagger\Plugin\Search/Rast.pm line 7, line 855.
BEGIN failed--compilation aborted at C:\Perl\site\lib\Plagger\Plugin\Search/Rast.pm line 7, line 855.
Compilation failed in require at C:/Perl/site/lib/Plagger.pm line 230, line 855.
(2006/12/05追記: こっちに続きを書きました。まだ動いてないです…http://d.hatena.ne.jp/lightcyan/20061204#1165248811)