You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Installing SpamAssassin on Mac OS X 10.13 High Sierra

Mac OS X 10.13 (High Sierra) comes with Berkeley DB 1.x which prevents the CPAN module DB_File from installing.

The symptom when you try to install SpamAssassin is that during make test t/bayesdbm.t will take a very long time and fill the disk, showing error lines "HASH: Out of overflow pages. Increase page size".

A solution is to install homebrew and install a newer Berkeley DB with the command

brew install berkeley-db

After doing that DB_File can be installed from CPAN.

Mac OS also tends to do unusual things with their Perl installation. To avoid problems with that, install perl yourself either using homebrew or perlbrew. With the latter you can use perlbrew to install cpanm, then use cpanm to install DB_File and other modules that are required to build SpamAssassin.

  • No labels