I am not sure why you gave me all these db3 instructions? Are they are known
problem with redhat and cyrus imap?  The error I am getting still seems to be
something about snmp...

make[1]: Entering directory `/home/batsetup/cyrus-imapd-2.0.16/master'
gcc -L/usr/local/lib -Wl,-rpath,/usr/local/lib -g -O2 -o master master.o
masterconf.o cyrusMasterMIB.o -lssl -lcrypto -ldb-3.1 -lresolv -lcom_err
master.o: In function `sigterm_handler':
/home/batsetup/cyrus-imapd-2.0.16/master/master.c:689: undefined reference to
`snmp_shutdown' master.o: In function `main':
/home/batsetup/cyrus-imapd-2.0.16/master/master.c:1046: undefined reference to
`ds_set_boolean'
/home/batsetup/cyrus-imapd-2.0.16/master/master.c:1049: undefined reference to
`init_agent'
/home/batsetup/cyrus-imapd-2.0.16/master/master.c:1053: undefined reference to
`init_snmp'
/home/batsetup/cyrus-imapd-2.0.16/master/master.c:1151: undefined reference to
`snmp_select_info'
/home/batsetup/cyrus-imapd-2.0.16/master/master.c:1164: undefined reference to
`snmp_read'
/home/batsetup/cyrus-imapd-2.0.16/master/master.c:1165: undefined reference to
`snmp_timeout'
cyrusMasterMIB.o: In function `init_cyrusMasterMIB':
/home/batsetup/cyrus-imapd-2.0.16/master/cyrusMasterMIB.c:87: undefined
reference to `register_mib'
/home/batsetup/cyrus-imapd-2.0.16/master/cyrusMasterMIB.c:87: undefined
reference to `snmp_get_do_debugging'
/home/batsetup/cyrus-imapd-2.0.16/master/cyrusMasterMIB.c:87: undefined
reference to `debugmsgtoken'
/home/batsetup/cyrus-imapd-2.0.16/master/cyrusMasterMIB.c:87: undefined
reference to `debugmsg'
/home/batsetup/cyrus-imapd-2.0.16/master/cyrusMasterMIB.c:87: undefined
reference to `debugmsgtoken'
/home/batsetup/cyrus-imapd-2.0.16/master/cyrusMasterMIB.c:87: undefined
reference to `debugmsg'
cyrusMasterMIB.o: In function `var_cyrusMasterMIB':
/home/batsetup/cyrus-imapd-2.0.16/master/cyrusMasterMIB.c:124: undefined
reference to `header_generic'
/home/batsetup/cyrus-imapd-2.0.16/master/cyrusMasterMIB.c:147: undefined
reference to `snmp_set_detail'
cyrusMasterMIB.o: In function `var_serviceTable':
/home/batsetup/cyrus-imapd-2.0.16/master/cyrusMasterMIB.c:183: undefined
reference to `header_simple_table'
/home/batsetup/cyrus-imapd-2.0.16/master/cyrusMasterMIB.c:212: undefined
reference to `snmp_set_detail' collect2: ld returned 1 exit status
make[1]: *** [master] Error 1
make[1]: Leaving directory `/home/batsetup/cyrus-imapd-2.0.16/master'
make: *** [all] Error 1
[root@cactus cyrus-imapd-2.0.16]#

I have removed all snmp rpms that I know off.  Doing a 'rpm -qa |grep snmp'
shows nothing.

"I've seen things you people wouldn't believe ... attack ships on fire off the
shoulder of Orion ... I watched C-beams glittering in the dark at Tannhauser
Gate ... All those moments will be lost ... in time ... like ... tears ... in
rain." - Roy Batty



                                                                                       
                                        
                    Jim Levie                                                          
                                        
                    <[EMAIL PROTECTED]>           To:     
[EMAIL PROTECTED]                                 
                    Sent by:                           cc:                             
                                        
                    [EMAIL PROTECTED]        Subject:     Re: Linux Redhat 
7.1 blues                                 
                    ew.cmu.edu                                                         
                                        
                                                                                       
                                        
                                                                                       
                                        
                    08/08/2001 05:56 AM                                                
                                        
                                                                                       
                                        
                                                                                       
                                        




On 07 Aug 2001 10:32:20 +0200, Tarjei Huse wrote:
>
>
> > [EMAIL PROTECTED] wrote:
> >> Just wondering if theres a cyrus-redhat howto anywhere?
> >>
> > Not to my knowledge (for recent Cyrus). Here's what I do to install
> > IMAPd on RH 7.1:
> >
> > Berkeley DB
> > -----------
> > # RH7.1 comes with db3/db3-devel RPMs that work fine.
> > #   Install manually if you like after removing
> > #   db3 RPMS
> I really would advise NOT to do this! Very many progs are linked against
> teh db3 rpms, so removing them will cause problems!

Absolutely correct. Don't remove db3/db3-devel or you'll break many
things, including rpm.

>
> > cd build_unix
> > ../dist/configure
> > make
> > make install
> > cp /usr/local/BerkeleyDB.3.2/include/* /usr/include
> > cp /usr/local/BerkeleyDB.3.2/lib/* /usr/lib
> >

Don't to this either. There is no confict with the system libs or
include files if you do:

  > cd /path-to/db-3.2.9/build_unix
  > ../dist/configure
  > make; make install

and tell configure about it with --with-dbdir=/usr/local/Berkeley-3.2.
Well, except for a small problem easily surmounted...

There's a problem with the way the IMAP configure script searches for
the Berkeley DB libraries that will bite you on RedHat. The default from
install looks successively at libdb-3.2, libdb3.2, libdb-3.1, libdb3.1,
libdb-3, libdb3, libdb for db_create. Since the install of the Berkeley
package creates /usr/local/Berkeley-3.2/lib/libdb.a, the system copy of
libdb-3.1 will be found first. The simple fix for that is to copy or
link /usr/local/Berkeley-3.2/lib/libdb.a to
/usr/local/Berkeley-3.2/lib/libdb-3.2.a.

> > SASL
> > ----
> > make clean
> > rm -f config.cache
> > ./configure --disable-krb4 --disable-gssapi --disable-cram
> >   --disable-digest --with-dblib=berkeley
> > make
> > make install
> > rm -f /etc/sasldb
> > utils/saslpasswd admin
> > # Select admin password when prompted
> > #   Do this even if not using sasldb
> >

I don't particularly see in point in manually building SASL on RedHat
7.1. The system comes with 1.5.24 and the copy of sendmail furnished is
linked against that. Yes it might have a more authentication methods
that what the above will build, but that really doesn't hurt anything as
far as I know.

--
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
 Jim Levie                                  email:
[EMAIL PROTECTED]
 Dynetics Inc,  Huntsville, Al              Ph.    256.964.4337
 The opinions expressed above are just that...






Reply via email to