Differences

This shows you the differences between two versions of the page.


jp:howtos:runlocation [2008/02/08 19:49] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +===== POPFile を起動させるディレクトリ =====
 +
 +POPFile の環境変数を設定していない場合、POPFile が実行されたディレクトリの中から必要なモジュールやファイルを探すようになっています。ですから、POPFile をインストールしたディレクトリから実行するか、POPFile が必要なものを見つけられるように、適切な環境変数を設定する必要があります。例えば、
 +
 +  * POPFile が /usr/home/brad/popfile/ にインストールされている場合
 +
 +<code>   **これは環境変数が設定されていなくても動きます**
 +
 +<code>    cd /usr/home/brad/popfile/
 +    perl popfile.pl</code>
 +
 +
 +   **これは動きません**
 +
 +
 +<code>   cd /usr/home/brad/
 +   perl /usr/home/brad/popfile/popfile.pl</code>
 +
 +
 +   **しかし、(環境変数を設定して)このようにすれば動きます**
 +
 +
 +<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>
 +</code>
 +
 +[[HowTos:RunLocation | 原文]]
  
 
Old revisions

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