Hmm…it seems Spamassassin is already installed by the Server.app into /Applications/Server.app/Contents/ServerRoot/usr/bin/spamassassin.
That should take care of my problem. :) > On 25 Jan 2018, at 11:54, Palvelin Postmaster <postmas...@palvelin.fi> wrote: > > Hi all, > > I tried to install Mail::SpamAssassin via Perl CPAN on a relatively fresh > install of macOS 10.13.3 High Sierra. Make test stalls indefinitely. Can > anyone offer suggestions what I should do? > > Running make test > "/usr/bin/perl" build/mkrules --exit_on_no_src --src rulesrc --out rules > --manifest MANIFEST --manifestskip MANIFEST.SKIP > no source directory found: exiting > "/usr/bin/perl" build/preprocessor -Mvars -DVERSION="3.004001" > -DPREFIX="/usr/local" -DDEF_RULES_DIR="/usr/local/share/spamassassin" > -DLOCAL_RULES_DIR="/etc/mail/spamassassin" > -DLOCAL_STATE_DIR="/var/lib/spamassassin" > -DINSTALLSITELIB="/Library/Perl/5.18" > -DCONTACT_ADDRESS="hostmas...@palvelin.fi" -Msharpbang -Mconditional > -DPERL_BIN=""/usr/bin/perl"" -DPERL_WARN="" -DPERL_TAINT="" -m755 > -isa-update.raw -osa-update > cp sa-update blib/script/sa-update > "/usr/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/sa-update > PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" > "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', > 'blib/arch')" t/*.t > t/autolearn.t ..................... ok > t/autolearn_force.t ............... ok > t/autolearn_force_fail.t .......... ok > t/basic_lint.t .................... ok > t/basic_lint_without_sandbox.t .... ok > t/basic_meta.t .................... ok > t/basic_obj_api.t ................. ok > t/bayesbdb.t ...................... ok > t/bayesdbm.t ...................... 24/48 # Failed test 24 in t/bayesdbm.t at > line 133 > t/bayesdbm.t ...................... 25/48 # Failed test 27 in t/bayesdbm.t at > line 141 > t/bayesdbm.t ...................... 31/48 HASH: Out of overflow pages. > Increase page size > > > $perl -V > Summary of my perl5 (revision 5 version 18 subversion 2) configuration: > > Platform: > osname=darwin, osvers=17.0, archname=darwin-thread-multi-2level > uname='darwin osx352.sd.apple.com 17.0 darwin kernel version 16.1.0: wed > jun 14 23:26:09 pdt 2017; root:xnu-3789.21.4.1.6~1development_x86_64 x86_64 ' > config_args='-ds -e -Dprefix=/usr -Dccflags=-g -pipe -Dldflags= > -Dman3ext=3pm -Duseithreads -Duseshrplib -Dinc_version_list=none -Dcc=cc' > hint=recommended, useposix=true, d_sigaction=define > useithreads=define, usemultiplicity=define > useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef > use64bitint=define, use64bitall=define, uselongdouble=undef > usemymalloc=n, bincompat5005=undef > Compiler: > cc='cc', ccflags ='-arch x86_64 -arch i386 -g -pipe -fno-common > -DPERL_DARWIN -fno-strict-aliasing -fstack-protector', > optimize='-Os', > cppflags='-g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing > -fstack-protector' > ccversion='', gccversion='4.2.1 Compatible Apple LLVM 9.0.0 > (clang-900.0.31)', gccosandvers='' > intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678 > d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 > ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', > lseeksize=8 > alignbytes=8, prototype=define > Linker and Libraries: > ld='cc -mmacosx-version-min=10.12.1', ldflags ='-arch x86_64 -arch i386 > -fstack-protector' > libpth=/usr/lib /usr/local/lib > libs= > perllibs= > libc=, so=dylib, useshrplib=true, libperl=libperl.dylib > gnulibc_version='' > Dynamic Linking: > dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' ' > cccdlflags=' ', lddlflags='-arch x86_64 -arch i386 -bundle -undefined > dynamic_lookup -fstack-protector' > > Characteristics of this binary (from libperl): > Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS > PERL_DONT_CREATE_GVSV > PERL_HASH_FUNC_ONE_AT_A_TIME_HARD > PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP > PERL_PRESERVE_IVUV PERL_SAWAMPERSAND USE_64_BIT_ALL > USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES > USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE > USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF > USE_REENTRANT_API > Locally applied patches: > /Library/Perl/Updates/<version> comes before system perl directories > installprivlib and installarchlib points to the Updates directory > Built under darwin > Compiled at Oct 7 2017 02:40:20 > @INC: > /Library/Perl/5.18/darwin-thread-multi-2level > /Library/Perl/5.18 > /Network/Library/Perl/5.18/darwin-thread-multi-2level > /Network/Library/Perl/5.18 > /Library/Perl/Updates/5.18.2/darwin-thread-multi-2level > /Library/Perl/Updates/5.18.2 > /System/Library/Perl/5.18/darwin-thread-multi-2level > /System/Library/Perl/5.18 > /System/Library/Perl/Extras/5.18/darwin-thread-multi-2level > /System/Library/Perl/Extras/5.18 > > > -- > Palvelin.fi Hostmaster > postmas...@palvelin.fi > -- Palvelin.fi Hostmaster postmas...@palvelin.fi