This is an old revision of the document!
Regardless of the OS, you must have a working Perl installation to use the cross-platform version of POPFile.
POPFile uses certain modules that may not be installed on your system by default. All of these modules are easily located at CPAN and can typically be installed using the following commands;
ppm ppm>install Modulename ppm>quit
perl -MCPAN -e shell cpan>install Modulename cpan>quit
Note: If you get a “Not OK” error on the “Make” during install see the following SuSE example. SuSE sample walkthru here
The current list of modules that you may need to install includes the following:
If you want to use SSL you'll also need OpenSSL (http://www.openssl.org/). Windows users just need two OpenSSL DLLs (ssleay32.dll and libeay32.dll).
To check and determine whether or not a particular module is already installed on your system, issue the following Perl one-liner. If you get a version number back, it's installed. If you get a Perl message Can't locate Modulename.pm in @INC back, then it is not installed (or you have a typo).
perl -MMIME::Base64 -e 'print $MIME::Base64::VERSION' perl -MMIME::QuotedPrint -e 'print $MIME::QuotedPrint::VERSION'
To check the version of Perl that is installed on your system, issue the following one-line command;
perl -v
Install ActivePerl-5.8.4.810 Switch to the /perl/bin directory Type PPM
PPM>Install DBI PPM>Install timedate PPM>Install html-template PPM>Install dbd-sqlite2 PPM>q
Install Popfile 0.22.1 and adjust configuration for SQLite2. There is a detailed explanation of the SQLite2 and SQLite3 issue here
You now have a functional Popfile configuration. If you plan to use additional Popfile modules or services you may have to add additional perl modules.
SuSE 9.1 Personal does not come with Development Utilities e.g., “make”. The “Not OK” error from a cpan install is a sign in any distro that “make” is missing or not found.
Install Gcc and make (including dependencies) with YAST2.
Configure CPAN to find “make” from the console as a super user.
perl -MCPAN -e shell cpan>o conf init (note:the default for all questions works as long as "make" is found) cpan>quit
Then install modules from the console as a super user.
perl -MCPAN -e shell cpan>install DBI cpan>install DBD::SQLite2 cpan>install HTML::Template cpan>install Date::Parse cpan>quit
Install Popfile 0.22.1 and adjust configuration for SQLite2. There is a detailed explanation of the SQLite2 and SQLite3 issue here
You now have a functional Popfile configuration. If you plan to use additional Popfile modules or services you may have to add additional perl modules.
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.