[Mimedefang] Can't get mimedefang to compile/install under FreeBSD, (debug info attached)
Nathan Vidican
nathan at vidican.com
Thu Sep 4 23:10:57 EDT 2003
I have been unable to get mimedefang to compile/install under FreeBSD. I have
downloaded/compiled/installed sendmail-8.12.9 with MILTER support, and
downloaded/compiled/installed all the required PERL modules directly from Roaring
Penguin's links, (including their patched MIME-tools).
I ran:
./configure --sysconfdir=/usr/local/etc --with-confsubdir=mimedefang --disable-anti-virus
&> configure.txt
then:
make &> make.txt
Both make.txt and configure.txt are attached to this message. I redirected output of
both commands to the text file for debugging purposes only, (I didn't attempt to
normally build like that). I have made no changes to the code as downloaded from
Roaring Penguin, simply un-tarred, and ran the above two commands after having
installed/upgraded sendmail and the appropriate PERL modules.
Any guidance would be greatly appreciated; am I just missing or using the wrong
librairies or maybe compiler version? I am using FreeBSD 4.7-RELEASE, Sendmail
8.12.9 w/ Milter compiled in (also SASL-AUTH/SMTP-AUTH), and gcc v 2.95.4 as it
came with FreeBSD, (no modifications to gcc).
--
Nathan Vidican
nathan at vidican.com
Innovative Product Sales
http://www.InnovativeProductSales.com/
-------------- next part --------------
loading cache ./config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for ar... (cached) ar
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking for SCO UNIX or SCO Linux... no
checking for perl... (cached) /usr/bin/perl
checking whether socklen_t is defined... yes
checking for wait3 that fills in rusage... (cached) yes
checking for nm... (cached) /usr/bin/nm
checking for Perl module IO::Socket... ok
checking for Perl module MIME::Tools 5.410 ()... ok
checking for Perl module MIME::WordDecoder... ok
checking for Perl module Digest::SHA1... ok
checking for Perl module Sys::Syslog... ok
checking for Perl module Unix::Syslog... no
checking for Perl module Mail::SpamAssassin 1.6 or better... no
checking for Perl module Anomy::HTMLCleaner... no
checking for Perl module Unix::Syslog... no
checking for Perl module HTML::Parser... no
checking for Perl module File::Scan... no
checking that MIME-Tools has been patched... yes
checking if setlogsock('unix') works... yes
checking how to run the C preprocessor... (cached) gcc -E
checking for getopt.h... (cached) yes
checking for unistd.h... (cached) yes
checking for stdint.h... (cached) yes
checking whether stdint.h defines uint32_t... yes
checking whether sys/types.h defines uint32_t... yes
checking whether sig_atomic_t is defined... yes
checking whether gcc accepts -pthread... yes
checking for res_init in -lresolv... (cached) no
checking for htons in -lsocket... (cached) no
checking for gethostbyname in -lnsl... (cached) no
checking for pthread_once in -lpthread... (cached) no
checking for initgroups... (cached) yes
checking for getpwnam_r... (cached) no
checking for setrlimit... (cached) yes
checking for snprintf... (cached) yes
checking for vsnprintf... (cached) yes
checking for readdir_r... (cached) yes
checking for pathconf... (cached) yes
checking for inet_ntop... (cached) yes
checking for libmilter/mfapi.h... (cached) ../sendmail-8.12.9/include/libmilter/mfapi.h
checking for libmilter.a... (cached) /usr/local/lib/libmilter.a
checking for libsm.a... (cached) ../sendmail-8.12.9/obj.FreeBSD.4.7-RELEASE.i386/libsm/libsm.a
checking for sendmail... (cached) /usr/sbin/sendmail
checking for rm... (cached) /bin/rm
checking whether libmilter must be linked with libsm... no
updating cache ./config.cache
creating ./config.status
creating Makefile
creating mimedefang.pl
creating examples/init-script
creating mimedefang-filter.5
creating mimedefang-multiplexor.8
creating mimedefang-protocol.7
creating mimedefang.8
creating mimedefang.pl.8
creating md-mx-ctrl.8
creating watch-mimedefang
creating redhat/mimedefang-init
creating redhat/mimedefang-sysconfig
creating config.h
config.h is unchanged
*** Virus scanner detection results:
All virus-scanner detection disabled by --disable-anti-virus
Could not find any recognized virus scanner... do not use
any of the contains_virus functions in your filter.
Did not find Mail::SpamAssassin. Do not use spam_assassin_* functions
Did not find Anomy::HTMLCleaner. Do not use anomy_clean_html()
Did not find HTML::Parser. Do not use append_html_boilerplate()
Note: SpamAssassin, File::Scan, HTML::Parser and Anomy::HTMLCleaner are
detected at run-time, so if you install or remove any of those modules, you
do not need to re-run ./configure and make a new mimedefang.pl.
-------------- next part --------------
gcc -g -O2 -pthread -D_POSIX_PTHREAD_SEMANTICS -DPERL_PATH=\"/usr/bin/perl\" -DMIMEDEFANG_PL=\"/usr/local/bin/mimedefang.pl\" -DRM=\"/bin/rm\" -DVERSION=\"2.36\" -DSPOOLDIR=\"/var/spool/MIMEDefang\" -DQDIR=\"/var/spool/MD-Quarantine\" -DCONFDIR=\"/usr/local/etc/mimedefang\" -I../sendmail-8.12.9/include -c -o utils.o utils.c
In file included from /usr/include/sys/_types.h:33,
from /usr/include/stdint.h:33,
from utils.c:43:
/usr/include/machine/_types.h:45: redefinition of `__int8_t'
/usr/include/machine/ansi.h:130: `__int8_t' previously declared here
/usr/include/machine/_types.h:46: redefinition of `__uint8_t'
/usr/include/machine/ansi.h:131: `__uint8_t' previously declared here
/usr/include/machine/_types.h:47: redefinition of `__int16_t'
/usr/include/machine/ansi.h:132: `__int16_t' previously declared here
/usr/include/machine/_types.h:48: redefinition of `__uint16_t'
/usr/include/machine/ansi.h:133: `__uint16_t' previously declared here
/usr/include/machine/_types.h:49: redefinition of `__int32_t'
/usr/include/machine/ansi.h:134: `__int32_t' previously declared here
/usr/include/machine/_types.h:50: redefinition of `__uint32_t'
/usr/include/machine/ansi.h:135: `__uint32_t' previously declared here
/usr/include/machine/_types.h:58: redefinition of `__int64_t'
/usr/include/machine/ansi.h:118: `__int64_t' previously declared here
/usr/include/machine/_types.h:59: redefinition of `__uint64_t'
/usr/include/machine/ansi.h:119: `__uint64_t' previously declared here
/usr/include/machine/_types.h:74: redefinition of `__intptr_t'
/usr/include/machine/ansi.h:137: `__intptr_t' previously declared here
/usr/include/machine/_types.h:91: redefinition of `__uintptr_t'
/usr/include/machine/ansi.h:138: `__uintptr_t' previously declared here
In file included from /usr/include/stdint.h:33,
from utils.c:43:
/usr/include/sys/_types.h:85: conflicting types for `__mbstate_t'
/usr/include/machine/ansi.h:147: previous declaration of `__mbstate_t'
In file included from utils.c:43:
/usr/include/stdint.h:38: redefinition of `int8_t'
/usr/include/sys/inttypes.h:11: `int8_t' previously declared here
/usr/include/stdint.h:43: redefinition of `int16_t'
/usr/include/sys/inttypes.h:12: `int16_t' previously declared here
/usr/include/stdint.h:48: redefinition of `int32_t'
/usr/include/sys/inttypes.h:13: `int32_t' previously declared here
/usr/include/stdint.h:53: redefinition of `int64_t'
/usr/include/sys/inttypes.h:14: `int64_t' previously declared here
/usr/include/stdint.h:58: redefinition of `uint8_t'
/usr/include/sys/inttypes.h:16: `uint8_t' previously declared here
/usr/include/stdint.h:63: redefinition of `uint16_t'
/usr/include/sys/inttypes.h:17: `uint16_t' previously declared here
/usr/include/stdint.h:68: redefinition of `uint32_t'
/usr/include/sys/inttypes.h:18: `uint32_t' previously declared here
/usr/include/stdint.h:73: redefinition of `uint64_t'
/usr/include/sys/inttypes.h:19: `uint64_t' previously declared here
/usr/include/stdint.h:101: redefinition of `intptr_t'
/usr/include/sys/inttypes.h:21: `intptr_t' previously declared here
/usr/include/stdint.h:102: redefinition of `uintptr_t'
/usr/include/sys/inttypes.h:22: `uintptr_t' previously declared here
*** Error code 1
Stop in /server/compile/src/mimedefang-2.36.
More information about the MIMEDefang
mailing list