POPFile を起動させるディレクトリ

POPFile の環境変数を設定していない場合、POPFile が実行されたディレクトリの中から必要なモジュールやファイルを探すようになっています。ですから、POPFile をインストールしたディレクトリから実行するか、POPFile が必要なものを見つけられるように、適切な環境変数を設定する必要があります。例えば、

  • POPFile が /usr/home/brad/popfile/ にインストールされている場合
   **これは環境変数が設定されていなくても動きます**

<code>    cd /usr/home/brad/popfile/
    perl popfile.pl
  • *これは動きません <code> cd /usr/home/brad/ perl /usr/home/brad/popfile/popfile.pl</code> しかし、(環境変数を設定して)このようにすれば動きます**
   set POPFILE_USER=/usr/home/brad/popfile/
   set POPFILE_ROOT=/usr/home/brad/popfile/
   cd /usr/home/brad/
   perl /usr/home/brad/popfile/popfile.pl

</code>

原文

 
jp/howtos/runlocation.txt · Last modified: 2008/02/08 19:49 by 127.0.0.1

Should you find anything in the documentation that is incomplete, unclear, outdated or just plain wrong, please let us know and leave a note in the Documentation Forum.

Recent changes RSS feed Donate Driven by DokuWiki
The content of this wiki is protected by the GNU Fee Documentation License