Can't install Mail::SpamAssassin in CPAN...
fails at the end...
(not whole log, but enough to give context, I hope....

*/usr/bin/perl build/preprocessor -Mconditional -Mvars -DVERSION="3.002005"
-DPREFIX="/usr" -DDEF_RULES_DIR="/usr/share/spamassassin"
-DLOCAL_RULES_DIR="/etc/mail/spamassassin"
-DLOCAL_STATE_DIR="/var/lib/spamassassin"
>blib/lib/Mail/SpamAssassin/Locker/Flock.pm
/usr/bin/perl build/preprocessor -Mconditional -Mvars -DVERSION="3.002005"
-DPREFIX="/usr" -DDEF_RULES_DIR="/usr/share/spamassassin"
-DLOCAL_RULES_DIR="/etc/mail/spamassassin"
-DLOCAL_STATE_DIR="/var/lib/spamassassin"

>blib/lib/Mail/SpamAssassin/BayesStore/SQL.pm
yes
/usr/bin/perl build/preprocessor -Mconditional -Mvars -DVERSION="3.002005"
-DPREFIX="/usr" -DDEF_RULES_DIR="/usr/share/spamassassin"
-DLOCAL_RULES_DIR="/etc/mail/spamassassin"
-DLOCAL_STATE_DIR="/var/lib/spamassassin"
blib/lib/Mail/SpamAssassin/Logger/Syslog.pm
checking for inttypes.h... /usr/bin/perl build/preprocessor -Mconditional -Mvars
-DVERSION="3.002005" -DPREFIX="/usr" -DDEF_RULES_DIR="/usr/share/spamassassin"
-DLOCAL_RULES_DIR="/etc/mail/spamassassin"
-DLOCAL_STATE_DIR="/var/lib/spamassassin"
>blib/lib/Mail/SpamAssassin/Plugin/SPF.pm
/usr/bin/perl build/preprocessor -Mconditional -Mvars -DVERSION="3.002005"
-DPREFIX="/usr" -DDEF_RULES_DIR="/usr/share/spamassassin"
-DLOCAL_RULES_DIR="/etc/mail/spamassassin"
-DLOCAL_STATE_DIR="/var/lib/spamassassin"

>blib/lib/Mail/SpamAssassin/Plugin/Shortcircuit.pm
/usr/bin/perl build/preprocessor -Mconditional -Mvars -DVERSION="3.002005"
-DPREFIX="/usr" -DDEF_RULES_DIR="/usr/share/spamassassin"
-DLOCAL_RULES_DIR="/etc/mail/spamassassin"
-DLOCAL_STATE_DIR="/var/lib/spamassassin"
>blib/lib/Mail/SpamAssassin/Client.pm
/usr/bin/perl build/preprocessor -Mconditional -Mvars -DVERSION="3.002005"
-DPREFIX="/usr" -DDEF_RULES_DIR="/usr/share/spamassassin"
-DLOCAL_RULES_DIR="/etc/mail/spamassassin"
-DLOCAL_STATE_DIR="/var/lib/spamassassin"
>blib/lib/Mail/SpamAssassin/PerMsgStatus.pm
yes
checking for stdint.h... /usr/bin/perl build/preprocessor -Mconditional -Mvars
-DVERSION="3.002005" -DPREFIX="/usr" -DDEF_RULES_DIR="/usr/share/spamassassin"
-DLOCAL_RULES_DIR="/etc/mail/spamassassin"
-DLOCAL_STATE_DIR="/var/lib/spamassassin"

>blib/lib/Mail/SpamAssassin/Plugin/URIDetail.pm
/usr/bin/perl build/preprocessor -Mconditional -Mvars -DVERSION="3.002005"
-DPREFIX="/usr" -DDEF_RULES_DIR="/usr/share/spamassassin"
-DLOCAL_RULES_DIR="/etc/mail/spamassassin"
-DLOCAL_STATE_DIR="/var/lib/spamassassin"
blib/lib/Mail/SpamAssassin/PerMsgLearner.pm
/usr/bin/perl build/preprocessor -Mconditional -Mvars -DVERSION="3.002005"
-DPREFIX="/usr" -DDEF_RULES_DIR="/usr/share/spamassassin"
-DLOCAL_RULES_DIR="/etc/mail/spamassassin"
-DLOCAL_STATE_DIR="/var/lib/spamassassin"

>blib/lib/Mail/SpamAssassin/Plugin/WLBLEval.pm
yes
checking for unistd.h... /usr/bin/perl build/preprocessor -Mconditional -Mvars
-DVERSION="3.002005" -DPREFIX="/usr" -DDEF_RULES_DIR="/usr/share/spamassassin"
-DLOCAL_RULES_DIR="/etc/mail/spamassassin"
-DLOCAL_STATE_DIR="/var/lib/spamassassin"

>blib/lib/Mail/SpamAssassin/Plugin/AutoLearnThreshold.pm
/usr/bin/perl build/preprocessor -Mconditional -Mvars -DVERSION="3.002005"
-DPREFIX="/usr" -DDEF_RULES_DIR="/usr/share/spamassassin"
-DLOCAL_RULES_DIR="/etc/mail/spamassassin"
-DLOCAL_STATE_DIR="/var/lib/spamassassin"

>blib/lib/Mail/SpamAssassin/SQLBasedAddrList.pm
/usr/bin/perl build/preprocessor -Mconditional -Mvars -DVERSION="3.002005"
-DPREFIX="/usr" -DDEF_RULES_DIR="/usr/share/spamassassin"
-DLOCAL_RULES_DIR="/etc/mail/spamassassin"
-DLOCAL_STATE_DIR="/var/lib/spamassassin"

>blib/lib/Mail/SpamAssassin/Plugin/TextCat.pm
yes
checking sys/time.h usability... /usr/bin/perl build/preprocessor -Mconditional
-Mvars -DVERSION="3.002005" -DPREFIX="/usr"
-DDEF_RULES_DIR="/usr/share/spamassassin"
-DLOCAL_RULES_DIR="/etc/mail/spamassassin"
-DLOCAL_STATE_DIR="/var/lib/spamassassin"

>blib/lib/Mail/SpamAssassin/PersistentAddrList.pm
/usr/bin/perl build/preprocessor -Mconditional -Mvars -DVERSION="3.002005"
-DPREFIX="/usr" -DDEF_RULES_DIR="/usr/share/spamassassin"
-DLOCAL_RULES_DIR="/etc/mail/spamassassin"
-DLOCAL_STATE_DIR="/var/lib/spamassassin"

>blib/lib/Mail/SpamAssassin/Locker/UnixNFSSafe.pm
/usr/bin/perl build/preprocessor -Mconditional -Mvars -DVERSION="3.002005"
-DPREFIX="/usr" -DDEF_RULES_DIR="/usr/share/spamassassin"
-DLOCAL_RULES_DIR="/etc/mail/spamassassin"
-DLOCAL_STATE_DIR="/var/lib/spamassassin"
>blib/lib/Mail/SpamAssassin/DnsResolver.pm
yes
checking sys/time.h presence... /usr/bin/perl build/preprocessor -Mconditional
-Mvars -DVERSION="3.002005" -DPREFIX="/usr"
-DDEF_RULES_DIR="/usr/share/spamassassin"
-DLOCAL_RULES_DIR="/etc/mail/spamassassin"
-DLOCAL_STATE_DIR="/var/lib/spamassassin"

>blib/lib/Mail/SpamAssassin/SubProcBackChannel.pm
yes
checking for sys/time.h... /usr/bin/perl build/preprocessor -Mconditional -Mvars
-DVERSION="3.002005" -DPREFIX="/usr" -DDEF_RULES_DIR="/usr/share/spamassassin"
-DLOCAL_RULES_DIR="/etc/mail/spamassassin"
-DLOCAL_STATE_DIR="/var/lib/spamassassin"

>blib/lib/Mail/SpamAssassin/Bayes/CombineChi.pm
yes
checking syslog.h usability... /usr/bin/perl build/preprocessor -Mconditional
-Mvars -DVERSION="3.002005" -DPREFIX="/usr"
-DDEF_RULES_DIR="/usr/share/spamassassin"
-DLOCAL_RULES_DIR="/etc/mail/spamassassin"
-DLOCAL_STATE_DIR="/var/lib/spamassassin"
>blib/lib/Mail/SpamAssassin/Locker/Win32.pm
/usr/bin/perl build/preprocessor -Mconditional -Mvars -DVERSION="3.002005"
-DPREFIX="/usr" -DDEF_RULES_DIR="/usr/share/spamassassin"
-DLOCAL_RULES_DIR="/etc/mail/spamassassin"
-DLOCAL_STATE_DIR="/var/lib/spamassassin"

>blib/lib/Mail/SpamAssassin/Plugin/RelayCountry.pm
/usr/bin/perl build/preprocessor -Mconditional -Mvars -DVERSION="3.002005"
-DPREFIX="/usr" -DDEF_RULES_DIR="/usr/share/spamassassin"
-DLOCAL_RULES_DIR="/etc/mail/spamassassin"
-DLOCAL_STATE_DIR="/var/lib/spamassassin"

>blib/lib/Mail/SpamAssassin/Util/RegistrarBoundaries.pm
yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking sys/errno.h usability... yes
checking sys/errno.h presence... yes
checking for sys/errno.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking sysexits.h usability... yes
checking sysexits.h presence... yes
checking for sysexits.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking openssl/crypto.h usability... no
checking openssl/crypto.h presence... no
checking for openssl/crypto.h... no
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for an ANSI C-conforming const... yes
checking for off_t... yes
checking for pid_t... yes
checking for uid_t in sys/types.h... yes
checking for size_t... yes
checking for SHUT_RD... yes
checking for socket in -lsocket... no
checking for connect in -linet... no
checking for t_accept in -lnsl... no
checking for deflate in -lz... yes
checking for dlopen in -ldl... yes
checking for socket... yes
checking for strdup... yes
checking for strtod... yes
checking for strtol... yes
checking for snprintf... yes
checking for shutdown... yes
checking for h_errno... yes
checking for in_addr_t... yes
checking for INADDR_NONE... yes
checking for EX__MAX... yes
checking for EAI_ADDRFAMILY... yes
checking for EAI_SYSTEM... (cached) yes
checking for EAI_NODATA... (cached) yes
configure: creating ./config.status
config.status: creating Makefile
rm: cannot remove `Makefile': Is a directory
config.status: creating spamc.h
rm: cannot remove `spamc.h': Is a directory
config.status: creating config.h
rm: cannot remove `config.h': Is a directory
make -f spamc/Makefile spamc/spamc
make[1]: Entering directory
`/home/CPAN-ishtar-build-cache/build/Mail-SpamAssassin-3.2.5-7MvSvF'
make[1]: *** spamc/Makefile: Is a directory. Stop.
make[1]: Leaving directory
`/home/CPAN-ishtar-build-cache/build/Mail-SpamAssassin-3.2.5-7MvSvF'
make: *** [spamc/spamc] Error 2
JMASON/Mail-SpamAssassin-3.2.5.tar.gz
/usr/bin/make -j3 -l2 -j3 -l2 -- NOT OK
CPAN: YAML loaded ok (v0.62)
Failed during this command:
JMASON/Mail-SpamAssassin-3.2.5.tar.gz : make NO

*