Cannot get loginrealms to work with 2.0.16

Christian Schulte cs at schulte.it
Tue Sep 17 21:38:44 EDT 2002


>
>
>You _should_ not have to reconstruct any mailboxes, since the mailbox format 
>hasn't changed (well, a small one was made for POP UIDL, but it'll be upgraded 
>on the fly).  You'll want to read doc/install-upgrade.html and do everything 
>that applies from 2.0.16 forward.
>
>You'll also want to read doc/install-virtdomains.html to configure your 
>virtdomains.  Let me know if you find something that is incorrect or isn't 
>clear so I can fix it.
>
>Don't forget that you'll have to install SASLv2 in order to use Cyrus 2.1+.  
>See doc/upgrading.html in the SASLv2 distro for info on upgrading.
>
>Ken
>  
>

Just one thing I wanted to mention directly so that I will not forget about:

If I want to compile with ucd-snmp I have to do the following things on 
Solaris 8 on ix86 with gcc:

First of all, I have to skip the test on sprint_objid(); . I un-document 
the whole test in configure so that it will not complain about that 
missing function. Then I have to add -lkstat to the linker because 
otherwise I get the following error while configure:

====

configure:10398: gcc -o conftest -Wall -O3 -L/usr/local/lib 
-L/usr/local/ssl/lib -I/usr/local/include  -I/usr/local/include 
-I/usr/local/ssl/include -I/
usr/local/include -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib 
-L/usr/local/lib -R/usr/local/lib  -L/usr/local/ssl/lib -L/usr/local/lib 
conftest.c
 -lsnmp -lresolv -lsocket -lnsl  -ldl -lfl  -ldb-3.2  -lssl -lcrypto >&5
Undefined                       first referenced
 symbol                             in file
kstat_close                         /usr/local/lib/libsnmp.so
kstat_lookup                        /usr/local/lib/libsnmp.so
kstat_read                          /usr/local/lib/libsnmp.so
kstat_open                          /usr/local/lib/libsnmp.so
kstat_data_lookup                   /usr/local/lib/libsnmp.so
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure:10401: $? = 1
configure: failed program was:
#line 10372 "configure"
#include "confdefs.h"

/* Override any gcc2 internal prototype to avoid an error.  */
/*#ifdef __cplusplus*/
/*#extern "C"*/
/*#endif*/
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
/*char sprint_objid ();*/
/*#ifdef F77_DUMMY_MAIN*/
/*#  ifdef __cplusplus*/
/*#     extern "C"*/
/*#  endif*/
/*#   int F77_DUMMY_MAIN() { return 1; }*/
/*#endif*/
int
main ()
{
/*sprint_objid ();*/
  ;
  return 0;
}
configure:10418: result: no
configure:10536: checking UCD SNMP libraries
configure:10538: result: no
configure:10731: creating ./config.status
====

After doing so, snmp support works fine!

Will post my other experiences while doing the compilation things....







More information about the Info-cyrus mailing list