Re: libwrap compiled into Cyrus IMAPd

2004-07-21 Thread ML mail
Igor Brezac <[EMAIL PROTECTED]> wrote:

This is not a cyrus issue. Your ucd libraries are not self-contained, soyou really need to take this up with net-snmp folks. Build process worksbetter with net-snmp 5.1.x.
Sorry for this "stupid" question but what are "not self-contained libraries" exactly ?
Try ac_cv_lib_snmp_sprint_objid=yes
I tryed this out, configure went then fine but at the gmake all I get some undefined reference errors for libucdmibs, libsnmp, libucdagent. I guess I will need to use Net-SNMP. 
Regards
		Do you Yahoo!?
Vote for the stars of Yahoo!'s next ad campaign!

Re: libwrap compiled into Cyrus IMAPd

2004-07-21 Thread Igor Brezac

On Wed, 21 Jul 2004, ML mail wrote:

>
>
> Igor Brezac <[EMAIL PROTECTED]> wrote:
> cyrus configure is broken for systems that have a shared tcpwrapper
> library.
>
> Try
> ac_cv_lib_wrap_request_init=yes ./configure --with-libwrap ...
>
>
>
>
> Thanks that did the trick !! Btw: is this going to be fixed in Cyrus IMAPd 2.2.7 ?
>
> Now I wanted to get SNMP also compiled into Cyrus IMAPd and I get the same kind of 
> problem where it doesn't find the UCD SNMP libraries... Here is the error message 
> that I get in the config.log file at the end of the configure:
>
> /usr/local/lib/libsnmp.so.42.6: undefined reference to `des_cbc_encrypt'
>
> /usr/local/lib/libsnmp.so.42.6: undefined reference to `des_key_sched'
>
> /usr/local/lib/libsnmp.so.42.6: undefined reference to `des_ncbc_encrypt'
>
> What's wrong here ?

This is not a cyrus issue.  Your ucd libraries are not self-contained, so
you really need to take this up with net-snmp folks. Build process works
better with net-snmp 5.1.x.

> is there maybe another variable to set before running configure ?

Try ac_cv_lib_snmp_sprint_objid=yes

-- 
Igor
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: libwrap compiled into Cyrus IMAPd

2004-07-21 Thread ML mail
Igor Brezac <[EMAIL PROTECTED]> wrote:

cyrus configure is broken for systems that have a shared tcpwrapperlibrary.Tryac_cv_lib_wrap_request_init=yes ./configure --with-libwrap ...
 
Thanks that did the trick !! Btw: is this going to be fixed in Cyrus IMAPd 2.2.7 ?
Now I wanted to get SNMP also compiled into Cyrus IMAPd and I get the same kind of problem where it doesn't find the UCD SNMP libraries... Here is the error message that I get in the config.log file at the end of the configure:
/usr/local/lib/libsnmp.so.42.6: undefined reference to `des_cbc_encrypt'
/usr/local/lib/libsnmp.so.42.6: undefined reference to `des_key_sched'
/usr/local/lib/libsnmp.so.42.6: undefined reference to `des_ncbc_encrypt'
What's wrong here ? is there maybe another variable to set before running configure ?
Many thanks
Regards
		Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!

Re: libwrap compiled into Cyrus IMAPd

2004-07-20 Thread Igor Brezac

On Tue, 20 Jul 2004, Ken Murchison wrote:

> ML mail wrote:
>
> > Hi,
> >
> > Sorry for posting my message again but I still didn't
> > find any solutions on how to get libwrap compiled in
> > Cyrus IMAPd and didn't have any answers.
> >
> > The problem is still the same: I am trying in vain to
> > get libwrap activated in Cyrus IMAPd. I am using Cyrus
> > IMAPd 2.2.6, Cyrus SASL 2.1.18 on OpenBSD 3.5. And
> > here is my configure command:
> >
> > ./configure --prefix=/usr/local/cyrus-imapd
> > --with-cyrus-prefix=/usr/local/cyrus-imapd
> > --with-openssl --with-sasl=/usr/local/sasl2
> > --with-bdb-libdir=/usr/local/lib/db4
> > --with-bdb-incdir=/usr/local/include/db4
> > --with-libwrap
> >
> > configure then simply reports that it didn't find
> > libwrap and if I have a look in the generated
> > config.log I can see the following error:
> >
> > /usr/lib/libwrap.so.3.0: undefined reference to
> > `allow_severity'
> > /usr/lib/libwrap.so.3.0: undefined reference to
> > `deny_severity'
>
> Looks like your TCPwrappers build on OpenBSD is either broken or has a
> dependency which configure doesn't know about.  This works fine on my
> RH9 box.

cyrus configure is broken for systems that have a shared tcpwrapper
library.

Try
ac_cv_lib_wrap_request_init=yes ./configure --with-libwrap ...

-- 
Igor
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: libwrap compiled into Cyrus IMAPd

2004-07-20 Thread ML mail
--- Ken Murchison <[EMAIL PROTECTED]> wrote:

> Looks like your TCPwrappers build on OpenBSD is
> either broken or has a 
> dependency which configure doesn't know about.  This
> works fine on my 
> RH9 box.

I can't imagine that TCPwrappers on OpenBSD is broken
as OpenBSD is the OS that by default secure is and
TCPwrappers is part of OpenBSD's security. Are there
maybe any OpenBSD experts on this mailing list who
would have an idea ?

Regards





__
Do you Yahoo!?
Vote for the stars of Yahoo!'s next ad campaign!
http://advision.webevents.yahoo.com/yahoo/votelifeengine/
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: libwrap compiled into Cyrus IMAPd

2004-07-20 Thread ML mail
--- Olaf Zaplinski
<[EMAIL PROTECTED]> wrote:
> Hmm, have you installed libwrap-devel?

There are no such packages libwrap-devel on OpenBSD, I
think you are mixing up with GNU/Debian. TCPwrappers
and it's libraries/headers are installed per default
with the OS.

Regards




__
Do you Yahoo!?
Vote for the stars of Yahoo!'s next ad campaign!
http://advision.webevents.yahoo.com/yahoo/votelifeengine/
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: libwrap compiled into Cyrus IMAPd

2004-07-20 Thread Olaf Zaplinski
Hmm, have you installed libwrap-devel?
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: libwrap compiled into Cyrus IMAPd

2004-07-20 Thread Ken Murchison
ML mail wrote:
Hi,
Sorry for posting my message again but I still didn't
find any solutions on how to get libwrap compiled in
Cyrus IMAPd and didn't have any answers. 

The problem is still the same: I am trying in vain to
get libwrap activated in Cyrus IMAPd. I am using Cyrus
IMAPd 2.2.6, Cyrus SASL 2.1.18 on OpenBSD 3.5. And
here is my configure command:
./configure --prefix=/usr/local/cyrus-imapd
--with-cyrus-prefix=/usr/local/cyrus-imapd
--with-openssl --with-sasl=/usr/local/sasl2
--with-bdb-libdir=/usr/local/lib/db4
--with-bdb-incdir=/usr/local/include/db4
--with-libwrap
configure then simply reports that it didn't find
libwrap and if I have a look in the generated
config.log I can see the following error:
/usr/lib/libwrap.so.3.0: undefined reference to
`allow_severity'
/usr/lib/libwrap.so.3.0: undefined reference to
`deny_severity'
Looks like your TCPwrappers build on OpenBSD is either broken or has a 
dependency which configure doesn't know about.  This works fine on my 
RH9 box.

--
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26  Orchard Park, NY 14127
--PGP Public Key--http://www.oceana.com/~ken/ksm.pgp
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


libwrap compiled into Cyrus IMAPd

2004-07-20 Thread ML mail
Hi,

Sorry for posting my message again but I still didn't
find any solutions on how to get libwrap compiled in
Cyrus IMAPd and didn't have any answers. 

The problem is still the same: I am trying in vain to
get libwrap activated in Cyrus IMAPd. I am using Cyrus
IMAPd 2.2.6, Cyrus SASL 2.1.18 on OpenBSD 3.5. And
here is my configure command:

./configure --prefix=/usr/local/cyrus-imapd
--with-cyrus-prefix=/usr/local/cyrus-imapd
--with-openssl --with-sasl=/usr/local/sasl2
--with-bdb-libdir=/usr/local/lib/db4
--with-bdb-incdir=/usr/local/include/db4
--with-libwrap

configure then simply reports that it didn't find
libwrap and if I have a look in the generated
config.log I can see the following error:

/usr/lib/libwrap.so.3.0: undefined reference to
`allow_severity'
/usr/lib/libwrap.so.3.0: undefined reference to
`deny_severity'

I searched on google and try to set some env variables
but nothing still this error... I can't imagine it's
NOT possible to compile Cyrus IMAPd with libwrap, or
is there a bug or something ? Can anyone help please ?

Many thanks
Regards





__
Do you Yahoo!?
Vote for the stars of Yahoo!'s next ad campaign!
http://advision.webevents.yahoo.com/yahoo/votelifeengine/
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Getting libwrap compiled into Cyrus IMAPd

2004-07-08 Thread ML mail
Hi,

I am trying in vain to get libwrap activated in Cyrus
IMAPd. I am using Cyrus IMAPd 2.2.6, Cyrus SASL 2.1.18
on OpenBSD 3.5. And here is my configure command:

./configure --prefix=/usr/local/cyrus-imapd
--with-cyrus-prefix=/usr/local/cyrus-imapd
--with-openssl --with-sasl=/usr/local/sasl2
--with-bdb-libdir=/usr/local/lib/db4
--with-bdb-incdir=/usr/local/include/db4
--with-libwrap

configure then simply reports that it didn't find
libwrap and if I have a look in the generated
config.log I can see the following error:

/usr/lib/libwrap.so.3.0: undefined reference to
`allow_severity'
/usr/lib/libwrap.so.3.0: undefined reference to
`deny_severity'

Does anyone have a solution for this ?

Many thanks
Regards



__
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.com/new_mail
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html