POPFile Run Location

Unless you set POPFile's environment variables, POPFile expects to find its modules and files relative to the directory that you run POPFile from. That means you must either run POPFile from its install directory or set the appropriate environment variables to tell POPFile where to find its stuff, e.g.,

For a POPFile installation installed to /usr/home/brad/popfile/

This works without environment variables set:

cd /usr/home/brad/popfile/
perl popfile.pl

This doesn't work:

cd /usr/home/brad/
perl /usr/home/brad/popfile/popfile.pl

But this does work:

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
 
howtos/runlocation.txt · Last modified: 2015/04/17 01:06 by xuesheng

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