On Fri, Oct 08, 2010 at 08:06:33PM -0700, Andrew Morgan wrote:
> On Fri, 8 Oct 2010, Frank Pittel wrote:
> 
> >Now I'm trying to compile cyrus-imapd and am running into the following 
> >error:
> >

<errors deleted>

> >Sigh!! there has to be an easier way. Anyone have an idea of how
> >to get past this? I'm not a programmer.
> 
> It seems to be failing when it tries to link in the snmp libraries.
> Personally, I've never used the snmp features of Cyrus.  You could
> try disabling them:
> 
>   make clean
>   ./configure --without-snmp --whatever-other-options-you-use
>   make
> 

That helped but I then I ran into more troubles. I'm starting to wonder if 
it'll work
when I do get it compiled! The errors I'm getting now is:


gcc -L/usr/local/BerkeleyDB.4.7/lib -R/usr/local/BerkeleyDB.4.7/lib -o imapd \
 ../master/service.o pushstats.o imapd.o proxy.o imap_proxy.o index.o version.o
mutex_fake.o \
libimap.a ../lib/libcyrus.a ../lib/libcyrus_min.a -L/opt/sasl/lib  
-R/opt/sasl/lib
-lsasl2 -lgss -lresolv -lresolv -lssl -lcrypto   -lresolv  -lresolv -lsocket 
-lnsl
-L/usr/local/BerkeleyDB.4.7/lib  -R/usr/local/BerkeleyDB.4.7/lib -ldb-4.7 -lz 
-lmd  -lrt
../com_err/et/libcom_err.a 
Undefined                       first referenced
 symbol                             in file
krb5_free_principal                 ../lib/libcyrus.a(auth_krb5.o)
krb5_realm_compare                  ../lib/libcyrus.a(auth_krb5.o)
krb5_build_principal                ../lib/libcyrus.a(auth_krb5.o)
krb5_get_default_realm              ../lib/libcyrus.a(auth_krb5.o)
krb5_parse_name                     ../lib/libcyrus.a(auth_krb5.o)
krb5_init_context                   ../lib/libcyrus.a(auth_krb5.o)
krb5_free_context                   ../lib/libcyrus.a(auth_krb5.o)
krb5_unparse_name                   ../lib/libcyrus.a(auth_krb5.o)
ld: fatal: Symbol referencing errors. No output written to imapd
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `imapd'
Current working directory /src/cyrus-imapd-2.3.16/imap
*** Error code 1
The following command caused the error:
for d in  man com_err/et  lib  sieve master imap  imtest   perl timsieved 
notifyd; \
do \
        (cd $d; echo "### Making" all "in" `pwd`;       \
                make  DESTDIR= all) || exit 1; \
done
make: Fatal error: Command failed for target `all'


Has anyone been able to get cyrus-imap to compile under solaris-10? If I sound 
frustrated
it's because I am. :-(

Frank
----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/

Reply via email to