|Frequently Asked Questions
This FAQ aims to answer a few questions about Scoop, what is it, whats its for, etc, as well as some install questions. If you think its missing something, or if you would like to add to it (we can always use help with docs :-) then email hurstdog @ kuro5hin.org
- What is CPAN? and how do I get these crazy modules?"
CPAN is the Comprehensive Perl Archive Network, its a repository of Perl modules so that perl coders don't have to re-invent the wheel every time they start a project. To get the CPAN modules for scoop, you should use the installer. its in the script/ directory called install.pl It should get everything set up for you. A few caveats though:
- I keep getting "Document Contains no Data", whats that mean?
This means that somehow apache/scoop is failing without warning and just stopping. One fix I've seen work (it just worked for me) is to go back into cpan, and 'force install' DBD::mSQL, so:
cpan> force install DBD::mSQL
and tell it to install the msyql modules only.
- How do I compile Apache and mod_perl for scoop?
First, you should make sure that you have expat version 1.95 or greater installed. That way you don't get headaches with broken RDF's later. Then, get the apache source:
host:#] lynx --dump http://httpd.apache.org/dist/httpd/apache_1.3.20.tar.gz > apache_1.3.20.tar.gz
host:#] lynx --dump http://perl.apache.org/dist/mod_perl-1.25.tar.gz > mod_perl-1.25.tar.gz
Now, extract both of those files with 'tar -xzvf filename.tar.gz'. Once you have them extracted you should have 2 more directories, one for each. Now 'cd' into the mod_perl directory with 'cd mod_perl-1.25' and run the following.
Note: you can also compile apache and mod_perl seperately, though that is
outside the scope of this document. If you do, be sure to pass
"--disable-rule=EXPAT" to the apache configure script. Otherwise, RDFs and Cron
won't work correctly.
host:#] perl Makefile.PL \
host:#] make test
-->[...should tell you all tests passed, eventually...]
host:#] make install
-->[...should say that it's installed in /usr/local/apache...]
And with that, apache and mod_perl will be installed to /usr/local/apache . Now you should just have to run the installer (after MySQL is installed, of course) to finish up the configuration.