imapd compile error

Pavel Stratil pavel.stratil-jun at fenix.cz
Fri Jul 21 19:00:11 EDT 2006


Hi all,

this is my first try to do a 
postfix+sasl(2.1.22)+imapd(2.3.7)+amavis+clamav+dspam solution. I am not 
that skilled yet in admin tasks so please excuse me if my problem is 
dumb. Platform ultrasparc IIe + opensolaris build 23. C, CPP and CXX 
flags set to '-mcpu=ultrasparc -O3 -Wall -pipe -fomit-frame-pointer'

export PATH="$PATH:/usr/perl5/5.8.4/bin"
./configure --prefix=/opt/services/cyrus-imapd --enable-nntp 
--enable-listext --with-auth=unix --with-bdb=/opt/tools/bdb 
--with-bdb-libdir=/opt/tools/bdb/lib 
--with-bdb-incdir=/opt/tools/bdb/include --with-cyrus-user=108 
--with-cyrus-group=109 --with-dbdir=/opt/tools/bdb --with-perl 
--with-pidfile=/var/run/cyrus-master.pid 
--with-sasl=/opt/tools/cyrus-sasl --with-openssl=/opt/tools/openssl
gmake depend
gmake # fails here

...
gcc -L/opt/tools/openssl/lib -R/opt/tools/openssl/lib 
-L/opt/tools/bdb/lib -R/opt/tools/bdb/lib -lnsl -lsocket -lresolv 
-lmalloc  -o master master.o masterconf.o message_uuid_master.o 
cyrusMasterMIB.o ../lib/lock_fcntl.o ../lib/libcyrus_min.a 
-R../lib/sparcv9 -xarch=v9 -L/usr/sfw/lib/sparcv9 -lnetsnmpagent 
-lnetsnmpmibs -lnetsnmphelpers -lnetsnmp -ldl -lkvm -lz -lpkcs11 -lkstat 
-lelf -lm -ldl -lnsl -lsocket -ladm -lgss -lresolv -lresolv  -lresolv   
-L/opt/tools/bdb/lib  -R/opt/tools/bdb/lib -ldb-4.4 -lssl -lcrypto 
../et/libcom_err.a
gcc: language arch=v9 not recognized
Undefined                       first referenced
symbol                             in file
netsnmp_enable_subagent             master.o
ld: fatal: Symbol referencing errors. No output written to master
collect2: ld returned 1 exit status
gmake[1]: *** [master] Error 1
gmake[1]: Leaving directory `/root/system/install/cyrus-imapd-2.3.7/master'
gmake: *** [all] Error 1

would anyone help me move on please? + 1 question that would probably 
belong to the cyrus-sasl list but I'll give it a try: I'd like to use 
mysql as the storage backend for authentication, but I'd prefer to avoid 
using mysql-pam (not sure if i wouldnt cripple my system by accident). 
Will the following cyrus-sasl compilation do? Are there any sql 
tables/databases I should create? If yes, are the sql files awailable 
somewhere?
./configure --prefix=/opt/tools/cyrus-sasl --enable-anon --enable-login 
--enable-plain --enable-sql --disable-krb4 --disable-otp --disable-cram 
--disable-digest --with-dbpath=/opt/tools/cyrus-sasl/db  
--with-dblib=berkeley --with-bdb-libdir=/opt/tools/bdb/lib 
--with-bdb-incdir=/opt/tools/bdb/include 
--with-mysql=/opt/services/mysql --with-openssl=/opt/tools/openssl 
--without-saslauthd --without-pam --without-pwcheck

Thanks in advance,
Pavel Stratil


More information about the Info-cyrus mailing list