'make' fails on latest imap-cvs config w/ -snmp &/or -nntp

OpenMacNews OpenMacNews at speakeasy.net
Sat Oct 8 17:33:23 EDT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

hi all,

w/

	cyrus-imap-CVS (today)
	OSX 10.4.2
	net-snmp 5.2.2pre3


imap config'd as:

	./configure \
	--enable-static=yes --enable-shared=yes \
	--with-bdb \
	--with-bdb-libdir=/usr/local/berkeley-db/lib \
	--with-bdb-incdir=/usr/local/berkeley-db/include \
	  --with-sasl=/usr/local/cyrus-sasl/ \
	--with-openssl=/usr/local/ssl \
	--with-perl=/usr/bin/perl \
	--with-libwrap \
	--with-auth=unix \
	--with-idle=idled \
	--disable-gssapi --without-gss_impl \
	--enable-listext \
	--enable-server \
	--enable-cyradm \
	--disable-cmulocal \
	--enable-murder \
	--with-syslogfacility=LOCAL6 \
	--with-com_err=/usr \
	--enable-sieve \
	--without-snmp \
	--disable-nntp

configs, builds and installs w/ only a couple of quirks, but it runs.


(1) changing:

	---	--without-snmp \
	+++	--with-snmp=/usr/local/net-snmp \

make fails @:


/usr/bin/ld: warning multiple definitions of symbol _allow_severity
/usr/local/net-snmp/lib/libnetsnmpagent.dylib(libnetsnmpagent.10.0.0.dylib-master.o) definition
of _allow_severity
/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../libwrap.dylib(tcpd.o) definition of
_allow_severity
/usr/bin/ld: warning multiple definitions of symbol _main
master.o definition of _main in section (__TEXT,__text)
/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../libwrap.dylib(tcpd.o) definition of _main
/usr/bin/ld: warning multiple definitions of symbol _deny_severity
/usr/local/net-snmp/lib/libnetsnmpagent.dylib(libnetsnmpagent.10.0.0.dylib-master.o) definition
of _deny_severity
/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../libwrap.dylib(tcpd.o) definition of _deny_severity
/usr/bin/ld: Undefined symbols:
_Perl_newXS
_boot_DynaLoader
_perl_alloc
_perl_construct
_perl_destruct
_perl_free
_perl_parse
_perl_run
collect2: ld returned 1 exit status
make[1]: *** [master] Error 1
make: *** [all] Error 1


(2) changing:

	---	--disable-nntp
	+++	--enable-nntp

causes make fail @:

	gcc -c -I.. -I./../lib -I/usr/include -I./../sieve -I/usr/local//berkeley-db/include
- -I/usr/local/berkeley-db/include -I/usr/local/cyrus-sasl/include -I/usr/local/net-snmp/include
- -I/usr/local/ssl/include -I/usr/local//cyrus-sasl//include -DHAVE_CONFIG_H  -g -O2 \
	fetchnews.c
	fetchnews.c: In function 'main':
	fetchnews.c:436: error: invalid operands to binary -
	make[1]: *** [fetchnews.o] Error 1
	make: *** [all] Error 1

hth!

cheers,

richard



- --

/"\
\ /  ASCII Ribbon Campaign
 X   against HTML email, vCards
/ \  & micro$oft attachments

[GPG] OpenMacNews
fingerprint: 3F07 3CFD 138A FD91 A4A6  1840 1A7A 8CCB 882F 67A1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (Darwin)

iEYEAREDAAYFAkNIOyMACgkQGnqMy4gvZ6F2oQCfVIEo9L4GeywOrFY7OTrIkRY9
/vsAnjdd5X+hr4/o8jsUgrT3NhxHqJ5G
=+KeL
-----END PGP SIGNATURE-----



More information about the Cyrus-devel mailing list