Subject: | make fails with spamassassin 3.1 |
On this system (HP-UX 11.11 with perl-5.8.0 and perl modules installed) make fails with spamassassin 3.1, while spamassassin 3.04 works fine with MailScanner.
.....
.....
" <lib/Mail/SpamAssassin/Util/RegistrarBoundaries.pm >blib/lib/Mail/SpamAssassin/Util/RegistrarBoundaries.pm
/bin/perl spamc/configure.pl --prefix="/opt/perl" --sysconfdir="/etc/opt/mail/spamassassin" --datadir="/opt/perl/share/spamassassin" --enable-ssl="no"
cd spamc
/opt/perl/bin/perl version.h.pl
version.h.pl: creating version.h
./configure --prefix=/opt/perl --sysconfdir=/etc/opt/mail/spamassassin --datadir=/opt/perl/share/spamassassin --enable-ssl=no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking syslog.h usability... 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 getopt.h usability... no
checking getopt.h presence... no
checking for getopt.h... no
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... yes
checking openssl/crypto.h presence... yes
checking for openssl/crypto.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... yes
checking for dlopen in -ldl... no
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 optarg... no
checking for in_addr_t... yes
checking for INADDR_NONE... yes
checking for EX__MAX... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating spamc.h
config.status: creating config.h
make -f spamc/Makefile spamc/spamc
make[1]: Entering directory `/serna/depot/Mail-SpamAssassin-3.1.0'
gcc -Wall -g -O2 spamc/spamc.c spamc/libspamc.c spamc/utils.c \
-o spamc/spamc -lnsl
spamc/spamc.c: In function 'combine_args':
spamc/spamc.c:431: error: 'EX_CONFIG' undeclared (first use in this function)
spamc/spamc.c:431: error: (Each undeclared identifier is reported only once
spamc/spamc.c:431: error: for each function it appears in.)
make[1]: *** [spamc/spamc] Error 1
make[1]: Leaving directory `/serna/depot/Mail-SpamAssassin-3.1.0'
make: *** [spamc/spamc] Error 2
Regards
Alberto