X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=blobdiff_plain;f=INSTALL;h=aad52c7b15d70d3aa755ab389c8a6b98c5c98283;hp=313a295151883ed580ea5dac7186b95c40053402;hb=420fddb8b683637cc1fd39727896cac4a459c3b6;hpb=3cf92b91c687ed1ffead57cbd0f2ce94ef8e36c6 diff --git a/INSTALL b/INSTALL index 313a2951..aad52c7b 100644 --- a/INSTALL +++ b/INSTALL @@ -36,10 +36,8 @@ Beyond that, there is a long list of Perl modules required, starting with: pkg: p5-TimeDate rpm: perl-TimeDate -* Devel::Peek deb: libperl5.$MINOR (e.g. libperl5.24) - pkg: perl5 - rpm: perl-Devel-Peek - (typically installed alongside Perl5) +* Digest::SHA typically installed with Perl + rpm: perl-Digest-SHA * Email::MIME deb: libemail-mime-perl pkg: p5-Email-MIME @@ -69,7 +67,7 @@ Numerous optional modules are likely to be useful as well: - Search::Xapian deb: libsearch-xapian-perl pkg: p5-Search-Xapian rpm: perl-Search-Xapian - (for v2, HTTP search) + (HTTP search) - Net::Server deb: libnet-server-perl pkg: pkg-Net-Server @@ -125,14 +123,27 @@ above, so there is no need to explicitly install them: rpm: perl-DBI (pulled in by DBD::SQLite) +* Devel::Peek deb: libperl5.$MINOR (e.g. libperl5.24) + pkg: perl5 + rpm: perl-Devel-Peek + (optional for stale FD cleanup in daemons, + typically installed alongside Perl5) + - Filesys::Notify::Simple deb: libfilesys-notify-simple-perl - pkg: pkg-Filesys-Notify-Simple + pkg: p5-Filesys-Notify-Simple rpm: perl-Filesys-Notify-Simple (for public-inbox-watch, pulled in by Plack) +- Linux::Inotify deb: liblinux-inotify2-perl + rpm: perl-Linux-Inotify2 + (for public-inbox-watch on Linux) + +- Filesys::Notify::KQueue pkg: p5-Filesys-Notify-KQueue + (for public-inbox-watch on FreeBSD) + - IO::Compress::Gzip deb: perl-modules (or libio-compress-perl) - rpm: perl-PerlIO-gzip pkg: perl5 + rpm: perl-IO-Compress (for gzipped mbox over HTTP) Uncommonly needed modules: @@ -155,23 +166,30 @@ Optional packages testing and development: pkg: p5-IPC-Run rpm: perl-IPC-Run +- Plack::Test deb: libplack-test-perl + pkg: p5-Plack + rpm: perl-Plack-Test + +- Test::Simple deb: perl-modules-5.$MINOR + pkg: perl5 + rpm: perl-Test-Simple + - XML::Feed deb: libxml-feed-perl pkg: p5-XML-Feed rpm: perl-XML-Feed -- Test::HTTP::Server::Simple deb: libtest-http-server-simple-perl - pkg: p5-Test-HTTP-Server-Simple - rpm: perl-Test-HTTP-Server-Simple - (XXX is this really needed?) - standard MakeMaker installation (Perl) -------------------------------------- +To use MakeMaker, you need to ensure ExtUtils::MakeMaker is available. +This is typically installed with Perl, but RPM-based systems will likely +need to install the `perl-ExtUtils-MakeMaker' package. + Once the dependencies are installed, you should be able to build and install the system (into /usr/local) with: perl Makefile.PL - make + make # GNU make is preferred, `gmake' on BSD systems make test make install # root permissions may be needed